24 #ifndef INCLUDED_WORLD
25 #define INCLUDED_WORLD
30 #ifndef ERROR_GROUP_GAME_DEFINED
31 #define ERROR_GROUP_GAME_DEFINED
39 class CTerritoryManager;
The container that holds the rules, resources and attributes of the game.
CUnitManager & GetUnitManager()
Get a reference to the unit manager object.
#define ERROR_SUBGROUP(a, b)
CTerritoryManager * GetTerritoryManager()
Get the pointer to the territory manager object.
CLightEnv g_LightEnv
File : World.cpp Project : engine Description : Contains the CWorld Class implementation.
void RegisterInitRMS(const CStrW &scriptFile, const CScriptValRooted &settings, int playerID)
void RegisterInit(const CStrW &mapFile, const CScriptValRooted &settings, int playerID)
Initializes the game world with the attributes provided.
CTerrain * GetTerrain()
Get the pointer to the terrain object.
CWorld is a general data class containing whatever is needed to accurately represent the world...
CWorld(CGame *pGame)
Constructor.
Class CLightEnv: description of a lighting environment - contains all the necessary parameters for re...
CTerritoryManager * m_TerritoryManager
pointer to the CTerritoryManager that holds territory matrix for the world.
CTerrain * m_Terrain
pointer to the CTerrain object representing the height map.
CUnitManager * m_UnitManager
pointer to the CUnitManager that holds all the units in the world.
CGame * m_pGame
pointer to the CGame object representing the game.