Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2008, 5:35:49 PM (16 years ago)
Author:
rgrieder
Message:

merged input back into trunk
note: I have created an asylum with obsolete code, please check the files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/GraphicsEngine.h

    r1021 r1024  
    1111
    1212#include <OgrePrerequisites.h>
     13#include <OgreLog.h>
    1314#include <OgreRoot.h>
    1415#include <OgreSceneManager.h>
     
    2324   * graphics engine manager class
    2425 */
    25   class _OrxonoxExport GraphicsEngine : public OrxonoxClass
     26  class _OrxonoxExport GraphicsEngine : public OrxonoxClass, public Ogre::LogListener
    2627  {
    2728    public:
    2829      GraphicsEngine();
    29       inline void setConfigPath(std::string path) { this->configPath_ = path; };
     30      void setConfigPath(std::string path) { this->configPath_ = path; };
    3031      // find a better way for this
    3132      //inline Ogre::Root* getRoot() { return root_; };
     
    5455
    5556    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
    5661      Ogre::Root*         root_;        //!< Ogre's root
    5762      std::string         configPath_;  //!< path to config file
     
    6065      Ogre::RenderWindow* renderWindow_;//!< the current render window
    6166      //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
    6271
    6372  };
Note: See TracChangeset for help on using the changeset viewer.