Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/Simulation2.h
Show All 29 Lines | |||||
class CMessage; | class CMessage; | ||||
class CSimContext; | class CSimContext; | ||||
class CSimulation2Impl; | class CSimulation2Impl; | ||||
class CTerrain; | class CTerrain; | ||||
class CUnitManager; | class CUnitManager; | ||||
class IComponent; | class IComponent; | ||||
class SceneCollector; | class SceneCollector; | ||||
class ScriptInterface; | class ScriptInterface; | ||||
class ScriptRuntime; | class ScriptContext; | ||||
/** | /** | ||||
* Public API for simulation system. | * Public API for simulation system. | ||||
* Most code should interact with the simulation only through this API. | * Most code should interact with the simulation only through this API. | ||||
*/ | */ | ||||
class CSimulation2 | class CSimulation2 | ||||
{ | { | ||||
NONCOPYABLE(CSimulation2); | NONCOPYABLE(CSimulation2); | ||||
public: | public: | ||||
// TODO: CUnitManager should probably be handled automatically by this | // TODO: CUnitManager should probably be handled automatically by this | ||||
// module, but for now we'll have it passed in externally instead | // module, but for now we'll have it passed in externally instead | ||||
CSimulation2(CUnitManager* unitManager, shared_ptr<ScriptRuntime> rt, CTerrain* terrain); | CSimulation2(CUnitManager* unitManager, shared_ptr<ScriptContext> rt, CTerrain* terrain); | ||||
~CSimulation2(); | ~CSimulation2(); | ||||
void EnableSerializationTest(); | void EnableSerializationTest(); | ||||
void EnableRejoinTest(int rejoinTestTurn); | void EnableRejoinTest(int rejoinTestTurn); | ||||
void EnableOOSLog(); | void EnableOOSLog(); | ||||
/** | /** | ||||
* Load all scripts in the specified directory (non-recursively), | * Load all scripts in the specified directory (non-recursively), | ||||
▲ Show 20 Lines • Show All 224 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator