Initial publish
Dependencies: mbed
Fork of el17dg by
Models/models.h
- Committer:
- Noximilien
- Date:
- 2019-04-02
- Revision:
- 24:0570cb4b92d7
- Parent:
- 23:240bc00ef25b
- Child:
- 25:749f1efc31fc
File content as of revision 24:0570cb4b92d7:
#ifndef MODELS_H #define MODELS_H extern const int spaceship1_width; extern const int spaceship1_height; extern const int enemy2_height; extern const int enemy2_width; extern const int spaceShip1[210]; extern const int starSmall[9]; extern const int starMedium[25]; extern const int starBig[49]; extern const int simpleLaserShotDissapear[3]; extern const int enemyShip1 [187]; extern const int enemyShip2 [77]; extern const int enemyHalfExploded [77]; extern const int enemyExploded [77]; extern const int introLineOne [893]; extern const int introLineOneStars [156]; extern const int introLineTwoShips [460]; extern const int introLineTwo [330]; extern const int introLineThree [1482]; extern const int gameOverSprite [406]; extern const int youDiedSprite [336]; extern const int tutorialArrowRight[70]; extern const int tutorialArrowLeft[70]; struct Sprite { Sprite(int _width, int _height, const int* _data) : width(_width), height(_height), data(_data) {} int width; int height; const int* data; }; extern const Sprite enemy_sprite; extern const Sprite enemy_half_exploded_sprite; extern const Sprite enemy_exploded_sprite; extern const Sprite small_star_sprite; extern const Sprite medium_star_sprite; #endif