ELEC2645 (2018/19)
/
el17ttds
Thomas Foster 201 096 550 Re published. Please check time of final commit
main.h
- Committer:
- el17ttds
- Date:
- 2019-05-12
- Revision:
- 11:fd7f7b531e50
- Parent:
- 9:3a0194c87afe
File content as of revision 11:fd7f7b531e50:
#include "mbed.h" #include "Gamepad.h" #include "N5110.h" #include "Engine.h" #define SCREEN_WIDTH 84 #define SCREEN_HEIGHT 48 #define MAP_WIDTH 100 #define MAP_HEIGHT 100 #define MAX_SPEED 4 ///////////// prototypes /////////////// void init(); void opening(); void welcome(); void menu(); void ask(); void gameLoop(); void paused(); void died(); void tutorial(); int option; int begin; int health; int score; char buffer[14];