40 laSystemIntegrator::laSystemIntegrator(
void)
49 if(laSystemIntegrator::_pIntegrator!=NULL)
51 laSystemIntegrator::_pIntegrator->getEnvironment()->
message(M_FALSE,
"An attempt to create mulitple laSystemIntegrator instances was made");
58 laSystemIntegrator::~laSystemIntegrator(
void)
63 void laSystemIntegrator::createSettings(
laSettings *p)
66 throw laError(
"An attempt was made to create multiple laSettings objects");
69 _pSettings->Load(
"ron.cfg");
74 if(_pEnvironment!=NULL)
75 throw laError(
"An attempt was made to create multiple laEnvironment objects");
81 void laSystemIntegrator::createGame(
laGame *p)
84 throw laError(
"An attempt was made to create multiple laGame objects");
90 void laSystemIntegrator::createRenderer(
laRenderer *p)
93 throw laError(
"An attempt was made to create multiple laRenderer objects");
102 throw laError(
"An attempt was made to create multiple laInputManager objects");
108 void laSystemIntegrator::createSound(laSoundManager *p)
111 throw laError(
"An attempt was made to create multiple laSoundManager objects");
117 void laSystemIntegrator::discard()
119 _pEnvironment->
message(M_TRUE,
"laSystemIntegrator: Discarding game object...");
120 if(_pGame) _pGame->onFini();
122 _pEnvironment->
message(M_TRUE,
"laSystemIntegrator: Discarding renderer...");
123 if(_pRenderer) _pRenderer->discard();
133 _pEnvironment->
message(M_TRUE,
"laSystemIntegrator: All subsystems discarded.");
Collection of laStage objects.
virtual void message(M_BOOL bSilent, const char *strText,...)=0
Display message box.
virtual void create()=0
Create OS environment.
Virtual interface for the Engine graphics renderer.
Engine Sub-systems Integrator.
Engine abstract OS environment.