Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy2/src/orxonox/OrxonoxPrereqs.h @ 2478

Last change on this file since 2478 was 2428, checked in by landauf, 16 years ago
  • Moved some variables from Gametype to GametypeInfo (Gametype exists only on the Server while GametypeInfo is synchronized)
  • Created a new HUD-element, GametypeStatus, based on GametypeInfo (the same effect was formerly achieved by using a hack in Spectator and a TextOverlay)
  • HumanController creates a HUD (additionally to the SpaceShips HUD) which includes GametypeStatus and ChatOverlay and even more in the future
  • Property svn:eol-style set to native
File size: 4.8 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    class GraphicsEngine;
76    class Settings;
77
78    class RadarViewable;
79    class Radar;
80    class RadarListener;
81
82    class CameraManager;
83    class LevelManager;
84    class PawnManager;
85    class PlayerManager;
86
87    // objects
88    class Level;
89    class Scene;
90
91    class AddQuest;
92    class AddQuestHint;
93    class AddReward;
94    class ChangeQuestStatus;
95    class CompleteQuest;
96    class FailQuest;
97    class GlobalQuest;
98    class LocalQuest;
99    class Quest;
100    class QuestDescription;
101    class QuestEffect;
102    class QuestHint;
103    class QuestItem;
104    class QuestManager;
105    class Rewardable;
106
107    class WorldEntity;
108    class PositionableEntity;
109    class MovableEntity;
110    class ControllableEntity;
111    class Sublevel;
112
113    class Model;
114    class Billboard;
115    class BlinkingBillboard;
116    class ExplosionChunk;
117    class FadingBillboard;
118    class GlobalShader;
119    class Light;
120    class Backlight;
121    class ParticleEmitter;
122    class ParticleSpawner;
123
124    class Camera;
125    class CameraPosition;
126    class SpawnPoint;
127
128    class Spectator;
129    class Pawn;
130    class SpaceShip;
131
132    class Item;
133    class Engine;
134    class MultiStateEngine;
135    class RotatingEngine;
136
137    class Trigger;
138    class DistanceTrigger;
139    class EventTrigger;
140
141    class WeaponSystem;
142    class WeaponSet;
143    class WeaponSlot;
144    class Weapon;
145    class Munition;
146
147    class EventListener;
148    class EventDispatcher;
149    class EventTarget;
150
151    class Controller;
152    class HumanController;
153    class ArtificialController;
154    class AIController;
155    class ScriptController;
156
157    class Info;
158    class PlayerInfo;
159    class HumanPlayer;
160    class Bot;
161    class GametypeInfo;
162
163    class Gametype;
164
165    class Scores;
166
167    // tools
168    class BillboardSet;
169    class Light;
170    class Mesh;
171    class ParticleInterface;
172    class Shader;
173    template <class T>
174    class Timer;
175
176    // overlays
177    class BarColour;
178    class DebugFPSText;
179    class DebugRTRText;
180    class HUDBar;
181    class HUDNavigation;
182    class HUDRadar;
183    class HUDSpeedBar;
184    class HUDHealthBar;
185    class InGameConsole;
186    class OrxonoxOverlay;
187    class OverlayGroup;
188    class OverlayText;
189    class GametypeStatus;
190
191    //gui
192    class GUIManager;
193
194    // game states
195    class GSRoot;
196    class GSGraphics;
197    class GSIO;
198    class GSIOConsole;
199    class GSLevel;
200    class GSStandalone;
201    class GSServer;
202    class GSClient;
203    class GSGUI;
204}
205
206namespace Ogre
207{
208    // some got forgotten in OgrePrerequisites
209    class BorderPanelOverlayElement;
210    class PanelOverlayElement;
211    class TextAreaOverlayElement;
212}
213
214namespace CEGUI
215{
216    class LuaScriptModule;
217
218    class OgreCEGUIRenderer;
219    class OgreCEGUIResourceProvider;
220    class OgreCEGUITexture;
221}
222
223struct lua_State;
224
225#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.