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 | enum Enum |
---|
80 | { laserGunMunition }; |
---|
81 | } |
---|
82 | |
---|
83 | //put here all weapon fire modes. |
---|
84 | //they have to be added to Pawn and HumanController, too. |
---|
85 | namespace WeaponMode |
---|
86 | { |
---|
87 | enum Enum |
---|
88 | { |
---|
89 | fire = 0x1, |
---|
90 | altFire = 0x2, |
---|
91 | altFire2 = 0x4 |
---|
92 | }; |
---|
93 | } |
---|
94 | |
---|
95 | |
---|
96 | class GraphicsManager; |
---|
97 | class OgreWindowEventListener; |
---|
98 | class Settings; |
---|
99 | |
---|
100 | class RadarViewable; |
---|
101 | class Radar; |
---|
102 | class RadarListener; |
---|
103 | |
---|
104 | class Teamcolourable; |
---|
105 | |
---|
106 | class CameraManager; |
---|
107 | class LevelManager; |
---|
108 | class PawnManager; |
---|
109 | class PlayerManager; |
---|
110 | |
---|
111 | // objects |
---|
112 | class Level; |
---|
113 | class Scene; |
---|
114 | |
---|
115 | class AddQuest; |
---|
116 | class AddQuestHint; |
---|
117 | class AddReward; |
---|
118 | class ChangeQuestStatus; |
---|
119 | class CompleteQuest; |
---|
120 | class FailQuest; |
---|
121 | class GlobalQuest; |
---|
122 | class LocalQuest; |
---|
123 | class Quest; |
---|
124 | class QuestDescription; |
---|
125 | class QuestEffect; |
---|
126 | class QuestEffectBeacon; |
---|
127 | class QuestHint; |
---|
128 | class QuestItem; |
---|
129 | class QuestListener; |
---|
130 | class QuestManager; |
---|
131 | class QuestNotification; |
---|
132 | class Rewardable; |
---|
133 | |
---|
134 | class WorldEntity; |
---|
135 | class StaticEntity; |
---|
136 | class MobileEntity; |
---|
137 | class ControllableEntity; |
---|
138 | class MovableEntity; |
---|
139 | class Sublevel; |
---|
140 | class ForceField; |
---|
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 | class TeamBaseMatchBase; |
---|
166 | class Destroyer; |
---|
167 | |
---|
168 | class Item; |
---|
169 | class Engine; |
---|
170 | class MultiStateEngine; |
---|
171 | class RotatingEngine; |
---|
172 | |
---|
173 | class Trigger; |
---|
174 | class DistanceTrigger; |
---|
175 | class EventTrigger; |
---|
176 | class PlayerTrigger; |
---|
177 | class CheckPoint; |
---|
178 | |
---|
179 | class WeaponSystem; |
---|
180 | class WeaponSet; |
---|
181 | class WeaponSlot; |
---|
182 | class WeaponPack; |
---|
183 | class Weapon; |
---|
184 | class Munition; |
---|
185 | class LaserGun; |
---|
186 | class LaserGunMunition; |
---|
187 | class FusionMunition; |
---|
188 | |
---|
189 | class EventListener; |
---|
190 | class EventDispatcher; |
---|
191 | class EventTarget; |
---|
192 | |
---|
193 | class Controller; |
---|
194 | class HumanController; |
---|
195 | class ArtificialController; |
---|
196 | class AIController; |
---|
197 | class ScriptController; |
---|
198 | class WaypointController; |
---|
199 | class WaypointPatrolController; |
---|
200 | class PongAI; |
---|
201 | |
---|
202 | class Info; |
---|
203 | class PlayerInfo; |
---|
204 | class HumanPlayer; |
---|
205 | class Bot; |
---|
206 | class PongBot; |
---|
207 | class GametypeInfo; |
---|
208 | |
---|
209 | class Gametype; |
---|
210 | class Deathmatch; |
---|
211 | class TeamDeathmatch; |
---|
212 | class Asteroids; |
---|
213 | class TeamBaseMatch; |
---|
214 | class UnderAttack; |
---|
215 | class Pong; |
---|
216 | |
---|
217 | class Scores; |
---|
218 | class CreateLines; |
---|
219 | class Scoreboard; |
---|
220 | class Stats; |
---|
221 | |
---|
222 | // collision |
---|
223 | class CollisionShape; |
---|
224 | class SphereCollisionShape; |
---|
225 | class CompoundCollisionShape; |
---|
226 | class PlaneCollisionShape; |
---|
227 | class WorldEntityCollisionShape; |
---|
228 | |
---|
229 | // tools |
---|
230 | class BillboardSet; |
---|
231 | class Light; |
---|
232 | class Mesh; |
---|
233 | class ParticleInterface; |
---|
234 | class Shader; |
---|
235 | template <class T> |
---|
236 | class Timer; |
---|
237 | |
---|
238 | // overlays |
---|
239 | class BarColour; |
---|
240 | class DebugFPSText; |
---|
241 | class DebugRTRText; |
---|
242 | class HUDBar; |
---|
243 | class HUDNavigation; |
---|
244 | class HUDRadar; |
---|
245 | class HUDSpeedBar; |
---|
246 | class HUDHealthBar; |
---|
247 | class HUDTimer; |
---|
248 | class InGameConsole; |
---|
249 | class Notification; |
---|
250 | class NotificationManager; |
---|
251 | class NotificationOverlay; |
---|
252 | class NotificationQueue; |
---|
253 | class OrxonoxOverlay; |
---|
254 | class OverlayGroup; |
---|
255 | class OverlayText; |
---|
256 | class GametypeStatus; |
---|
257 | class CreateLines; |
---|
258 | class Scoreboard; |
---|
259 | |
---|
260 | //gui |
---|
261 | class GUIManager; |
---|
262 | } |
---|
263 | |
---|
264 | namespace Ogre |
---|
265 | { |
---|
266 | // some got forgotten in OgrePrerequisites |
---|
267 | class BorderPanelOverlayElement; |
---|
268 | class PanelOverlayElement; |
---|
269 | class TextAreaOverlayElement; |
---|
270 | } |
---|
271 | |
---|
272 | namespace CEGUI |
---|
273 | { |
---|
274 | class LuaScriptModule; |
---|
275 | |
---|
276 | class OgreCEGUIRenderer; |
---|
277 | class OgreCEGUIResourceProvider; |
---|
278 | class OgreCEGUITexture; |
---|
279 | } |
---|
280 | |
---|
281 | // Bullet Physics Engine |
---|
282 | |
---|
283 | class btTransform; |
---|
284 | class btVector3; |
---|
285 | |
---|
286 | class btRigidBody; |
---|
287 | class btCollisionObject; |
---|
288 | class btGhostObject; |
---|
289 | class btManifoldPoint; |
---|
290 | |
---|
291 | class btCollisionShape; |
---|
292 | class btSphereShape; |
---|
293 | class btCompoundShape; |
---|
294 | class btStaticPlaneShape; |
---|
295 | |
---|
296 | class btDiscreteDynamicsWorld; |
---|
297 | class bt32BitAxisSweep3; |
---|
298 | class btDefaultCollisionConfiguration; |
---|
299 | class btCollisionDispatcher; |
---|
300 | class btSequentialImpulseConstraintSolver; |
---|
301 | |
---|
302 | // lua |
---|
303 | struct lua_State; |
---|
304 | |
---|
305 | #endif /* _OrxonoxPrereqs_H__ */ |
---|