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