Kern Fowler / Mbed 2 deprecated Donkey_Kong_Game

Dependencies:   mbed

Revision:
2:6baf849b0270
Parent:
1:7a0917df015a
Child:
3:b248dc1f3e8d
--- a/main.h	Tue Apr 23 17:10:14 2019 +0000
+++ b/main.h	Sun May 05 01:03:27 2019 +0000
@@ -6,12 +6,31 @@
 #include "N5110.h"
 #include "Gamepad.h"
 
+N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
+Gamepad pad; 
+
 // function prototypes
-void init() ;
+void init();
 void print_menu();
 void welcome();
+void arrow_location();
+void arrow_select();
+void game_engine_run();
+void controls_run();
+void instructions_run();
+void options_run();
 
-const int dk_menu_face[36][34] =   { // donkey kong face for menu
+int menu_arrow[7][7] = { // Arrow pointer used in main menu
+{0,0,0,0,0,0,0,},
+{0,0,0,0,1,0,0,},
+{0,0,0,0,1,1,0,},
+{1,1,1,1,1,1,1,},
+{0,0,0,0,1,1,0,},
+{0,0,0,0,1,0,0,},
+{0,0,0,0,0,0,0,},
+};
+
+int menu_dk_face[36][34] =   { // donkey kong face for menu
     { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0 },
     { 0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0 },
     { 0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0 },