X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.h;h=70fdb9271fce172e39bfef49951f5ba65a8b8458;hb=710fa624080c2f2db7923832e2fd9945f4dd8254;hp=56b65c257773b5510c9ec39ad6f4db4a3300398b;hpb=f7f3989db89536a13751c11625168948a08e03e0;p=lugaru.git diff --git a/Source/Game.h b/Source/Game.h index 56b65c2..70fdb92 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -59,6 +59,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Account.h" #include "Sounds.h" +#define NB_CAMPAIGN_MENU_ITEM 7 + extern GLuint rabbittexture; struct TextureInfo; @@ -89,13 +91,8 @@ class Game float selectedlong[100]; float offsetx[100]; float offsety[100]; - float movex[100]; - float movey[100]; - float transition; - int anim; int selected; int keyselect; - int loaddistrib; int indemo; bool won; @@ -144,8 +141,6 @@ class Game int campaignchoosenext[50]; int campaignnumnext[50]; int campaignnextlevel[50][10]; - int campaignchoicesmade; - int campaignchoices[5000]; int campaignlocationx[50]; int campaignlocationy[50]; int campaignchoicenum; @@ -227,9 +222,12 @@ class Game void LoadScreenTexture(); void LoadStuff(); void LoadingScreen(); + void LoadCampaign(); + static std::vector ListCampaigns(); void FadeLoadingScreen(float howmuch); void Dispose(); int DrawGLScene(StereoSide side); + void DrawMenu(); void DrawGL(); //factored from Tick() -sf17k void MenuTick();