Changeset 1891 for code/trunk/src/orxonox/gamestates/GSRoot.h
- Timestamp:
- Oct 6, 2008, 7:39:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSRoot.h
r1792 r1891 37 37 namespace orxonox 38 38 { 39 class _OrxonoxExport GSRoot : public RootGameState, public O gre::LogListener, public OrxonoxClass39 class _OrxonoxExport GSRoot : public RootGameState, public OrxonoxClass 40 40 { 41 41 friend class ClassIdentifier<GSRoot>; … … 47 47 { requestState("root"); } 48 48 49 Ogre::Root* getOgreRoot() { return this->ogreRoot_; }50 GraphicsEngine* getGraphicsEngine() { return this->graphicsEngine_; }51 52 49 private: 53 50 void enter(); … … 56 53 57 54 void setConfigValues(); 58 void messageLogged(const std::string& message, Ogre::LogMessageLevel lml,59 bool maskDebug, const std::string& logName);60 55 void setThreadAffinity(unsigned int limitToCPU); 61 void setupOgre();62 56 63 57 Settings* settings_; 64 Ogre::Root* ogreRoot_; //!< Ogre's root65 Ogre::LogManager* ogreLogger_;66 GraphicsEngine* graphicsEngine_; //!< Interface to Ogre67 58 TclBind* tclBind_; 68 59 TclThreadManager* tclThreadManager_; 69 60 Shell* shell_; 70 71 std::string ogreConfigFile_; //!< ogre config file name72 std::string ogrePluginsFile_; //!< ogre plugins file name73 std::string ogreLogFile_; //!< log file name for Ogre log messages74 int ogreLogLevelTrivial_; //!< Corresponding Orxonx debug level for LL_TRIVIAL75 int ogreLogLevelNormal_; //!< Corresponding Orxonx debug level for LL_NORMAL76 int ogreLogLevelCritical_; //!< Corresponding Orxonx debug level for LL_CRITICAL77 61 }; 78 62 }
Note: See TracChangeset
for help on using the changeset viewer.