Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2008, 11:40:50 PM (17 years ago)
Author:
landauf
Message:
  • added configurable detaillevel for particle effects to [GraphicsEngine]
  • thrusters work properly with changing gamespeed
File:
1 edited

Legend:

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

    r1535 r1563  
    8080            void windowClosed      (Ogre::RenderWindow* rw);
    8181
     82            inline unsigned int getDetailLevelParticle() const
     83              { return this->detailLevelParticle_; }
     84
    8285            static GraphicsEngine& getSingleton();
    8386            static GraphicsEngine* getSingletonPtr() { return &getSingleton(); }
     
    9497                             bool, const std::string&);
    9598
    96             Ogre::Root*         root_;              //!< Ogre's root
    97             Ogre::SceneManager* scene_;             //!< scene manager of the game
    98             Ogre::RenderWindow* renderWindow_;      //!< the current render window
    99             std::string         resourceFile_;      //!< resources file name
    100             std::string         ogreConfigFile_;    //!< ogre config file name
    101             std::string         ogrePluginsFile_;   //!< ogre plugins file name
    102             std::string         ogreLogFile_;       //!< log file name for Ogre log messages
    103             int ogreLogLevelTrivial_;               //!< Corresponding Orxonx debug level for LL_TRIVIAL
    104             int ogreLogLevelNormal_;                //!< Corresponding Orxonx debug level for LL_NORMAL
    105             int ogreLogLevelCritical_;              //!< Corresponding Orxonx debug level for LL_CRITICAL
     99            Ogre::Root*         root_;                  //!< Ogre's root
     100            Ogre::SceneManager* scene_;                 //!< scene manager of the game
     101            Ogre::RenderWindow* renderWindow_;          //!< the current render window
     102            std::string         resourceFile_;          //!< resources file name
     103            std::string         ogreConfigFile_;        //!< ogre config file name
     104            std::string         ogrePluginsFile_;       //!< ogre plugins file name
     105            std::string         ogreLogFile_;           //!< log file name for Ogre log messages
     106            int                 ogreLogLevelTrivial_;   //!< Corresponding Orxonx debug level for LL_TRIVIAL
     107            int                 ogreLogLevelNormal_;    //!< Corresponding Orxonx debug level for LL_NORMAL
     108            int                 ogreLogLevelCritical_;  //!< Corresponding Orxonx debug level for LL_CRITICAL
     109            unsigned int        detailLevelParticle_;   //!< Detail level of particle effects (0: off, 1: low, 2: normal, 3: high)
    106110    };
    107111}
Note: See TracChangeset for help on using the changeset viewer.