Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2007, 5:00:41 PM (17 years ago)
Author:
rgrieder
Message:
  • added namespace Orxonox to every file
    • removed all the "using namespace Ogre" in the header files
  • cleaned up with the includes: attempt to include as little as possible to reduce compile time.
    • created a header file: orxonox_prerequisites.h
    • used OgrePrerequisites in the header files
    • avoided including "Ogre.h", using separate files instead
  • created empty class: AmmunitionDump
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto_vs05/include/Orxonox.h

    r159 r161  
    3030#define ORXONOX_H
    3131
    32 #include "Ogre.h"
    33 #include "OgreTimer.h"
     32#include "OgrePrerequisites.h"
    3433
    35 #include "ogre_control.h"
    36 #include "run_manager.h"
     34#include "Orxonox_prerequisites.h"
    3735
    38 class Orxonox
    39 {
    40 public:
    41   Orxonox();
    42   virtual ~Orxonox();
    43         virtual void go();
     36namespace Orxonox {
    4437
    45 protected:
    46         virtual bool setup(void);
     38  class Orxonox
     39  {
     40  public:
     41    Orxonox();
     42    virtual ~Orxonox();
     43          virtual void go();
    4744
    48         virtual void destroy(void);
     45  protected:
     46          virtual bool setup(void);
    4947
    50 protected:
    51         OgreControl *ogre_;
    52         RunManager  *runMgr_;
    53         Timer       *timer_;
     48          virtual void destroy(void);
    5449
    55 };
     50  protected:
     51          OgreControl *ogre_;
     52          RunManager  *runMgr_;
     53          Ogre::Timer *timer_;
     54
     55  };
     56
     57}
    5658
    5759#endif /* ORXONOX_H */
Note: See TracChangeset for help on using the changeset viewer.