Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/orxonox/CMakeLists.txt @ 2168

Last change on this file since 2168 was 2168, checked in by landauf, 15 years ago

Split up LevelManager into LevelManager and PlayerManager where LevelManager handles all levels and is only active on the server, while PlayerManager handles client connections and passes new players to the LevelManager (if running on a server). If running on a client, PlayerManager just maps PlayerInfos with clientIDs.

Also added a small hack in Level.cc to show the ChatOverlay on clients.

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1SET( ORXONOX_SRC_FILES
2  CameraManager.cc
3  GraphicsEngine.cc
4  LevelManager.cc
5  Main.cc
6  PlayerManager.cc
7  Settings.cc
8
9  gamestates/GSClient.cc
10  gamestates/GSDedicated.cc
11  gamestates/GSGraphics.cc
12  gamestates/GSGUI.cc
13  gamestates/GSIOConsole.cc
14  gamestates/GSLevel.cc
15  gamestates/GSRoot.cc
16  gamestates/GSServer.cc
17  gamestates/GSStandalone.cc
18
19  gui/GUIManager.cc
20  gui/OgreCEGUIRenderer.cpp
21  gui/OgreCEGUIResourceProvider.cpp
22  gui/OgreCEGUITexture.cpp
23
24  overlays/OrxonoxOverlay.cc
25  overlays/OverlayGroup.cc
26  overlays/OverlayText.cc
27
28  overlays/console/InGameConsole.cc
29
30  overlays/debug/DebugFPSText.cc
31  overlays/debug/DebugRTRText.cc
32
33  overlays/hud/HUDBar.cc
34  overlays/hud/HUDNavigation.cc
35  overlays/hud/HUDRadar.cc
36  overlays/hud/HUDSpeedBar.cc
37  overlays/hud/ChatOverlay.cc
38
39  tools/BillboardSet.cc
40  tools/Mesh.cc
41  tools/ParticleInterface.cc
42  tools/TextureGenerator.cc
43  tools/Timer.cc
44  tools/WindowEventListener.cc
45
46  objects/EventListener.cc
47  objects/EventDispatcher.cc
48  objects/EventTarget.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/PositionableEntity.cc
59  objects/worldentities/MovableEntity.cc
60  objects/worldentities/ControllableEntity.cc
61  objects/worldentities/Model.cc
62  objects/worldentities/Billboard.cc
63  objects/worldentities/BlinkingBillboard.cc
64  objects/worldentities/Light.cc
65  objects/worldentities/Camera.cc
66  objects/worldentities/CameraPosition.cc
67  objects/worldentities/SpawnPoint.cc
68  objects/worldentities/ParticleEmitter.cc
69  objects/worldentities/ParticleSpawner.cc
70#  objects/worldentities/Backlight.cc
71
72  objects/worldentities/triggers/Trigger.cc
73  objects/worldentities/triggers/DistanceTrigger.cc
74  objects/worldentities/triggers/EventTrigger.cc
75
76  objects/worldentities/pawns/Spectator.cc
77  objects/worldentities/pawns/Pawn.cc
78  objects/worldentities/pawns/SpaceShip.cc
79
80  objects/controllers/Controller.cc
81  objects/controllers/HumanController.cc
82
83  objects/infos/Info.cc
84  objects/infos/Level.cc
85  objects/infos/PlayerInfo.cc
86  objects/infos/HumanPlayer.cc
87
88  objects/gametypes/Gametype.cc
89
90  tolua/tolua_bind.cc
91)
92
93GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
94ADD_CUSTOM_COMMAND(
95  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
96  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
97  DEPENDS
98    tolua_orxonox
99    tolua/tolua.pkg
100    gui/GUIManager.h
101  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
102)
103
104
105ADD_EXECUTABLE( orxonox ${ORXONOX_SRC_FILES} )
106
107IF(NETWORKTRAFFIC_TESTING_ENABLED)
108
109  SET( ORXONOXS_SRC_FILES
110    GraphicsEngine.cc
111    objects/Camera.cc
112    CameraManager.cc
113  )
114
115  ADD_LIBRARY(orxonoxs SHARED ${ORXONOX_SRC_FILES})
116ENDIF(NETWORKTRAFFIC_TESTING_ENABLED)
117
118TARGET_LINK_LIBRARIES( orxonox
119  ${OGRE_LIBRARIES}
120  ${CEGUI_LIBRARIES}
121  lua_orxonox
122  ceguilua_orxonox
123  tinyxml_orxonox
124  tolualib_orxonox
125  util
126  core
127  audio
128  network
129)
130
Note: See TracBrowser for help on using the repository browser.