Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 4, 2008, 8:06:38 PM (16 years ago)
Author:
rgrieder
Message:
  • added various error code in GraphicsEngine
  • Config values for plugins.cfg, resources.cfg and ogre.log
  • created Settings class for general orxonox settings like dataPath
  • rewrote ArgReader to support any type of argument that converValue can convert
  • There is now a possibility to use boolean arguments (either given or not)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/GraphicsEngine.h

    r1505 r1531  
    2121 *
    2222 *   Author:
    23  *      Benjamin Knecht <beni_at_orxonox.net>, (C) 2007
     23 *      Reto Grieder
    2424 *   Co-authors:
    25  *      Reto Grieder
     25 *      Benjamin Knecht <beni_at_orxonox.net>, (C) 2007, Felix Schulthess
    2626 *
    2727 */
     
    5656        public:
    5757            void setConfigValues();
    58             bool setup(std::string& dataPath);
    59             void declareRessourceLocations();
     58            bool setup();
     59            bool declareRessourceLocations();
    6060            bool loadRenderer();
    6161            bool initialiseResources();
     
    6565
    6666            Ogre::SceneManager* getSceneManager() { return scene_; }
    67             std::string& getDataPath() { return dataPath_; }
    6867
    6968            // several window properties
     
    101100                             bool, const std::string&);
    102101
    103             Ogre::Root*         root_;        //!< Ogre's root
    104             Ogre::SceneManager* scene_;       //!< scene manager of the game
    105             Ogre::RenderWindow* renderWindow_;//!< the current render window
    106             //bool               bOverwritePath_; //!< overwrites path
    107             //std::string         configPath_;  //!< path to config file
    108             std::string         dataPath_;    //!< path to data file
    109             std::string         ogreLogfile_; //!< log file name for Ogre log messages
    110             int ogreLogLevelTrivial_;         //!< Corresponding Orxonx debug level for LL_TRIVIAL
    111             int ogreLogLevelNormal_;          //!< Corresponding Orxonx debug level for LL_NORMAL
    112             int ogreLogLevelCritical_;        //!< Corresponding Orxonx debug level for LL_CRITICAL
     102            Ogre::Root*         root_;              //!< Ogre's root
     103            Ogre::SceneManager* scene_;             //!< scene manager of the game
     104            Ogre::RenderWindow* renderWindow_;      //!< the current render window
     105            std::string         resourceFile_;      //!< resources file name
     106            std::string         ogreConfigFile_;    //!< ogre config file name
     107            std::string         ogrePluginsFile_;   //!< ogre plugins file name
     108            std::string         ogreLogFile_;      //!< log file name for Ogre log messages
     109            int ogreLogLevelTrivial_;               //!< Corresponding Orxonx debug level for LL_TRIVIAL
     110            int ogreLogLevelNormal_;                //!< Corresponding Orxonx debug level for LL_NORMAL
     111            int ogreLogLevelCritical_;              //!< Corresponding Orxonx debug level for LL_CRITICAL
    113112    };
    114113}
Note: See TracChangeset for help on using the changeset viewer.