Changeset 729 for code/branches/FICN/src/orxonox/objects
- Timestamp:
- Dec 30, 2007, 9:48:52 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/objects
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/Ambient.cc
r716 r729 43 43 namespace orxonox 44 44 { 45 // create a template instantiations 46 //template class _OrxonoxExport ClassIdentifier<Ambient>; 47 45 48 CreateFactory(Ambient); 46 49 -
code/branches/FICN/src/orxonox/objects/Ambient.h
r708 r729 8 8 namespace orxonox 9 9 { 10 class Ambient : public BaseObject10 class _OrxonoxExport Ambient : public BaseObject 11 11 { 12 12 public: … … 21 21 22 22 }; 23 ExportClass(Ambient, Orxonox); 23 24 } 24 25 -
code/branches/FICN/src/orxonox/objects/BaseObject.cc
r708 r729 32 32 33 33 #include "tinyxml/tinyxml.h" 34 #include "../core/CoreIncludes.h"35 34 36 35 #include "BaseObject.h" -
code/branches/FICN/src/orxonox/objects/BaseObject.h
r708 r729 10 10 11 11 #include "../OrxonoxPrereqs.h" 12 #include "../core/CorePrereqs.h" 12 13 13 #include "../core/ OrxonoxClass.h"14 #include "../core/CoreIncludes.h" 14 15 15 16 namespace orxonox 16 17 { 17 18 //! The BaseObject is the parent of all classes representing an instance in the game. 18 class BaseObject : virtual public OrxonoxClass19 class _OrxonoxExport BaseObject : virtual public OrxonoxClass 19 20 { 20 21 public: … … 23 24 virtual void loadParams(TiXmlElement* xmlElem); 24 25 }; 26 ExportClass(BaseObject, Orxonox); 25 27 } 26 28 -
code/branches/FICN/src/orxonox/objects/BillboardSet.h
r717 r729 13 13 namespace orxonox 14 14 { 15 class BillboardSet15 class _OrxonoxExport BillboardSet 16 16 { 17 17 public: -
code/branches/FICN/src/orxonox/objects/Camera.h
r708 r729 8 8 namespace orxonox 9 9 { 10 class Camera : public BaseObject10 class _OrxonoxExport Camera : public BaseObject 11 11 { 12 12 public: … … 21 21 22 22 }; 23 ExportClass(Camera, Orxonox); 23 24 } 24 25 -
code/branches/FICN/src/orxonox/objects/Explosion.h
r708 r729 9 9 namespace orxonox 10 10 { 11 class Explosion : public WorldEntity11 class _OrxonoxExport Explosion : public WorldEntity 12 12 { 13 13 public: … … 21 21 ParticleInterface* particle_; 22 22 }; 23 ExportClass(Explosion, Orxonox); 23 24 } 24 25 -
code/branches/FICN/src/orxonox/objects/Fighter.h
r708 r729 12 12 namespace orxonox 13 13 { 14 class Fighter : public Model, public OIS::MouseListener14 class _OrxonoxExport Fighter : public Model, public OIS::MouseListener 15 15 { 16 16 public: … … 90 90 int emitterRate_; 91 91 }; 92 ExportClass(Fighter, Orxonox); 92 93 } 93 94 -
code/branches/FICN/src/orxonox/objects/Light.h
r716 r729 12 12 namespace orxonox 13 13 { 14 class Light14 class _OrxonoxExport Light 15 15 { 16 16 public: -
code/branches/FICN/src/orxonox/objects/Mesh.h
r715 r729 10 10 namespace orxonox 11 11 { 12 class Mesh12 class _OrxonoxExport Mesh 13 13 { 14 14 public: -
code/branches/FICN/src/orxonox/objects/Model.cc
r708 r729 69 69 70 70 void Model::registerAllVariables(){ 71 registerVar(&meshSrc_, meshSrc_.length()+1, network::STRING);71 registerVar(&meshSrc_, (int)meshSrc_.length() + 1, network::STRING); 72 72 } 73 73 } -
code/branches/FICN/src/orxonox/objects/Model.h
r715 r729 12 12 { 13 13 14 class Model : public WorldEntity14 class _OrxonoxExport Model : public WorldEntity 15 15 { 16 16 public: … … 25 25 void registerAllVariables(); 26 26 }; 27 ExportClass(Model, Orxonox); 27 28 } 28 29 -
code/branches/FICN/src/orxonox/objects/NPC.h
r728 r729 16 16 namespace orxonox { 17 17 18 class NPC : public Model18 class _OrxonoxExport NPC : public Model 19 19 { 20 20 public: … … 44 44 static int const NUMELEMENTS = 9; //number of elements 45 45 }; 46 ExportClass(NPC, Orxonox); 46 47 47 48 } -
code/branches/FICN/src/orxonox/objects/Projectile.h
r708 r729 12 12 class SpaceShip; // Forward declaration 13 13 14 class Projectile : public WorldEntity14 class _OrxonoxExport Projectile : public WorldEntity 15 15 { 16 16 public: … … 28 28 Timer<Projectile> destroyTimer_; 29 29 }; 30 ExportClass(Projectile, Orxonox); 30 31 } 31 32 -
code/branches/FICN/src/orxonox/objects/Skybox.h
r708 r729 10 10 namespace orxonox 11 11 { 12 class Skybox : public BaseObject12 class _OrxonoxExport Skybox : public BaseObject 13 13 { 14 14 public: … … 23 23 24 24 }; 25 ExportClass(Skybox, Orxonox); 25 26 } 26 27 -
code/branches/FICN/src/orxonox/objects/SpaceShip.h
r708 r729 16 16 class ParticleInterface; // Forward declaration 17 17 18 class SpaceShip : public Model, public OIS::MouseListener18 class _OrxonoxExport SpaceShip : public Model, public OIS::MouseListener 19 19 { 20 20 public: … … 43 43 bool mousePressed(const OIS::MouseEvent &e, OIS::MouseButtonID id); 44 44 bool mouseReleased(const OIS::MouseEvent &e, OIS::MouseButtonID id); 45 46 void doNothing() { 47 int a = 0; 48 } 45 49 46 50 … … 125 129 int emitterRate_; 126 130 }; 131 ExportClass(SpaceShip, Orxonox); 127 132 } 128 133 -
code/branches/FICN/src/orxonox/objects/Tickable.h
r708 r729 52 52 53 53 //! The Tickable interface provides a tick(dt) function, that gets called every frame. 54 class Tickable : virtual public OrxonoxClass54 class _OrxonoxExport Tickable : virtual public OrxonoxClass 55 55 { 56 56 public: … … 67 67 Tickable() { RegisterRootObject(Tickable); } 68 68 }; 69 ExportAbstractClass(Tickable, Orxonox); 69 70 70 71 //! The TickFrameListener calls the tick(dt) function of all Tickables every frame. 71 class TickFrameListener : public Ogre::FrameListener72 class _OrxonoxExport TickFrameListener : public Ogre::FrameListener 72 73 { 73 74 private: -
code/branches/FICN/src/orxonox/objects/Timer.h
r708 r729 67 67 { 68 68 //! TimerBase is the parent of the Timer class. 69 class TimerBase : public OrxonoxClass69 class _OrxonoxExport TimerBase : public OrxonoxClass 70 70 { 71 71 friend class TimerFrameListener; … … 104 104 float time_; //!< Internal variable, counting the time till the next function-call 105 105 }; 106 ExportAbstractClass(TimerBase, Orxonox); 106 107 107 108 //! The Timer is a callback-object, calling a given function after a given time-interval. … … 157 158 T* object_; 158 159 }; 160 ExportAbstractClass(Timer<BaseObject>, Orxonox); 159 161 160 162 //! The TimerFrameListener manages all Timers in the game. -
code/branches/FICN/src/orxonox/objects/WorldEntity.h
r716 r729 17 17 namespace orxonox 18 18 { 19 class WorldEntity : public BaseObject, public Tickable, public network::Synchronisable19 class _OrxonoxExport WorldEntity : public BaseObject, public Tickable, public network::Synchronisable 20 20 { 21 21 public: … … 147 147 bool bStatic_; 148 148 }; 149 ExportClass(WorldEntity, Orxonox); 149 150 } 150 151 -
code/branches/FICN/src/orxonox/objects/weapon_system/AmmunitionDump.h
r715 r729 42 42 43 43 namespace orxonox { 44 class AmmunitionDump : public BaseObject, public network::Synchronisable44 class _OrxonoxExport AmmunitionDump : public BaseObject, public network::Synchronisable 45 45 { 46 46 public: … … 66 66 int *capacity_; 67 67 }; 68 ExportClass(AmmunitionDump, Orxonox); 68 69 } 69 70 -
code/branches/FICN/src/orxonox/objects/weapon_system/BarrelGun.h
r708 r729 38 38 39 39 namespace orxonox { 40 class BarrelGun : public BaseWeapon40 class _OrxonoxExport BarrelGun : public BaseWeapon 41 41 { 42 42 public: … … 60 60 61 61 }; 62 ExportClass(BarrelGun, Orxonox); 62 63 } 63 64 -
code/branches/FICN/src/orxonox/objects/weapon_system/BaseWeapon.h
r708 r729 38 38 39 39 namespace orxonox { 40 class BaseWeapon : public Model40 class _OrxonoxExport BaseWeapon : public Model 41 41 { 42 42 public: … … 122 122 123 123 }; 124 ExportAbstractClass(BaseWeapon, Orxonox); 124 125 } 125 126 -
code/branches/FICN/src/orxonox/objects/weapon_system/Bullet.h
r708 r729 37 37 38 38 namespace orxonox { 39 class Bullet : public Model39 class _OrxonoxExport Bullet : public Model 40 40 { 41 41 public: … … 47 47 inline virtual void loadParams(TiXmlElement* xmlElem) { Model::loadParams(xmlElem); }; 48 48 }; 49 ExportClass(Bullet, Orxonox); 49 50 } 50 51 -
code/branches/FICN/src/orxonox/objects/weapon_system/BulletManager.h
r715 r729 38 38 #include "network/Synchronisable.h" 39 39 #include "tinyxml/tinyxml.h" 40 //#include "../core/CoreIncludes.h"40 #include "../../core/CoreIncludes.h" 41 41 #include "../BaseObject.h" 42 42 #include "../Tickable.h" 43 43 44 44 namespace orxonox { 45 class BulletManager : public BaseObject, public network::Synchronisable, public Tickable45 class _OrxonoxExport BulletManager : public BaseObject, public network::Synchronisable, public Tickable 46 46 { 47 47 public: … … 67 67 int bulletsIndex_; 68 68 }; 69 ExportClass(BulletManager, Orxonox); 69 70 } 70 71 -
code/branches/FICN/src/orxonox/objects/weapon_system/WeaponStation.h
r708 r729 36 36 37 37 namespace orxonox { 38 class WeaponStation38 class _OrxonoxExport WeaponStation 39 39 { 40 40 public:
Note: See TracChangeset
for help on using the changeset viewer.