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.
Diff: main.h
- Revision:
- 9:3a0194c87afe
- Parent:
- 8:d1c04f0e4890
--- a/main.h Sat May 11 08:23:54 2019 +0000 +++ b/main.h Sun May 12 16:21:08 2019 +0000 @@ -7,33 +7,21 @@ #define SCREEN_HEIGHT 48 #define MAP_WIDTH 100 #define MAP_HEIGHT 100 -#define MAX_SPEED 3 - -/////////////// structs ///////////////// -/* NOTES -Convert int to string to display score. - -do sprites. +#define MAX_SPEED 4 -sort tone glitch. - -do leds for ammo and health. - -Sort menu. inc open message & menu options. - -What a fucking life. -*/ ///////////// prototypes /////////////// void init(); +void opening(); void welcome(); -string menu(); -void ask(string option); -void begin(string option); -void play(); +void menu(); +void ask(); void gameLoop(); +void paused(); +void died(); void tutorial(); -void highscores(); -void credits(); +int option; +int begin; int health; int score; +char buffer[14];