![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/StartScreen/StartScreen.h
- Revision:
- 56:142e9fdb77a8
- Parent:
- 49:441c32f6603e
- Child:
- 58:affb42c56cf8
diff -r df0825049171 -r 142e9fdb77a8 MenuClasses/StartScreen/StartScreen.h --- a/MenuClasses/StartScreen/StartScreen.h Sat Apr 27 18:56:30 2019 +0000 +++ b/MenuClasses/StartScreen/StartScreen.h Sun Apr 28 16:56:08 2019 +0000 @@ -56,13 +56,13 @@ * * This function just displays Menu Screen 1 contents. */ - void DisplayMMContents(N5110 &lcd, Gamepad &pad); + void ImplementMenu(N5110 &lcd, Gamepad &pad); /** Implementing The First Menu Screen * * This function just implements the things decided in main menu. */ - void ImplementMM(N5110 &lcd, Gamepad &pad); + void NextMenu(N5110 &lcd, Gamepad &pad); /** The Second Menu Screen * @@ -70,17 +70,17 @@ */ void game_mode(N5110 &lcd, Gamepad &pad); - /** Implementing GM + /** Displaying Mode Options * - * This function just decides what has to selected in the next iteration. + * This function displays game_mode contents. */ - void ImplementGM(Gamepad &pad); + void ModeOptions(N5110 &lcd); - /** Displaying GAME mode Contents + /** Selecting the game mode * - * This function just displays game_mode contents. + * value of g_mode is changed in this function that allows the choise beteen joystick/motion control.. */ - void DisplayGMContents(N5110 &lcd); + void SelectMode(Gamepad &pad); /** The Third Menu Screen * @@ -103,7 +103,6 @@ int fps; // this sends over the game speed int i; - int lr; int gs; int g_mode; //this helps to select between joystick and motion control. int st;