Re3/src/core/Game.h

39 lines
890 B
C
Raw Normal View History

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