Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8240 in orxonox.OLD for branches/script_engine/src


Ignore:
Timestamp:
Jun 8, 2006, 1:56:28 PM (18 years ago)
Author:
bensch
Message:

cleaner

Location:
branches/script_engine/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/lib/script_engine/script_manager.h

    r8239 r8240  
    2020  virtual void loadParams(const TiXmlElement* root);
    2121
    22   /// QUERRYING
     22  /// QUERY PROCESS
    2323  Script* getScriptByFile(const std::string& file);
    2424
    25 
     25  void  flush();                                   //!< Resets the script manager
    2626
    2727 private:
    28    void  flush();                                   //!< Resets the script manager
    2928   void  createScripts(const TiXmlElement* scripts);
    3029   void  createTriggers(const TiXmlElement* triggers);
  • branches/script_engine/src/story_entities/game_world.cc

    r8239 r8240  
    193193ErrorMessage GameWorld::unloadData()
    194194{
     195
    195196  PRINTF(3)("GameWorld::~GameWorld() - unloading the current GameWorld\n");
     197  this->scriptManager.flush();
     198
    196199  delete this->shell;
    197200
     
    228231{
    229232  PRINTF(3)("GameWorld::stop() - got stop signal\n");
     233  State::setScripManager(NULL);
    230234  this->bRunning = false;
    231235}
Note: See TracChangeset for help on using the changeset viewer.