summaryrefslogblamecommitdiffstats
path: root/src/core/Game.h
blob: 7b20099ca2c1d837887e25052a3289ebb428d0df (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                         
                                     

                               


                                   
                                  
                                       
 
                                                    

                                                 


                                                   

                                             
                                             
                                  
                                     



                                                
  
#pragma once

enum eLevelName
{
	LEVEL_NONE = 0,
	LEVEL_INDUSTRIAL,
	LEVEL_COMMERCIAL,
	LEVEL_SUBURBAN
};

class CGame
{
public:
	static eLevelName &currLevel;
	static bool &bDemoMode;
	static bool &nastyGame;
	static bool &frenchGame;
	static bool &germanGame;
	static bool &noProstitutes;
	static bool &playingIntro;
	static char *aDatFile;	//[32];

	static bool Initialise(const char *datFile);
	static bool InitialiseOnceBeforeRW(void);
	static bool InitialiseRenderWare(void);
	static bool InitialiseOnceAfterRW(void);
	static void InitialiseWhenRestarting(void);
	static void ShutDown(void);
	static void ShutdownRenderWare(void);
	static void FinalShutdown(void);
	static void ShutDownForRestart(void);
	static void Process(void);
	static void ReloadIPLs(void);

	// NB: these do something on PS2
	static void TidyUpMemory(bool, bool) {}
	static void DrasticTidyUpMemory(void) {}
};