Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation/src/orxonox/OrxonoxPrereqs.h @ 2677

Last change on this file since 2677 was 2562, checked in by rgrieder, 16 years ago
  • Added WorldEntityCollisionShape to clarify when a CompoundCollisionShape belongs to a WE.
  • Also fixed problems with the synchronisation of the CollisionShape hierarchy.
  • Property svn:eol-style set to native
File size: 6.2 KB
Line 
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 "util/OrxonoxPlatform.h"
38
39//-----------------------------------------------------------------------
40// Shared library settings
41//-----------------------------------------------------------------------
42#if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !(defined(ORXONOX_STATIC_BUILD) || defined(ORXONOX_NO_EXPORTS))
43#  ifdef ORXONOX_SHARED_BUILD
44#    define _OrxonoxExport __declspec(dllexport)
45#  else
46#    if defined( __MINGW32__ )
47#      define _OrxonoxExport
48#    else
49#      define _OrxonoxExport __declspec(dllimport)
50#    endif
51#  endif
52#elif defined ( ORXONOX_GCC_VISIBILITY )
53#  define _OrxonoxExport  __attribute__ ((visibility("default")))
54#else
55#  define _OrxonoxExport
56#endif
57
58//-----------------------------------------------------------------------
59// Forward declarations
60//-----------------------------------------------------------------------
61
62namespace orxonox
63{
64    namespace LODParticle
65    {
66        enum LOD
67        {
68            off = 0,
69            low = 1,
70            normal = 2,
71            high = 3
72        };
73    }
74
75    //put here all existing munitionTypes
76    namespace MunitionType
77    {
78
79
80
81        enum Enum
82        { laserGunMunition };
83    }
84
85    //put here all weapon fire modes.
86    //they have to be added to Pawn and HumanController, too.
87    namespace WeaponMode
88    {
89        enum Enum
90        {
91            fire     = 0x1,
92            altFire  = 0x2,
93            altFire2 = 0x4
94        };
95    }
96
97
98    class GraphicsEngine;
99    class Settings;
100
101    class RadarViewable;
102    class Radar;
103    class RadarListener;
104
105    class CameraManager;
106    class LevelManager;
107    class PawnManager;
108    class PlayerManager;
109
110    // objects
111    class Level;
112    class Scene;
113
114    class AddQuest;
115    class AddQuestHint;
116    class AddReward;
117    class ChangeQuestStatus;
118    class CompleteQuest;
119    class FailQuest;
120    class GlobalQuest;
121    class LocalQuest;
122    class Quest;
123    class QuestDescription;
124    class QuestEffect;
125    class QuestEffectBeacon;
126    class QuestHint;
127    class QuestItem;
128    class QuestListener;
129    class QuestManager;
130    class Rewardable;
131
132    class WorldEntity;
133    class StaticEntity;
134    class MobileEntity;
135    class ControllableEntity;
136    class MovableEntity;
137    class Sublevel;
138
139    class Model;
140    class Billboard;
141    class BlinkingBillboard;
142    class ExplosionChunk;
143    class FadingBillboard;
144    class GlobalShader;
145    class Light;
146    class Backlight;
147    class ParticleEmitter;
148    class ParticleSpawner;
149
150    class Camera;
151    class CameraPosition;
152    class SpawnPoint;
153
154    class Spectator;
155    class Pawn;
156    class SpaceShip;
157
158    class Item;
159    class Engine;
160    class MultiStateEngine;
161    class RotatingEngine;
162
163    class Trigger;
164    class DistanceTrigger;
165    class EventTrigger;
166    class PlayerTrigger;
167
168    class WeaponSystem;
169    class WeaponSet;
170    class WeaponSlot;
171    class WeaponPack;
172    class Weapon;
173    class Munition;
174    class LaserGun;
175    class LaserGunMunition;
176
177    class EventListener;
178    class EventDispatcher;
179    class EventTarget;
180
181    class Controller;
182    class HumanController;
183    class ArtificialController;
184    class AIController;
185    class ScriptController;
186
187    class Info;
188    class PlayerInfo;
189    class HumanPlayer;
190    class Bot;
191    class GametypeInfo;
192
193    class Gametype;
194
195    class Scores;
196    class CreateLines;
197    class Scoreboard;
198    class Stats;
199
200    // collision
201    class CollisionShape;
202    class SphereCollisionShape;
203    class CompoundCollisionShape;
204    class PlaneCollisionShape;
205    class WorldEntityCollisionShape;
206
207    // tools
208    class BillboardSet;
209    class Light;
210    class Mesh;
211    class ParticleInterface;
212    class Shader;
213    template <class T>
214    class Timer;
215
216    // overlays
217    class BarColour;
218    class DebugFPSText;
219    class DebugRTRText;
220    class HUDBar;
221    class HUDNavigation;
222    class HUDRadar;
223    class HUDSpeedBar;
224    class HUDHealthBar;
225    class InGameConsole;
226    class Notification;
227    class NotificationManager;
228    class NotificationQueue;
229    class OrxonoxOverlay;
230    class OverlayGroup;
231    class OverlayText;
232    class GametypeStatus;
233    class CreateLines;
234    class Scoreboard;
235
236    //gui
237    class GUIManager;
238
239    // game states
240    class GSRoot;
241    class GSGraphics;
242    class GSIO;
243    class GSIOConsole;
244    class GSLevel;
245    class GSStandalone;
246    class GSServer;
247    class GSClient;
248    class GSGUI;
249}
250
251namespace Ogre
252{
253    // some got forgotten in OgrePrerequisites
254    class BorderPanelOverlayElement;
255    class PanelOverlayElement;
256    class TextAreaOverlayElement;
257}
258
259namespace CEGUI
260{
261    class LuaScriptModule;
262
263    class OgreCEGUIRenderer;
264    class OgreCEGUIResourceProvider;
265    class OgreCEGUITexture;
266}
267
268// Bullet Physics Engine
269
270class btTransform;
271class btVector3;
272
273class btRigidBody;
274class btCollisionObject;
275class btGhostObject;
276class btManifoldPoint;
277
278class btCollisionShape;
279class btSphereShape;
280class btCompoundShape;
281class btStaticPlaneShape;
282
283class btDiscreteDynamicsWorld;
284class bt32BitAxisSweep3;
285class btDefaultCollisionConfiguration;
286class btCollisionDispatcher;
287class btSequentialImpulseConstraintSolver;
288
289// lua
290struct lua_State;
291
292#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.