Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8239 in orxonox.OLD for branches/script_engine/src/story_entities


Ignore:
Timestamp:
Jun 8, 2006, 1:53:06 PM (19 years ago)
Author:
bensch
Message:

more integration into orxonox framework

Location:
branches/script_engine/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/script_engine/src/story_entities/game_world.cc

    r8037 r8239  
    181181  this->dataXML = (TiXmlElement*)root->Clone();
    182182
     183  LoadParamXML(root, "ScriptManager", &this->scriptManager, ScriptManager, loadParams);
     184
    183185  delete XMLDoc;
    184186  this->releaseLoadScreen();
     
    213215  this->bPaused = false;
    214216  this->bRunning = true;
     217
     218  State::setScripManager(&this->scriptManager);
    215219
    216220  this->run();
  • branches/script_engine/src/story_entities/game_world.h

    r7919 r8239  
    1111#include "game_world_data.h"
    1212#include "playable.h"
     13#include "script_manager.h"
    1314
    1415namespace OrxShell { class Shell; };
    1516class WorldEntity;
    1617class GameRules;
     18
    1719
    1820/** How many frames time values to keep
     
    102104    GameRules*          gameRules;                    //!< Pointer to the data structure containig the game rules
    103105
    104 
    105106  private:
    106107    /* external modules interfaces */
     108    ScriptManager       scriptManager;
    107109    OrxShell::Shell*    shell;
    108110};
Note: See TracChangeset for help on using the changeset viewer.