Changeset 708 for code/branches/FICN/src/orxonox/GraphicsEngine.h
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/GraphicsEngine.h
r673 r708 11 11 #include <OgreSceneManager.h> 12 12 13 #include "misc/String.h" 14 13 15 14 16 namespace orxonox { … … 20 22 public: 21 23 GraphicsEngine(); 22 inline void setConfigPath( std::string path) { this->configPath_ = path; };24 inline void setConfigPath(String path) { this->configPath_ = path; }; 23 25 // find a better way for this 24 26 inline Ogre::Root* getRoot() { return root_; }; 25 27 void setup(); 26 28 bool load(); 27 void loadRessourceLocations( std::string path);29 void loadRessourceLocations(String path); 28 30 Ogre::SceneManager* getSceneManager(); 29 31 void startRender(); … … 32 34 private: 33 35 Ogre::Root* root_; //!< Ogre's root 34 std::string configPath_; //!< path to config file35 std::string dataPath_; //!< path to data file36 String configPath_; //!< path to config file 37 String dataPath_; //!< path to data file 36 38 Ogre::SceneManager* scene_; //!< scene manager of the game 37 39
Note: See TracChangeset
for help on using the changeset viewer.