re3-mirror/src/core/Game.h

43 lines
988 B
C
Raw Normal View History

2019-05-15 15:52:37 +01:00
#pragma once
enum eLevelName
{
LEVEL_NONE = 0,
LEVEL_INDUSTRIAL,
LEVEL_COMMERCIAL,
LEVEL_SUBURBAN
};
class CGame
{
public:
2019-06-28 18:23:28 +01:00
static eLevelName &currLevel;
2019-05-31 10:44:43 +01:00
static bool &bDemoMode;
static bool &nastyGame;
static bool &frenchGame;
static bool &germanGame;
2020-03-29 07:35:13 +01:00
#ifdef MORE_LANGUAGES
static bool russianGame;
#endif
static bool &noProstitutes;
2019-06-13 01:35:26 +01:00
static bool &playingIntro;
2019-06-17 09:30:02 +01:00
static char *aDatFile; //[32];
2019-05-31 10:44:43 +01:00
2019-06-16 23:16:38 +01:00
static bool InitialiseOnceBeforeRW(void);
static bool InitialiseRenderWare(void);
2019-05-31 18:02:26 +01:00
static void ShutdownRenderWare(void);
static bool InitialiseOnceAfterRW(void);
2019-05-31 18:02:26 +01:00
static void FinalShutdown(void);
static bool Initialise(const char *datFile);
static bool ShutDown(void);
static void ReInitGameObjectVariables(void);
static void ReloadIPLs(void);
static void ShutDownForRestart(void);
static void InitialiseWhenRestarting(void);
2019-06-28 18:23:28 +01:00
static void Process(void);
2019-06-28 18:23:28 +01:00
// NB: these do something on PS2
static void TidyUpMemory(bool, bool);
static void DrasticTidyUpMemory(bool);
2019-05-15 15:52:37 +01:00
};