Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2007, 5:00:41 PM (18 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/Bullet.h

    r157 r161  
    3030#define BULLET_H
    3131
    32 #include "Ogre.h"
     32#include "OgrePrerequisites.h"
    3333
    34 using namespace Ogre;
    35 
    36 class Bullet
    37 {
    38 public:
    39         SceneNode *mNode;
    40         Entity *mEntity;
    41         Vector3 mSpeed;
    42 
    43         Bullet(SceneNode*, Entity*, Vector3);
    44         ~Bullet();
    45 
    46 protected:
    47 
    48 };
     34#include "Orxonox_prerequisites.h"
    4935
    5036
     37namespace Orxonox {
     38
     39  class Bullet
     40  {
     41  public:
     42    Ogre::SceneNode *mNode;
     43          Ogre::Entity *mEntity;
     44          Ogre::Vector3 mSpeed;
     45
     46  protected:
     47
     48  public:
     49          Bullet(Ogre::SceneNode*, Ogre::Entity*, Ogre::Vector3);
     50          ~Bullet();
     51
     52  protected:
     53
     54  };
     55
     56}
     57
    5158#endif /* BULLET_H */
Note: See TracChangeset for help on using the changeset viewer.