Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Diff: Menu/Menu.h
- Revision:
- 40:f53c70793975
- Parent:
- 38:51ed5820ffe5
- Child:
- 41:4b20f909bbcb
--- a/Menu/Menu.h Tue May 07 16:23:00 2019 +0000 +++ b/Menu/Menu.h Tue May 07 18:07:39 2019 +0000 @@ -11,17 +11,32 @@ public: Menu(); ~Menu(); - + void title_intro(N5110 &lcd, Gamepad &pad); int press_start(N5110 &lcd, Gamepad &pad); + void init(); - - int select_input(Gamepad &pad, N5110 &lcd); - + int select_input_main(Gamepad &pad, N5110 &lcd); + int select_input_continue(Gamepad &pad, N5110 &lcd); + void print_highscore(N5110 &lcd, int highscore); + float print_settings(Gamepad &pad, N5110 &lcd); private: void print_main_menu(N5110 &lcd); + void print_continue_menu(N5110 &lcd); + + void menu_decoration(N5110 &lcd); + + void intro_b(N5110 &lcd, Gamepad &pad); + void intro_bl(N5110 &lcd, Gamepad &pad); + void intro_blo(N5110 &lcd, Gamepad &pad); + void intro_bloc(N5110 &lcd, Gamepad &pad); + void intro_block(N5110 &lcd, Gamepad &pad); + void intro_block_h(N5110 &lcd, Gamepad &pad); + void intro_block_he(N5110 &lcd, Gamepad &pad); + void intro_block_hea(N5110 &lcd, Gamepad &pad); + void intro_block_head(N5110 &lcd, Gamepad &pad); void B(int x, int y, N5110 &lcd); void BL(int x, int y, N5110 &lcd); @@ -32,15 +47,15 @@ void BLOCK_HE(int x, int y, N5110 &lcd); void BLOCK_HEA(int x, int y, N5110 &lcd); void BLOCK_HEAD(int x, int y, N5110 &lcd); - + int _start; int _count; - + int _select; int _input; int _stop; bool _flash; - + }; #endif \ No newline at end of file