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