ELEC2645 (2018/19) / Mbed 2 deprecated el17ttds

Dependencies:   mbed N5110_tf

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];