Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2300 was 2300, checked in by rgrieder, 15 years ago

Still getting physics and its implications straight:

  • Removed PositionableEntity —> StaticEntity is now the way to go. They cannot be translated in any way during physics simulation. The trick will be to remove them and add them again to Bullet. This however is not yet implemented.
  • Forgot a few consts in WorldEntity
  • Fixed a bug with infinite masses
  • WE throws exception if you try to apply physics when the SceneNode is not in the root space of the Scene.
  • Moved velocity_ to MovableEntity
  • Outside world reference of WE/ME are now always the non-physical values. getPosition() will always return node_→getPosition() and when setting it, both RigidBody and SceneNode are translated. This accounts for velocity, orientation and position.
  • Property svn:eol-style set to native
File size: 3.9 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/quest/AddQuest.cc
74  objects/quest/AddQuestHint.cc
75  objects/quest/AddReward.cc
76  objects/quest/ChangeQuestStatus.cc
77  objects/quest/CompleteQuest.cc
78  objects/quest/FailQuest.cc
79  objects/quest/GlobalQuest.cc
80  objects/quest/LocalQuest.cc
81  objects/quest/Quest.cc
82  objects/quest/QuestDescription.cc
83  objects/quest/QuestEffect.cc
84  objects/quest/QuestHint.cc
85  objects/quest/QuestItem.cc
86  objects/quest/QuestManager.cc
87  objects/quest/Rewardable.cc
88
89  objects/weaponSystem/WeaponSystem.cc
90  objects/weaponSystem/WeaponSet.cc
91  objects/weaponSystem/WeaponSlot.cc
92  objects/weaponSystem/Weapon.cc
93  objects/weaponSystem/Munition.cc
94
95  objects/worldentities/triggers/Trigger.cc
96  objects/worldentities/triggers/DistanceTrigger.cc
97  objects/worldentities/triggers/EventTrigger.cc
98
99  objects/worldentities/pawns/Spectator.cc
100  objects/worldentities/pawns/Pawn.cc
101  objects/worldentities/pawns/SpaceShip.cc
102
103  objects/controllers/Controller.cc
104  objects/controllers/HumanController.cc
105
106  objects/infos/Info.cc
107  objects/infos/Level.cc
108  objects/infos/PlayerInfo.cc
109  objects/infos/HumanPlayer.cc
110
111  objects/gametypes/Gametype.cc
112
113  tolua/tolua_bind.cc
114)
115
116GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
117ADD_CUSTOM_COMMAND(
118  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
119  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
120  DEPENDS
121    tolua_orxonox
122    tolua/tolua.pkg
123    gui/GUIManager.h
124  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
125)
126
127
128ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
129
130IF(NETWORKTRAFFIC_TESTING_ENABLED)
131
132  SET( ORXONOXS_SRC_FILES
133    GraphicsEngine.cc
134    objects/Camera.cc
135    CameraManager.cc
136  )
137
138  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
139ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
140
141TARGET_LINK_LIBRARIES( orxonox
142  ${OGRE_LIBRARIES}
143  ${CEGUI_LIBRARIES}
144  lua_orxonox
145  ceguilua_orxonox
146  tinyxml_orxonox
147  tolualib_orxonox
148#LibBulletSoftBody
149  LibBulletDynamics
150  LibBulletCollision
151  LibLinearMath
152#ogrebullet_collisions_orxonox
153#ogrebullet_dynamics_orxonox
154  util
155  core
156  audio
157  network
158)
159
Note: See TracBrowser for help on using the repository browser.