Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/StartScreen/StartScreen.h
- Revision:
- 49:441c32f6603e
- Parent:
- 43:233f93860d08
- Child:
- 56:142e9fdb77a8
--- a/MenuClasses/StartScreen/StartScreen.h Fri Apr 26 12:46:42 2019 +0000 +++ b/MenuClasses/StartScreen/StartScreen.h Fri Apr 26 17:16:22 2019 +0000 @@ -38,13 +38,19 @@ * * This function shows who the author of the game is before showing the menu screen. */ - void info(N5110 &lcd, Gamepad &pad); + void credits(N5110 &lcd); + + /** Read Stats + * + * This function just reads the current top level stored in the sd card and saves it for displaying in the menu. + */ + void read_stats(SDFileSystem &sd); /** The First Menu Screen * * This function obtains the user input on how they want to progress. */ - void main_menu(N5110 &lcd, Gamepad &pad, SDFileSystem &sd); + void main_menu(N5110 &lcd, Gamepad &pad); /** Displaying The First Menu Screen * @@ -56,13 +62,13 @@ * * This function just implements the things decided in main menu. */ - void ImplementMM(N5110 &lcd, Gamepad &pad, SDFileSystem &sd); + void ImplementMM(N5110 &lcd, Gamepad &pad); /** The Second Menu Screen * * This function obtains the user input on the game type they would like to play. */ - void game_mode(N5110 &lcd, Gamepad &pad, SDFileSystem &sd); + void game_mode(N5110 &lcd, Gamepad &pad); /** Implementing GM * @@ -80,7 +86,7 @@ * * This function obtains the user input on the game speed that suits them. */ - void game_speed(N5110 &lcd, Gamepad &pad, SDFileSystem &sd); + void game_speed(N5110 &lcd, Gamepad &pad); /** Implementing GS *