Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 10:30:29 PM (18 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/Orxonox.h

    r682 r708  
    1313#include "OrxonoxPrereqs.h"
    1414#include "loader/LoaderPrereqs.h"
     15
     16#include "misc/String.h"
    1517#include "GraphicsEngine.h"
    1618
     
    3032  {
    3133    public:
    32       void init(int argc, char **argv, std::string path);
     34      void init(int argc, char **argv, String path);
    3335      void start();
    3436      // not sure if this should be private
     
    4648      virtual ~Orxonox();
    4749      // init functions
    48       void serverInit(std::string path);
    49       void clientInit(std::string path);
    50       void standaloneInit(std::string path);
     50      void serverInit(String path);
     51      void clientInit(String path);
     52      void standaloneInit(String path);
    5153      // run functions
    52       void playableServer(std::string path);
     54      void playableServer(String path);
    5355      void standalone();
    5456      void defineResources();
     
    6466    private:
    6567      GraphicsEngine*       ogre_;      //!< our dearest graphics engine <3
    66       std::string           dataPath_;  //!< path to data
     68      String           dataPath_;  //!< path to data
    6769      loader::LevelLoader*  loader_;    //!< level loader builds the scene
    6870      audio::AudioManager*  auMan_;     //!< audio manager
     
    7779      // this is used to identify the mode (server/client/...) we're in
    7880      gameMode              mode_;
    79       std::string           serverIp_;
     81      String           serverIp_;
    8082  };
    8183}
Note: See TracChangeset for help on using the changeset viewer.