Changeset 8240 in orxonox.OLD for branches/script_engine/src
- Timestamp:
- Jun 8, 2006, 1:56:28 PM (18 years ago)
- Location:
- branches/script_engine/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/script_engine/src/lib/script_engine/script_manager.h
r8239 r8240 20 20 virtual void loadParams(const TiXmlElement* root); 21 21 22 /// QUER RYING22 /// QUERY PROCESS 23 23 Script* getScriptByFile(const std::string& file); 24 24 25 25 void flush(); //!< Resets the script manager 26 26 27 27 private: 28 void flush(); //!< Resets the script manager29 28 void createScripts(const TiXmlElement* scripts); 30 29 void createTriggers(const TiXmlElement* triggers); -
branches/script_engine/src/story_entities/game_world.cc
r8239 r8240 193 193 ErrorMessage GameWorld::unloadData() 194 194 { 195 195 196 PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n"); 197 this->scriptManager.flush(); 198 196 199 delete this->shell; 197 200 … … 228 231 { 229 232 PRINTF(3)("GameWorld::stop() - got stop signal\n"); 233 State::setScripManager(NULL); 230 234 this->bRunning = false; 231 235 }
Note: See TracChangeset
for help on using the changeset viewer.