Changeset 768 for code/branches/FICN/src/orxonox
- Timestamp:
- Dec 31, 2007, 4:25:06 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox
- Files:
-
- 5 deleted
- 12 edited
- 13 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/CMakeLists.txt
r752 r768 1 PROJECT(Orxonox)2 3 ADD_SUBDIRECTORY(core)4 ADD_SUBDIRECTORY(hud)5 IF(NOT WIN32)6 ADD_SUBDIRECTORY(objects)7 ADD_SUBDIRECTORY(tools)8 ENDIF(NOT WIN32)9 ADD_SUBDIRECTORY(particle)10 11 INCLUDE_DIRECTORIES(tools)12 13 1 SET( ORXONOX_SRC_FILES 2 GraphicsEngine.cc 3 Main.cc 14 4 Orxonox.cc 15 5 SpaceshipSteering.cc 16 Main.cc 17 GraphicsEngine.cc 6 hud/HUD.cc 7 particle/ParticleInterface.cc 8 tools/BillboardSet.cc 9 tools/Light.cc 10 tools/Mesh.cc 11 objects/Ambient.cc 12 objects/Camera.cc 13 objects/Explosion.cc 14 objects/Fighter.cc 15 objects/Model.cc 16 objects/NPC.cc 17 objects/Projectile.cc 18 objects/Skybox.cc 19 objects/SpaceShip.cc 20 # objects/SpaceshipSteeringObject.cc 21 # objects/test1.cc 22 # objects/test2.cc 23 # objects/test3.cc 24 objects/WorldEntity.cc 25 objects/weapon/AmmunitionDump.cc 26 objects/weapon/BarrelGun.cc 27 objects/weapon/BaseWeapon.cc 28 objects/weapon/Bullet.cc 29 objects/weapon/BulletManager.cc 30 objects/weapon/WeaponStation.cc 18 31 ) 19 32 20 IF(WIN32) 21 SET( OBJECTS_SRC_FILES 22 objects/WorldEntity.cc 23 objects/test1.cc 24 objects/test2.cc 25 objects/test3.cc 26 objects/Ambient.cc 27 objects/Skybox.cc 28 objects/Camera.cc 29 # objects/SpaceshipSteeringObject.cc 30 objects/Fighter.cc 31 objects/Model.cc 32 objects/SpaceShip.cc 33 objects/NPC.cc 34 objects/Projectile.cc 35 objects/weapon_system/AmmunitionDump.cc 36 objects/weapon_system/BarrelGun.cc 37 objects/weapon_system/BaseWeapon.cc 38 objects/weapon_system/Bullet.cc 39 objects/weapon_system/BulletManager.cc 40 objects/weapon_system/WeaponStation.cc 41 objects/Explosion.cc 42 tools/BillboardSet.cc 43 tools/Light.cc 44 tools/Mesh.cc 45 ) 46 ELSE(WIN32) 47 SET(LINK_OBJECTS_LIBRARY objects) 48 SET(LINK_TOOLS_LIBRARY tools) 49 ENDIF(WIN32) 33 ADD_EXECUTABLE( main ${ORXONOX_SRC_FILES} ) 50 34 51 IF(WIN32) 52 # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) 53 ELSE(WIN32) 54 ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) 55 ENDIF(WIN32) 35 SET_TARGET_PROPERTIES( main PROPERTIES LINK_FLAGS "--no-undefined" ) 56 36 57 ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) 58 59 SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) 60 61 TARGET_LINK_LIBRARIES( ../../bin/main 37 TARGET_LINK_LIBRARIES( main 62 38 ${OGRE_LIBRARIES} 63 39 ${OIS_LIBRARIES} 64 loader 40 util 41 core 65 42 audio 66 43 network 67 core 68 hud 69 ${LINK_OBJECTS_LIBRARY} 70 ${LINK_TOOLS_LIBRARY} 71 util 72 particle 44 loader 73 45 ) 74 46 -
code/branches/FICN/src/orxonox/Orxonox.cc
r748 r768 70 70 #include "core/Debug.h" 71 71 #include "hud/HUD.h" 72 #include "objects/weapon _system/BulletManager.h"72 #include "objects/weapon/BulletManager.h" 73 73 #include "GraphicsEngine.h" 74 74 -
code/branches/FICN/src/orxonox/OrxonoxPlatform.h
r729 r768 211 211 212 212 // disable: "conversion from 'double' to 'float', possible loss of data 213 //# pragma warning (disable : 4244) 213 # pragma warning (disable : 4244) 214 215 // disable: "conversion from 'size_t' to 'unsigned int', possible loss of data 216 # pragma warning (disable : 4267) 214 217 215 218 // disable: "truncation from 'double' to 'float' -
code/branches/FICN/src/orxonox/SpaceshipSteering.cc
r742 r768 104 104 if(speedRotateUpDown_ < 0) 105 105 speedRotateUpDown_ += accelerationRotateUpDown_*time; 106 if( abs(speedRotateUpDown_)<accelerationRotateUpDown_*time)106 if(fabsf(speedRotateUpDown_)<accelerationRotateUpDown_*time) 107 107 speedRotateUpDown_ = 0; 108 108 } … … 128 128 if(speedRotateRightLeft_ < 0) 129 129 speedRotateRightLeft_ += accelerationRotateRightLeft_*time; 130 if( abs(speedRotateRightLeft_)<accelerationRotateRightLeft_*time)130 if(fabsf(speedRotateRightLeft_)<accelerationRotateRightLeft_*time) 131 131 speedRotateRightLeft_ = 0; 132 132 } … … 152 152 if(speedLoopRightLeft_ < 0) 153 153 speedLoopRightLeft_ += accelerationLoopRightLeft_*time; 154 if( abs(speedLoopRightLeft_)<accelerationLoopRightLeft_*time)154 if(fabsf(speedLoopRightLeft_)<accelerationLoopRightLeft_*time) 155 155 speedLoopRightLeft_ = 0; 156 156 } -
code/branches/FICN/src/orxonox/core/CMakeLists.txt
r733 r768 1 PROJECT(Orxonox)2 3 1 SET( CORE_SRC_FILES 4 2 BaseObject.cc … … 17 15 ) 18 16 19 IF(WIN32) 20 ADD_LIBRARY(core SHARED ${CORE_SRC_FILES}) 21 ELSE(WIN32) 22 ADD_LIBRARY(core SHARED ${CORE_SRC_FILES}) 23 ENDIF(WIN32) 17 ADD_LIBRARY( core SHARED ${CORE_SRC_FILES}) 18 SET_TARGET_PROPERTIES( core PROPERTIES LINK_FLAGS "--no-undefined" ) 19 20 TARGET_LINK_LIBRARIES( core 21 util 22 ) -
code/branches/FICN/src/orxonox/objects/Explosion.h
r729 r768 5 5 6 6 #include "WorldEntity.h" 7 #include " Timer.h"7 #include "../tools/Timer.h" 8 8 9 9 namespace orxonox -
code/branches/FICN/src/orxonox/objects/Fighter.cc
r742 r768 38 38 #include "../Orxonox.h" 39 39 #include "../particle/ParticleInterface.h" 40 #include "weapon _system/AmmunitionDump.h"41 #include "weapon _system/BarrelGun.h"40 #include "weapon/AmmunitionDump.h" 41 #include "weapon/BarrelGun.h" 42 42 43 43 #include "Fighter.h" -
code/branches/FICN/src/orxonox/objects/Model.h
r729 r768 5 5 6 6 #include "WorldEntity.h" 7 #include " Mesh.h"7 #include "../tools/Mesh.h" 8 8 9 9 class TiXmlElement; // Forward declaration -
code/branches/FICN/src/orxonox/objects/Projectile.h
r729 r768 5 5 6 6 #include "WorldEntity.h" 7 #include " BillboardSet.h"8 #include " Timer.h"7 #include "../tools/BillboardSet.h" 8 #include "../tools/Timer.h" 9 9 10 10 namespace orxonox -
code/branches/FICN/src/orxonox/objects/SpaceShip.h
r736 r768 8 8 9 9 #include "Model.h" 10 #include " BillboardSet.h"10 #include "../tools/BillboardSet.h" 11 11 12 12 class TiXmlElement; // Forward declaration -
code/branches/FICN/src/orxonox/objects/WorldEntity.h
r742 r768 13 13 #include "orxonox/core/BaseObject.h" 14 14 #include "Tickable.h" 15 #include " Mesh.h"15 #include "../tools/Mesh.h" 16 16 17 17 namespace orxonox -
code/branches/FICN/src/orxonox/objects/test2.h
r734 r768 3 3 4 4 #include "orxonox/core/BaseObject.h" 5 #include " Timer.h"5 #include "../tools/Timer.h" 6 6 7 7 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.