Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 10:30:29 PM (16 years ago)
Author:
rgrieder
Message:
  • added Vector2, Vector3, Matrix3, ColourValue, Quaternion and String to the misc folder as header files (each of them contains #include <string> … typedef std::string String , etc.)
  • please use String from now on by including <misc/String.h"
  • removed #include <OgreVector3.h", etc. from "CoreIncludes.h" (adjusted all source files)
  • adjusted all the source files (except network, that keeps <string> for the moment) (what a mess..)
  • moved usleep hack to misc/Sleep.h
  • relative include paths for files from other root directories (like misc, network, etc.) (but it stills writes "../Orxonox.h" when in folder orxonox/objects)
  • "OgreSceneManager.h" —> <OgreSceneManager.h>
  • included OrxonoxPrereqs in every file in folder orxonox
  • moved HUD and ParticleInterface to namespace orxonox
  • removed some using namespace Ogre/std when appropriate
  • I hope I haven't forgotten important points..
File:
1 edited

Legend:

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

    r673 r708  
    1111#include <OgreSceneManager.h>
    1212
     13#include "misc/String.h"
     14
    1315
    1416namespace orxonox {
     
    2022    public:
    2123      GraphicsEngine();
    22       inline void setConfigPath(std::string path) { this->configPath_ = path; };
     24      inline void setConfigPath(String path) { this->configPath_ = path; };
    2325      // find a better way for this
    2426      inline Ogre::Root* getRoot() { return root_; };
    2527      void setup();
    2628      bool load();
    27       void loadRessourceLocations(std::string path);
     29      void loadRessourceLocations(String path);
    2830      Ogre::SceneManager* getSceneManager();
    2931      void startRender();
     
    3234    private:
    3335      Ogre::Root*         root_;        //!< Ogre's root
    34       std::string         configPath_;  //!< path to config file
    35       std::string         dataPath_;    //!< path to data file
     36      String         configPath_;  //!< path to config file
     37      String         dataPath_;    //!< path to data file
    3638      Ogre::SceneManager* scene_;       //!< scene manager of the game
    3739
Note: See TracChangeset for help on using the changeset viewer.