Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 20, 2008, 3:56:23 PM (16 years ago)
Author:
bknecht
Message:

applied some old changes (compiles, but may fail running)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/script/src/orxonox/GraphicsEngine.h

    r790 r911  
    1414
    1515#include "OrxonoxPrereqs.h"
     16#include "core/BaseObject.h"
    1617
    1718
     
    2122   * graphics engine manager class
    2223 */
    23   class _OrxonoxExport GraphicsEngine {
     24  class _OrxonoxExport GraphicsEngine : public BaseObject
     25  {
    2426    public:
    2527      GraphicsEngine();
     
    2729      // find a better way for this
    2830      inline Ogre::Root* getRoot() { return root_; };
     31      void setConfigValues();
    2932      void setup();
    30       bool load();
     33      bool load(std::string path);
    3134      void loadRessourceLocations(std::string path);
    3235      Ogre::SceneManager* getSceneManager();
     
    3942      std::string         dataPath_;    //!< path to data file
    4043      Ogre::SceneManager* scene_;       //!< scene manager of the game
     44      bool               bOverwritePath_; //!< overwrites path
    4145
    4246  };
Note: See TracChangeset for help on using the changeset viewer.