1 | /* |
---|
2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
3 | * > www.orxonox.net < |
---|
4 | * |
---|
5 | * |
---|
6 | * License notice: |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License |
---|
10 | * as published by the Free Software Foundation; either version 2 |
---|
11 | * of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
21 | * |
---|
22 | * Author: |
---|
23 | * Reto Grieder |
---|
24 | * Co-authors: |
---|
25 | * ... |
---|
26 | * |
---|
27 | */ |
---|
28 | |
---|
29 | /** |
---|
30 | @file |
---|
31 | @brief Contains all the necessary forward declarations for all classes and structs. |
---|
32 | */ |
---|
33 | |
---|
34 | #ifndef _OrxonoxPrereqs_H__ |
---|
35 | #define _OrxonoxPrereqs_H__ |
---|
36 | |
---|
37 | #include "OrxonoxConfig.h" |
---|
38 | |
---|
39 | //----------------------------------------------------------------------- |
---|
40 | // Shared library settings |
---|
41 | //----------------------------------------------------------------------- |
---|
42 | #define ORXONOX_NO_EXPORTS // This is an executable that needs no exports |
---|
43 | #if defined(ORXONOX_PLATFORM_WINDOWS) && !(defined(ORXONOX_STATIC_BUILD) || defined(ORXONOX_NO_EXPORTS)) |
---|
44 | # ifdef ORXONOX_SHARED_BUILD |
---|
45 | # define _OrxonoxExport __declspec(dllexport) |
---|
46 | # else |
---|
47 | # if defined( __MINGW32__ ) |
---|
48 | # define _OrxonoxExport |
---|
49 | # else |
---|
50 | # define _OrxonoxExport __declspec(dllimport) |
---|
51 | # endif |
---|
52 | # endif |
---|
53 | #elif defined ( ORXONOX_GCC_VISIBILITY ) |
---|
54 | # define _OrxonoxExport __attribute__ ((visibility("default"))) |
---|
55 | #else |
---|
56 | # define _OrxonoxExport |
---|
57 | #endif |
---|
58 | |
---|
59 | //----------------------------------------------------------------------- |
---|
60 | // Forward declarations |
---|
61 | //----------------------------------------------------------------------- |
---|
62 | |
---|
63 | namespace orxonox |
---|
64 | { |
---|
65 | namespace LODParticle |
---|
66 | { |
---|
67 | enum LOD |
---|
68 | { |
---|
69 | off = 0, |
---|
70 | low = 1, |
---|
71 | normal = 2, |
---|
72 | high = 3 |
---|
73 | }; |
---|
74 | } |
---|
75 | |
---|
76 | //put here all existing munitionTypes |
---|
77 | namespace MunitionType |
---|
78 | { |
---|
79 | |
---|
80 | |
---|
81 | |
---|
82 | enum Enum |
---|
83 | { laserGunMunition }; |
---|
84 | } |
---|
85 | |
---|
86 | //put here all weapon fire modes. |
---|
87 | //they have to be added to Pawn and HumanController, too. |
---|
88 | namespace WeaponMode |
---|
89 | { |
---|
90 | enum Enum |
---|
91 | { |
---|
92 | fire = 0x1, |
---|
93 | altFire = 0x2, |
---|
94 | altFire2 = 0x4 |
---|
95 | }; |
---|
96 | } |
---|
97 | |
---|
98 | |
---|
99 | class GraphicsEngine; |
---|
100 | class Settings; |
---|
101 | |
---|
102 | class RadarViewable; |
---|
103 | class Radar; |
---|
104 | class RadarListener; |
---|
105 | |
---|
106 | class Teamcolourable; |
---|
107 | |
---|
108 | class CameraManager; |
---|
109 | class LevelManager; |
---|
110 | class PawnManager; |
---|
111 | class PlayerManager; |
---|
112 | |
---|
113 | // objects |
---|
114 | class Level; |
---|
115 | class Scene; |
---|
116 | |
---|
117 | class AddQuest; |
---|
118 | class AddQuestHint; |
---|
119 | class AddReward; |
---|
120 | class ChangeQuestStatus; |
---|
121 | class CompleteQuest; |
---|
122 | class FailQuest; |
---|
123 | class GlobalQuest; |
---|
124 | class LocalQuest; |
---|
125 | class Quest; |
---|
126 | class QuestDescription; |
---|
127 | class QuestEffect; |
---|
128 | class QuestEffectBeacon; |
---|
129 | class QuestHint; |
---|
130 | class QuestItem; |
---|
131 | class QuestListener; |
---|
132 | class QuestManager; |
---|
133 | class Rewardable; |
---|
134 | |
---|
135 | class WorldEntity; |
---|
136 | class StaticEntity; |
---|
137 | class MobileEntity; |
---|
138 | class ControllableEntity; |
---|
139 | class MovableEntity; |
---|
140 | class Sublevel; |
---|
141 | |
---|
142 | class Model; |
---|
143 | class Billboard; |
---|
144 | class BlinkingBillboard; |
---|
145 | class ExplosionChunk; |
---|
146 | class FadingBillboard; |
---|
147 | class GlobalShader; |
---|
148 | class Light; |
---|
149 | class Backlight; |
---|
150 | class ParticleEmitter; |
---|
151 | class ParticleSpawner; |
---|
152 | |
---|
153 | class PongCenterpoint; |
---|
154 | class PongBall; |
---|
155 | class PongBat; |
---|
156 | |
---|
157 | class Camera; |
---|
158 | class CameraPosition; |
---|
159 | class SpawnPoint; |
---|
160 | class TeamSpawnPoint; |
---|
161 | |
---|
162 | class Spectator; |
---|
163 | class Pawn; |
---|
164 | class SpaceShip; |
---|
165 | |
---|
166 | class Item; |
---|
167 | class Engine; |
---|
168 | class MultiStateEngine; |
---|
169 | class RotatingEngine; |
---|
170 | |
---|
171 | class Trigger; |
---|
172 | class DistanceTrigger; |
---|
173 | class EventTrigger; |
---|
174 | class PlayerTrigger; |
---|
175 | |
---|
176 | class WeaponSystem; |
---|
177 | class WeaponSet; |
---|
178 | class WeaponSlot; |
---|
179 | class WeaponPack; |
---|
180 | class Weapon; |
---|
181 | class Munition; |
---|
182 | class LaserGun; |
---|
183 | class LaserGunMunition; |
---|
184 | class FusionMunition; |
---|
185 | |
---|
186 | class EventListener; |
---|
187 | class EventDispatcher; |
---|
188 | class EventTarget; |
---|
189 | |
---|
190 | class Controller; |
---|
191 | class HumanController; |
---|
192 | class ArtificialController; |
---|
193 | class AIController; |
---|
194 | class ScriptController; |
---|
195 | class PongAI; |
---|
196 | |
---|
197 | class Info; |
---|
198 | class PlayerInfo; |
---|
199 | class HumanPlayer; |
---|
200 | class Bot; |
---|
201 | class PongBot; |
---|
202 | class GametypeInfo; |
---|
203 | |
---|
204 | class Gametype; |
---|
205 | class Deathmatch; |
---|
206 | class TeamDeathmatch; |
---|
207 | class Pong; |
---|
208 | |
---|
209 | class Scores; |
---|
210 | class CreateLines; |
---|
211 | class Scoreboard; |
---|
212 | class Stats; |
---|
213 | |
---|
214 | // collision |
---|
215 | class CollisionShape; |
---|
216 | class SphereCollisionShape; |
---|
217 | class CompoundCollisionShape; |
---|
218 | class PlaneCollisionShape; |
---|
219 | class WorldEntityCollisionShape; |
---|
220 | |
---|
221 | // tools |
---|
222 | class BillboardSet; |
---|
223 | class Light; |
---|
224 | class Mesh; |
---|
225 | class ParticleInterface; |
---|
226 | class Shader; |
---|
227 | template <class T> |
---|
228 | class Timer; |
---|
229 | |
---|
230 | // overlays |
---|
231 | class BarColour; |
---|
232 | class DebugFPSText; |
---|
233 | class DebugRTRText; |
---|
234 | class HUDBar; |
---|
235 | class HUDNavigation; |
---|
236 | class HUDRadar; |
---|
237 | class HUDSpeedBar; |
---|
238 | class HUDHealthBar; |
---|
239 | class InGameConsole; |
---|
240 | class Notification; |
---|
241 | class NotificationManager; |
---|
242 | class NotificationQueue; |
---|
243 | class OrxonoxOverlay; |
---|
244 | class OverlayGroup; |
---|
245 | class OverlayText; |
---|
246 | class GametypeStatus; |
---|
247 | class CreateLines; |
---|
248 | class Scoreboard; |
---|
249 | |
---|
250 | //gui |
---|
251 | class GUIManager; |
---|
252 | |
---|
253 | // game states |
---|
254 | class GSRoot; |
---|
255 | class GSGraphics; |
---|
256 | class GSIO; |
---|
257 | class GSIOConsole; |
---|
258 | class GSLevel; |
---|
259 | class GSStandalone; |
---|
260 | class GSServer; |
---|
261 | class GSClient; |
---|
262 | class GSGUI; |
---|
263 | } |
---|
264 | |
---|
265 | namespace Ogre |
---|
266 | { |
---|
267 | // some got forgotten in OgrePrerequisites |
---|
268 | class BorderPanelOverlayElement; |
---|
269 | class PanelOverlayElement; |
---|
270 | class TextAreaOverlayElement; |
---|
271 | } |
---|
272 | |
---|
273 | namespace CEGUI |
---|
274 | { |
---|
275 | class LuaScriptModule; |
---|
276 | |
---|
277 | class OgreCEGUIRenderer; |
---|
278 | class OgreCEGUIResourceProvider; |
---|
279 | class OgreCEGUITexture; |
---|
280 | } |
---|
281 | |
---|
282 | // Bullet Physics Engine |
---|
283 | |
---|
284 | class btTransform; |
---|
285 | class btVector3; |
---|
286 | |
---|
287 | class btRigidBody; |
---|
288 | class btCollisionObject; |
---|
289 | class btGhostObject; |
---|
290 | class btManifoldPoint; |
---|
291 | |
---|
292 | class btCollisionShape; |
---|
293 | class btSphereShape; |
---|
294 | class btCompoundShape; |
---|
295 | class btStaticPlaneShape; |
---|
296 | |
---|
297 | class btDiscreteDynamicsWorld; |
---|
298 | class bt32BitAxisSweep3; |
---|
299 | class btDefaultCollisionConfiguration; |
---|
300 | class btCollisionDispatcher; |
---|
301 | class btSequentialImpulseConstraintSolver; |
---|
302 | |
---|
303 | // lua |
---|
304 | struct lua_State; |
---|
305 | |
---|
306 | #endif /* _OrxonoxPrereqs_H__ */ |
---|