Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17dg by
Diff: Models/models.cpp
- Revision:
- 35:172db1608332
- Parent:
- 34:754915ce9de5
- Child:
- 36:207ec7db8648
--- a/Models/models.cpp Tue Apr 30 19:24:41 2019 +0000
+++ b/Models/models.cpp Tue Apr 30 20:51:39 2019 +0000
@@ -83,14 +83,14 @@
};
const Sprite player_spaceship1_shield_sprite(12, 15, spaceShip1Shield);
-const int starSmall[9] = {
+const int starSmall[9] = { // 3 by 3
0,1,0,
1,1,1,
0,1,0
};
const Sprite small_star_sprite(3, 3, starSmall);
-const int starMedium[25] = {
+const int starMedium[25] = { // 5 by 5
1,0,0,0,1,
0,1,1,1,0,
0,1,1,1,0,
@@ -145,7 +145,7 @@
const Sprite enemy2_sprite(11, 7, enemyShip2);
-const int enemyHalfExploded [77] = {
+const int enemyHalfExploded [77] = { // 11 by 7
0,0,0,0,0,1,1,1,1,0,0,
0,0,0,0,0,0,1,1,1,0,0,
0,0,0,1,1,1,0,1,0,1,0,
@@ -157,7 +157,7 @@
};
const Sprite enemy2_half_exploded_sprite(11, 7, enemyHalfExploded);
-const int enemyExploded [77] = {
+const int enemyExploded [77] = { // 11 by 7
1,0,1,0,1,0,0,1,1,0,0,
0,1,0,0,0,0,1,1,1,0,0,
1,0,0,1,1,1,0,1,0,1,0,
