Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 6, 2008, 7:39:38 PM (16 years ago)
Author:
rgrieder
Message:

Moved all Ogre related code from GSRoot to GSGraphics.
You should now be able to start the gui, goto ioConsole, then start the gui again and load the level.
gui —> level —> gui doesn't yet work. But I will not dig into that until our object hierarchy has been replaced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gamestates/GSRoot.h

    r1792 r1891  
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport GSRoot : public RootGameState, public Ogre::LogListener, public OrxonoxClass
     39    class _OrxonoxExport GSRoot : public RootGameState, public OrxonoxClass
    4040    {
    4141        friend class ClassIdentifier<GSRoot>;
     
    4747        { requestState("root"); }
    4848
    49         Ogre::Root* getOgreRoot() { return this->ogreRoot_; }
    50         GraphicsEngine* getGraphicsEngine() { return this->graphicsEngine_; }
    51 
    5249    private:
    5350        void enter();
     
    5653
    5754        void setConfigValues();
    58         void messageLogged(const std::string& message, Ogre::LogMessageLevel lml,
    59             bool maskDebug, const std::string& logName);
    6055        void setThreadAffinity(unsigned int limitToCPU);
    61         void setupOgre();
    6256
    6357        Settings*             settings_;
    64         Ogre::Root*           ogreRoot_;                  //!< Ogre's root
    65         Ogre::LogManager*     ogreLogger_;
    66         GraphicsEngine*       graphicsEngine_;   //!< Interface to Ogre
    6758        TclBind*              tclBind_;
    6859        TclThreadManager*     tclThreadManager_;
    6960        Shell*                shell_;
    70 
    71         std::string           ogreConfigFile_;        //!< ogre config file name
    72         std::string           ogrePluginsFile_;       //!< ogre plugins file name
    73         std::string           ogreLogFile_;           //!< log file name for Ogre log messages
    74         int                   ogreLogLevelTrivial_;   //!< Corresponding Orxonx debug level for LL_TRIVIAL
    75         int                   ogreLogLevelNormal_;    //!< Corresponding Orxonx debug level for LL_NORMAL
    76         int                   ogreLogLevelCritical_;  //!< Corresponding Orxonx debug level for LL_CRITICAL
    7761    };
    7862}
Note: See TracChangeset for help on using the changeset viewer.