Changeset 8408 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Jun 14, 2006, 5:50:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r8312 r8408 137 137 PhysicsEngine::getInstance(); 138 138 CREngine::getInstance(); 139 140 State::setScriptManager(&this->scriptManager); 141 139 142 } 140 143 … … 146 149 ErrorMessage GameWorld::loadData() 147 150 { 148 this->displayLoadScreen(); 151 this->displayLoadScreen(); State::setScriptManager(&this->scriptManager); 152 149 153 150 154 PRINTF(0)("Loading the GameWorld\n"); … … 182 186 this->dataXML = (TiXmlElement*)root->Clone(); 183 187 184 188 //remove this after finished testing !!!! 185 189 Object* obj= new Object(); 186 190 obj->setName("Obj"); … … 190 194 b->setName("b"); 191 195 196 192 197 LoadParamXML(root, "ScriptManager", &this->scriptManager, ScriptManager, loadParams); 193 198 … … 228 233 this->bPaused = false; 229 234 this->bRunning = true; 230 231 State::setScripManager(&this->scriptManager); 232 235 State::setScriptManager(&this->scriptManager); //make sure we have the right script manager 233 236 this->run(); 234 237 } … … 241 244 { 242 245 PRINTF(3)("GameWorld::stop() - got stop signal\n"); 243 State::setScrip Manager(NULL);246 State::setScriptManager(NULL); 244 247 this->bRunning = false; 245 248 } … … 603 606 604 607 AtmosphericEngine::getInstance()->draw(); 605 608 606 609 if( unlikely( this->showBV)) 607 610 {
Note: See TracChangeset
for help on using the changeset viewer.