Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/physics/src/orxonox/CMakeLists.txt @ 2304

Last change on this file since 2304 was 2303, checked in by rgrieder, 16 years ago
  • Added support for attaching physical WorldEntities to each other. Currently you can only add static objects to kinematic/dynamic/static other objects. Future plans involve attaching kinematic objects to static/kinematic ones. All other combinations don't make sense at all.
  • Added CollisionShape, SphereCollisionShape and CompoundCollisionShape

Usage for collision shapes (example):

<LinearEntity collisionType="kinematic">

<attached>

<Model position="0,0,0" scale=10 mesh="ast1.mesh" />
<StaticEntity position="0,10,0" collisionType="static"> # Everything else than "static" fails!

<collisionShapes>

<SphereCollisionShape radius=40 position="10,10,-10"/>
<CompoundCollisionShape position="4,4,4"> # You can also make compound shapes directly

<SphereCollisionShape radius=10/>

</CompoundCollisionShape>

</collisionShapes>

</StaticEntity>

</attached>

</LinearEntity>

  • Property svn:eol-style set to native
File size: 4.1 KB
Line 
1SET( ORXONOX_SRC_FILES
2  CameraManager.cc
3  GraphicsEngine.cc
4  LevelManager.cc
5  Main.cc
6  Settings.cc
7
8  gamestates/GSClient.cc
9  gamestates/GSDedicated.cc
10  gamestates/GSGraphics.cc
11  gamestates/GSGUI.cc
12  gamestates/GSIOConsole.cc
13  gamestates/GSLevel.cc
14  gamestates/GSRoot.cc
15  gamestates/GSServer.cc
16  gamestates/GSStandalone.cc
17
18  gui/GUIManager.cc
19  gui/OgreCEGUIRenderer.cpp
20  gui/OgreCEGUIResourceProvider.cpp
21  gui/OgreCEGUITexture.cpp
22
23  overlays/OrxonoxOverlay.cc
24  overlays/OverlayGroup.cc
25  overlays/OverlayText.cc
26
27  overlays/console/InGameConsole.cc
28
29  overlays/debug/DebugFPSText.cc
30  overlays/debug/DebugRTRText.cc
31
32  overlays/hud/HUDBar.cc
33  overlays/hud/HUDNavigation.cc
34  overlays/hud/HUDRadar.cc
35  overlays/hud/HUDSpeedBar.cc
36  overlays/hud/ChatOverlay.cc
37
38  tools/BillboardSet.cc
39  tools/Mesh.cc
40  tools/ParticleInterface.cc
41  tools/TextureGenerator.cc
42  tools/Timer.cc
43  tools/WindowEventListener.cc
44
45  objects/EventListener.cc
46  objects/EventDispatcher.cc
47  objects/EventTarget.cc
48  objects/HelloBullet.cc
49  objects/Radar.cc
50  objects/RadarListener.cc
51  objects/RadarViewable.cc
52  objects/Tickable.cc
53  objects/Test.cc
54  objects/Script.cc
55
56  objects/Scene.cc
57  objects/worldentities/WorldEntity.cc
58  objects/worldentities/StaticEntity.cc
59  objects/worldentities/MovableEntity.cc
60  objects/worldentities/LinearEntity.cc
61  objects/worldentities/ControllableEntity.cc
62  objects/worldentities/Model.cc
63  objects/worldentities/Billboard.cc
64  objects/worldentities/BlinkingBillboard.cc
65  objects/worldentities/Light.cc
66  objects/worldentities/Camera.cc
67  objects/worldentities/CameraPosition.cc
68  objects/worldentities/SpawnPoint.cc
69  objects/worldentities/ParticleEmitter.cc
70  objects/worldentities/ParticleSpawner.cc
71#  objects/worldentities/Backlight.cc
72
73  objects/worldentities/collisionshapes/CollisionShape.cc
74  objects/worldentities/collisionshapes/CompoundCollisionShape.cc
75  objects/worldentities/collisionshapes/SphereCollisionShape.cc
76 
77  objects/quest/AddQuest.cc
78  objects/quest/AddQuestHint.cc
79  objects/quest/AddReward.cc
80  objects/quest/ChangeQuestStatus.cc
81  objects/quest/CompleteQuest.cc
82  objects/quest/FailQuest.cc
83  objects/quest/GlobalQuest.cc
84  objects/quest/LocalQuest.cc
85  objects/quest/Quest.cc
86  objects/quest/QuestDescription.cc
87  objects/quest/QuestEffect.cc
88  objects/quest/QuestHint.cc
89  objects/quest/QuestItem.cc
90  objects/quest/QuestManager.cc
91  objects/quest/Rewardable.cc
92
93  objects/weaponSystem/WeaponSystem.cc
94  objects/weaponSystem/WeaponSet.cc
95  objects/weaponSystem/WeaponSlot.cc
96  objects/weaponSystem/Weapon.cc
97  objects/weaponSystem/Munition.cc
98
99  objects/worldentities/triggers/Trigger.cc
100  objects/worldentities/triggers/DistanceTrigger.cc
101  objects/worldentities/triggers/EventTrigger.cc
102
103  objects/worldentities/pawns/Spectator.cc
104  objects/worldentities/pawns/Pawn.cc
105  objects/worldentities/pawns/SpaceShip.cc
106
107  objects/controllers/Controller.cc
108  objects/controllers/HumanController.cc
109
110  objects/infos/Info.cc
111  objects/infos/Level.cc
112  objects/infos/PlayerInfo.cc
113  objects/infos/HumanPlayer.cc
114
115  objects/gametypes/Gametype.cc
116
117  tolua/tolua_bind.cc
118)
119
120GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
121ADD_CUSTOM_COMMAND(
122  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
123  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
124  DEPENDS
125    tolua_orxonox
126    tolua/tolua.pkg
127    gui/GUIManager.h
128  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
129)
130
131
132ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
133
134IF(NETWORKTRAFFIC_TESTING_ENABLED)
135
136  SET( ORXONOXS_SRC_FILES
137    GraphicsEngine.cc
138    objects/Camera.cc
139    CameraManager.cc
140  )
141
142  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
143ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
144
145TARGET_LINK_LIBRARIES( orxonox
146  ${OGRE_LIBRARIES}
147  ${CEGUI_LIBRARIES}
148  lua_orxonox
149  ceguilua_orxonox
150  tinyxml_orxonox
151  tolualib_orxonox
152#LibBulletSoftBody
153  LibBulletDynamics
154  LibBulletCollision
155  LibLinearMath
156#ogrebullet_collisions_orxonox
157#ogrebullet_dynamics_orxonox
158  util
159  core
160  audio
161  network
162)
163
Note: See TracBrowser for help on using the repository browser.