Changeset 1686 for code/branches/gui/src/orxonox/gamestates/GSRoot.h
- Timestamp:
- Aug 31, 2008, 2:37:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gamestates/GSRoot.h
r1674 r1686 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include <OgreLog.h> 33 34 #include "core/RootGameState.h" 35 #include "core/OrxonoxClass.h" 34 36 35 37 namespace orxonox 36 38 { 37 class _OrxonoxExport GSRoot : public RootGameState 39 class _OrxonoxExport GSRoot : public RootGameState, public Ogre::LogListener, public OrxonoxClass 38 40 { 41 friend class ClassIdentifier<GSRoot>; 39 42 public: 40 43 GSRoot(); … … 51 54 void ticked(const Clock& time); 52 55 56 void setConfigValues(); 57 void messageLogged(const std::string& message, Ogre::LogMessageLevel lml, 58 bool maskDebug, const std::string& logName); 53 59 void setThreadAffinity(); 60 void setupOgre(); 54 61 55 62 Settings* settings_; 63 Ogre::Root* ogreRoot_; //!< Ogre's root 64 Ogre::LogManager* ogreLogger_; 56 65 GraphicsEngine* graphicsEngine_; //!< Interface to Ogre 66 67 std::string ogreConfigFile_; //!< ogre config file name 68 std::string ogrePluginsFile_; //!< ogre plugins file name 69 std::string ogreLogFile_; //!< log file name for Ogre log messages 70 int ogreLogLevelTrivial_; //!< Corresponding Orxonx debug level for LL_TRIVIAL 71 int ogreLogLevelNormal_; //!< Corresponding Orxonx debug level for LL_NORMAL 72 int ogreLogLevelCritical_; //!< Corresponding Orxonx debug level for LL_CRITICAL 57 73 }; 58 74 }
Note: See TracChangeset
for help on using the changeset viewer.