]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.h
major refactor of menu system, part 1
[lugaru.git] / Source / Game.h
index cb08024bc41559667f6098fc148a6bfa43ad2b1f..bc7ac539fc62b39b1c5fb650cdc489c1dd7a4e72 100644 (file)
@@ -168,12 +168,6 @@ class Game
                GLuint cursortexture;
                GLuint Mainmenuitems[10];
 
-               int nummenuitems;
-               int startx[100];
-               int starty[100];
-               int endx[100];
-               int endy[100];
-               float selectedlong[100];
                int selected;
                int keyselect;
                int indemo;
@@ -221,6 +215,8 @@ class Game
                std::vector<CampaignLevel> campaignlevels;
                int whichchoice;
                int actuallevel;
+               bool winhotspot;
+               bool windialogue;
 
                bool minimap;
 
@@ -280,6 +276,7 @@ class Game
                bool autocam;
 
                unsigned short crouchkey,jumpkey,forwardkey,chatkey,backkey,leftkey,rightkey,drawkey,throwkey,attackkey;
+               unsigned short consolekey;
                bool oldattackkey;
 
                static void LoadTexture(const string fileName, GLuint *textureid,int mipmap, bool hasalpha);