X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.h;h=00dfb53dd47f280ed1705905f58300ec78805cca;hb=f2bdc21afd6dfae2c221dfd4517334d43dbbe272;hp=337b0bfe71f82fa6986559ef995872705a2ccde2;hpb=54cbb28b51da68b2280068a41e7964f78dec6858;p=lugaru.git diff --git a/Source/Game.h b/Source/Game.h index 337b0bf..00dfb53 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; @@ -137,7 +139,7 @@ class Game char campaignmapname[50][256]; char campaigndescription[50][256]; int campaignchoosenext[50]; - int campaignnumnext[50]; + int campaignnumnext[50]; // Set this to 0 on final level. As David said: he meant to add story branching, but he eventually hadn't. int campaignnextlevel[50][10]; int campaignlocationx[50]; int campaignlocationy[50]; @@ -221,6 +223,7 @@ class Game void LoadStuff(); void LoadingScreen(); void LoadCampaign(); + static std::vector ListCampaigns(); void FadeLoadingScreen(float howmuch); void Dispose(); int DrawGLScene(StereoSide side);