![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
Diff: MenuClasses/StartScreen/StartScreen.h
- Revision:
- 65:2872ca289b49
- Parent:
- 60:d3a9e0e4a0de
- Child:
- 66:e47333ffc6ca
diff -r 540aa1602372 -r 2872ca289b49 MenuClasses/StartScreen/StartScreen.h --- a/MenuClasses/StartScreen/StartScreen.h Thu May 02 11:30:04 2019 +0000 +++ b/MenuClasses/StartScreen/StartScreen.h Fri May 03 19:16:02 2019 +0000 @@ -14,8 +14,7 @@ public: StartScreen(); - ~StartScreen() - ; + ~StartScreen(); /** Initialise StartScreen * @@ -107,19 +106,27 @@ */ void showSpeedOptions(N5110 &lcd); + //SETTING THE GAME SPEED AND GAME MODE. + int fps; // this sends over the game speed + int g_mode; //this helps to select between joystick and motion control. + int gameSpeedIndex; - int fps; // this sends over the game speed + //MENU OPTIONS INDEX. int i; - int gs; - int g_mode; //this helps to select between joystick and motion control. - int st; - int sc; - float cs; + + //VARIABLE USED TO DECIDE WEATHER TO SHOW CREDITS. + int showCredits; + + //VARIABLE USED TO DECIDE THE WAIT TIME OF THE MENU PAGES. + float controlSensitivity; + + //VARIABLES TO TOGGLE BACK AND FORTH BETWEEN MENU OPTIONS. int back_pressed; //remembers if back is pressed. int Start_Pressed; //remembers if start is pressed. private: - int _level; + + //OBJECT DECLARATIONS Stats _stats; Settings _settings; Tutorial _tutorial;