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@12:bfe3a3deaac3, 2019-03-17 (annotated)
- Committer:
- Noximilien
- Date:
- Sun Mar 17 09:44:59 2019 +0000
- Revision:
- 12:bfe3a3deaac3
- Parent:
- 9:5ad5501c702e
- Child:
- 14:e8de27c4d0d4
I have decided to switch from class to struct. So far I have changed the enemy and blast, still, need to change stars and menu. I have made a collision function for blast and enemy. Need to create interesting enemy death.
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 | 12:bfe3a3deaac3 | 16 | extern const int enemyExploded [77]; |
Noximilien | 5:2b9181bc5c89 | 17 | |
Noximilien | 9:5ad5501c702e | 18 | #endif |