Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/netp3/src/orxonox/OrxonoxPrereqs.h @ 3088

Last change on this file since 3088 was 2990, checked in by scheusso, 16 years ago

merged netp2 → netp3

  • Property svn:eol-style set to native
File size: 6.4 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 "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
63namespace 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
141    class Model;
142    class Billboard;
143    class BlinkingBillboard;
144    class ExplosionChunk;
145    class FadingBillboard;
146    class GlobalShader;
147    class Light;
148    class Backlight;
149    class ParticleEmitter;
150    class ParticleSpawner;
151
152    class PongCenterpoint;
153    class PongBall;
154    class PongBat;
155
156    class Camera;
157    class CameraPosition;
158    class SpawnPoint;
159    class TeamSpawnPoint;
160    class Test;
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 NotificationOverlay;
243    class NotificationQueue;
244    class OrxonoxOverlay;
245    class OverlayGroup;
246    class OverlayText;
247    class GametypeStatus;
248    class CreateLines;
249    class Scoreboard;
250
251    //gui
252    class GUIManager;
253}
254
255namespace Ogre
256{
257    // some got forgotten in OgrePrerequisites
258    class BorderPanelOverlayElement;
259    class PanelOverlayElement;
260    class TextAreaOverlayElement;
261}
262
263namespace CEGUI
264{
265    class LuaScriptModule;
266
267    class OgreCEGUIRenderer;
268    class OgreCEGUIResourceProvider;
269    class OgreCEGUITexture;
270}
271
272// Bullet Physics Engine
273
274class btTransform;
275class btVector3;
276
277class btRigidBody;
278class btCollisionObject;
279class btGhostObject;
280class btManifoldPoint;
281
282class btCollisionShape;
283class btSphereShape;
284class btCompoundShape;
285class btStaticPlaneShape;
286
287class btDiscreteDynamicsWorld;
288class bt32BitAxisSweep3;
289class btDefaultCollisionConfiguration;
290class btCollisionDispatcher;
291class btSequentialImpulseConstraintSolver;
292
293// lua
294struct lua_State;
295
296#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.