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
Models/models.h@14:e8de27c4d0d4, 2019-03-18 (annotated)
- Committer:
- Noximilien
- Date:
- Mon Mar 18 10:34:48 2019 +0000
- Revision:
- 14:e8de27c4d0d4
- Parent:
- 12:bfe3a3deaac3
- Child:
- 15:0145c5f0bea1
I have added a high score function which would show the score on lcd. Each enemy killed give 30 points. -- Need to adjust screen limits for the high score print out on lcd.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Noximilien | 9:5ad5501c702e | 1 | #ifndef MODELS_H |
Noximilien | 9:5ad5501c702e | 2 | #define MODELS_H |
Noximilien | 8:c18c240665aa | 3 | //#include "main.h" |
Noximilien | 3:10918b0f7a7d | 4 | |
Noximilien | 9:5ad5501c702e | 5 | extern const int spaceship1_width; |
Noximilien | 9:5ad5501c702e | 6 | extern const int spaceship1_height; |
Noximilien | 12:bfe3a3deaac3 | 7 | extern const int enemy2_height; |
Noximilien | 12:bfe3a3deaac3 | 8 | extern const int enemy2_width; |
Noximilien | 9:5ad5501c702e | 9 | extern const int spaceShip1[210]; |
Noximilien | 9:5ad5501c702e | 10 | extern const int starSmall[9]; |
Noximilien | 9:5ad5501c702e | 11 | extern const int starMedium[25]; |
Noximilien | 9:5ad5501c702e | 12 | extern const int starBig[49]; |
Noximilien | 9:5ad5501c702e | 13 | extern const int simpleLaserShotDissapear[3]; |
Noximilien | 9:5ad5501c702e | 14 | extern const int enemyShip1 [187]; |
Noximilien | 9:5ad5501c702e | 15 | extern const int enemyShip2 [77]; |
Noximilien | 14:e8de27c4d0d4 | 16 | extern const int enemyHalfExploded [77]; |
Noximilien | 12:bfe3a3deaac3 | 17 | extern const int enemyExploded [77]; |
Noximilien | 5:2b9181bc5c89 | 18 | |
Noximilien | 9:5ad5501c702e | 19 | #endif |