re3/src/core/Game.h

50 lines
1.2 KiB
C
Raw Permalink Normal View History

2019-05-15 14:52:37 +00:00
#pragma once
2020-04-19 16:34:08 +00:00
enum eLevelName {
LEVEL_IGNORE = -1, // beware, this is only used in CPhysical's m_nZoneLevel
2020-07-13 14:43:09 +00:00
LEVEL_GENERIC = 0,
2019-05-15 14:52:37 +00:00
LEVEL_INDUSTRIAL,
LEVEL_COMMERCIAL,
2020-12-08 05:50:29 +00:00
LEVEL_SUBURBAN,
NUM_LEVELS
2019-05-15 14:52:37 +00:00
};
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;
2020-04-26 20:49:24 +00:00
static bool japaneseGame;
2020-03-29 06:35:13 +00:00
#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);
static bool InitialiseOnceAfterRW(void);
2019-05-31 17:02:26 +00:00
static void FinalShutdown(void);
2020-12-20 18:13:58 +00:00
#if GTA_VERSION <= GTA3_PS2_160
static bool Initialise(void);
#else
static bool Initialise(const char *datFile);
2020-12-20 18:13:58 +00:00
#endif
static bool ShutDown(void);
static void ReInitGameObjectVariables(void);
static void ReloadIPLs(void);
static void ShutDownForRestart(void);
static void InitialiseWhenRestarting(void);
2019-06-28 17:23:28 +00:00
static void Process(void);
2019-06-28 17:23:28 +00:00
// NB: these do something on PS2
static void TidyUpMemory(bool, bool);
static void DrasticTidyUpMemory(bool);
static void ProcessTidyUpMemory(void);
2019-05-15 14:52:37 +00:00
};