Changeset 5724 for code/branches/libraries2/src/modules/weapons
- Timestamp:
- Aug 31, 2009, 6:08:26 PM (15 years ago)
- Location:
- code/branches/libraries2/src/modules/weapons
- Files:
-
- 22 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries2/src/modules/weapons/CMakeLists.txt
r5723 r5724 1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES 2 Munition.cc 3 Weapon.cc 4 WeaponMode.cc 5 WeaponPack.cc 6 WeaponSet.cc 7 WeaponSlot.cc 8 WeaponSystem.cc 9 DefaultWeaponmodeLink.cc 10 ) 11 12 SET_SOURCE_FILES(WEAPONSYSTEM_SRC_FILES 1 SET_SOURCE_FILES(WEAPONS_SRC_FILES 13 2 MuzzleFlash.cc 14 3 ) … … 18 7 ADD_SUBDIRECTORY(weaponmodes) 19 8 20 ORXONOX_ADD_LIBRARY(weapons ystem9 ORXONOX_ADD_LIBRARY(weapons 21 10 MODULE 22 11 DEFINE_SYMBOL 23 "WEAPONS YSTEM_SHARED_BUILD"12 "WEAPONS_SHARED_BUILD" 24 13 LINK_LIBRARIES 25 14 orxonox 26 SOURCE_FILES ${WEAPONS YSTEM_SRC_FILES}15 SOURCE_FILES ${WEAPONS_SRC_FILES} 27 16 ) -
code/branches/libraries2/src/modules/weapons/MuzzleFlash.h
r5723 r5724 30 30 #define _MuzzleFlash_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include "tools/Timer.h" … … 37 37 namespace orxonox 38 38 { 39 class _Weapons ystemExport MuzzleFlash : public Billboard39 class _WeaponsExport MuzzleFlash : public Billboard 40 40 { 41 41 public: -
code/branches/libraries2/src/modules/weapons/WeaponsPrereqs.h
r5722 r5724 32 32 */ 33 33 34 #ifndef _Weapons ystemPrereqs_H__35 #define _Weapons ystemPrereqs_H__34 #ifndef _WeaponsPrereqs_H__ 35 #define _WeaponsPrereqs_H__ 36 36 37 37 #include "OrxonoxConfig.h" … … 43 43 //----------------------------------------------------------------------- 44 44 #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) 45 # ifdef WEAPONS YSTEM_SHARED_BUILD46 # define _Weapons ystemExport __declspec(dllexport)45 # ifdef WEAPONS_SHARED_BUILD 46 # define _WeaponsExport __declspec(dllexport) 47 47 # else 48 48 # if defined( __MINGW32__ ) 49 # define _Weapons ystemExport49 # define _WeaponsExport 50 50 # else 51 # define _Weapons ystemExport __declspec(dllimport)51 # define _WeaponsExport __declspec(dllimport) 52 52 # endif 53 53 # endif 54 54 #elif defined ( ORXONOX_GCC_VISIBILITY ) 55 # define _Weapons ystemExport __attribute__ ((visibility("default")))55 # define _WeaponsExport __attribute__ ((visibility("default"))) 56 56 #else 57 # define _Weapons ystemExport57 # define _WeaponsExport 58 58 #endif 59 59 … … 82 82 } 83 83 84 #endif /* _Weapons ystemPrereqs_H__ */84 #endif /* _WeaponsPrereqs_H__ */ -
code/branches/libraries2/src/modules/weapons/munitions/CMakeLists.txt
r5693 r5724 1 ADD_SOURCE_FILES(WEAPONS YSTEM_SRC_FILES1 ADD_SOURCE_FILES(WEAPONS_SRC_FILES 2 2 ReplenishingMunition.cc 3 3 LaserMunition.cc -
code/branches/libraries2/src/modules/weapons/munitions/FusionMunition.h
r5693 r5724 30 30 #define _FusionMunition_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 #include "objects/weaponsystem/Munition.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _Weapons ystemExport FusionMunition : public Munition37 class _WeaponsExport FusionMunition : public Munition 38 38 { 39 39 public: -
code/branches/libraries2/src/modules/weapons/munitions/LaserMunition.h
r5693 r5724 30 30 #define _LaserMunition_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 #include "ReplenishingMunition.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _Weapons ystemExport LaserMunition : public ReplenishingMunition37 class _WeaponsExport LaserMunition : public ReplenishingMunition 38 38 { 39 39 public: -
code/branches/libraries2/src/modules/weapons/munitions/ReplenishingMunition.h
r5693 r5724 30 30 #define _ReplenishingMunition_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include "tools/Timer.h" … … 37 37 namespace orxonox 38 38 { 39 class _Weapons ystemExport ReplenishingMunition : public Munition39 class _WeaponsExport ReplenishingMunition : public Munition 40 40 { 41 41 public: -
code/branches/libraries2/src/modules/weapons/projectiles/BillboardProjectile.h
r5693 r5724 30 30 #define _BillboardProjectile_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include "util/Math.h" … … 38 38 namespace orxonox 39 39 { 40 class _Weapons ystemExport BillboardProjectile : public Projectile40 class _WeaponsExport BillboardProjectile : public Projectile 41 41 { 42 42 public: -
code/branches/libraries2/src/modules/weapons/projectiles/CMakeLists.txt
r5693 r5724 1 ADD_SOURCE_FILES(WEAPONS YSTEM_SRC_FILES1 ADD_SOURCE_FILES(WEAPONS_SRC_FILES 2 2 BillboardProjectile.cc 3 3 ParticleProjectile.cc -
code/branches/libraries2/src/modules/weapons/projectiles/LightningGunProjectile.h
r5693 r5724 30 30 #define _LightningGunProjectile_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include <string> … … 38 38 namespace orxonox 39 39 { 40 class _Weapons ystemExport LightningGunProjectile : public BillboardProjectile40 class _WeaponsExport LightningGunProjectile : public BillboardProjectile 41 41 { 42 42 public: -
code/branches/libraries2/src/modules/weapons/projectiles/ParticleProjectile.h
r5693 r5724 30 30 #define _ParticleProjectile_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 #include "BillboardProjectile.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _Weapons ystemExport ParticleProjectile : public BillboardProjectile37 class _WeaponsExport ParticleProjectile : public BillboardProjectile 38 38 { 39 39 public: -
code/branches/libraries2/src/modules/weapons/projectiles/Projectile.h
r5693 r5724 30 30 #define _Projectile_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include "tools/Timer.h" … … 38 38 namespace orxonox 39 39 { 40 class _Weapons ystemExport Projectile : public MovableEntity, public PawnListener40 class _WeaponsExport Projectile : public MovableEntity, public PawnListener 41 41 { 42 42 public: -
code/branches/libraries2/src/modules/weapons/weaponmodes/CMakeLists.txt
r5693 r5724 1 ADD_SOURCE_FILES(WEAPONS YSTEM_SRC_FILES1 ADD_SOURCE_FILES(WEAPONS_SRC_FILES 2 2 EnergyDrink.cc 3 3 FusionFire.cc -
code/branches/libraries2/src/modules/weapons/weaponmodes/EnergyDrink.cc
r3196 r5724 34 34 #include "objects/worldentities/Model.h" 35 35 36 #include " objects/weaponsystem/projectiles/Projectile.h"37 #include " objects/weaponsystem/MuzzleFlash.h"36 #include "weapons/projectiles/Projectile.h" 37 #include "weapons/MuzzleFlash.h" 38 38 #include "objects/weaponsystem/Weapon.h" 39 39 #include "objects/weaponsystem/WeaponPack.h" -
code/branches/libraries2/src/modules/weapons/weaponmodes/EnergyDrink.h
r5693 r5724 30 30 #define _EnergyDrink_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include <string> … … 38 38 namespace orxonox 39 39 { 40 class _Weapons ystemExport EnergyDrink : public WeaponMode40 class _WeaponsExport EnergyDrink : public WeaponMode 41 41 { 42 42 public: -
code/branches/libraries2/src/modules/weapons/weaponmodes/FusionFire.cc
r3196 r5724 31 31 #include "util/Math.h" 32 32 #include "core/CoreIncludes.h" 33 #include " objects/weaponsystem/projectiles/BillboardProjectile.h"33 #include "weapons/projectiles/BillboardProjectile.h" 34 34 35 35 #include "objects/weaponsystem/Weapon.h" -
code/branches/libraries2/src/modules/weapons/weaponmodes/FusionFire.h
r5693 r5724 30 30 #define _FusionFire_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 #include "objects/weaponsystem/WeaponMode.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _Weapons ystemExport FusionFire : public WeaponMode37 class _WeaponsExport FusionFire : public WeaponMode 38 38 { 39 39 public: -
code/branches/libraries2/src/modules/weapons/weaponmodes/HsW01.cc
r3196 r5724 34 34 #include "objects/worldentities/Model.h" 35 35 36 #include " objects/weaponsystem/projectiles/Projectile.h"37 #include " objects/weaponsystem/MuzzleFlash.h"36 #include "weapons/projectiles/Projectile.h" 37 #include "weapons/MuzzleFlash.h" 38 38 #include "objects/weaponsystem/Weapon.h" 39 39 #include "objects/weaponsystem/WeaponPack.h" -
code/branches/libraries2/src/modules/weapons/weaponmodes/HsW01.h
r5693 r5724 30 30 #define _HsW01_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 34 34 #include "tools/Timer.h" … … 37 37 namespace orxonox 38 38 { 39 class _Weapons ystemExport HsW01 : public WeaponMode39 class _WeaponsExport HsW01 : public WeaponMode 40 40 { 41 41 public: -
code/branches/libraries2/src/modules/weapons/weaponmodes/LaserFire.cc
r3196 r5724 30 30 31 31 #include "core/CoreIncludes.h" 32 #include " objects/weaponsystem/projectiles/ParticleProjectile.h"32 #include "weapons/projectiles/ParticleProjectile.h" 33 33 #include "objects/weaponsystem/Weapon.h" 34 34 #include "objects/weaponsystem/WeaponPack.h" -
code/branches/libraries2/src/modules/weapons/weaponmodes/LaserFire.h
r5693 r5724 30 30 #define _LaserFire_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 #include "objects/weaponsystem/WeaponMode.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _Weapons ystemExport LaserFire : public WeaponMode37 class _WeaponsExport LaserFire : public WeaponMode 38 38 { 39 39 public: -
code/branches/libraries2/src/modules/weapons/weaponmodes/LightningGun.cc
r3196 r5724 30 30 31 31 #include "core/CoreIncludes.h" 32 #include " objects/weaponsystem/projectiles/LightningGunProjectile.h"32 #include "weapons/projectiles/LightningGunProjectile.h" 33 33 #include "objects/weaponsystem/Weapon.h" 34 34 #include "objects/weaponsystem/WeaponPack.h" -
code/branches/libraries2/src/modules/weapons/weaponmodes/LightningGun.h
r5693 r5724 30 30 #define _LightningGun_H__ 31 31 32 #include " objects/weaponsystem/WeaponsystemPrereqs.h"32 #include "weapons/WeaponsPrereqs.h" 33 33 #include "objects/weaponsystem/WeaponMode.h" 34 34 35 35 namespace orxonox 36 36 { 37 class _Weapons ystemExport LightningGun : public WeaponMode37 class _WeaponsExport LightningGun : public WeaponMode 38 38 { 39 39 public:
Note: See TracChangeset
for help on using the changeset viewer.