Changeset 1024 for code/trunk/src/orxonox/GraphicsEngine.h
- Timestamp:
- Apr 10, 2008, 5:35:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/GraphicsEngine.h
r1021 r1024 11 11 12 12 #include <OgrePrerequisites.h> 13 #include <OgreLog.h> 13 14 #include <OgreRoot.h> 14 15 #include <OgreSceneManager.h> … … 23 24 * graphics engine manager class 24 25 */ 25 class _OrxonoxExport GraphicsEngine : public OrxonoxClass 26 class _OrxonoxExport GraphicsEngine : public OrxonoxClass, public Ogre::LogListener 26 27 { 27 28 public: 28 29 GraphicsEngine(); 29 inlinevoid setConfigPath(std::string path) { this->configPath_ = path; };30 void setConfigPath(std::string path) { this->configPath_ = path; }; 30 31 // find a better way for this 31 32 //inline Ogre::Root* getRoot() { return root_; }; … … 54 55 55 56 private: 57 //! Method called by the LogListener from Ogre 58 void messageLogged(const std::string& message, Ogre::LogMessageLevel lml, 59 bool maskDebug, const std::string &logName); 60 56 61 Ogre::Root* root_; //!< Ogre's root 57 62 std::string configPath_; //!< path to config file … … 60 65 Ogre::RenderWindow* renderWindow_;//!< the current render window 61 66 //bool bOverwritePath_; //!< overwrites path 67 std::string ogreLogfile_; //!< log file name for Ogre log messages 68 int ogreLogLevelTrivial_; //!< Corresponding Orxonx debug level for LL_TRIVIAL 69 int ogreLogLevelNormal_; //!< Corresponding Orxonx debug level for LL_NORMAL 70 int ogreLogLevelCritical_; //!< Corresponding Orxonx debug level for LL_CRITICAL 62 71 63 72 };
Note: See TracChangeset
for help on using the changeset viewer.