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