Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/orxonox/OrxonoxPrereqs.h @ 2110

Last change on this file since 2110 was 2074, checked in by landauf, 16 years ago
  • added EventListener: this class fires an event if another class with a specified name fires
  • added EventDispatcher: this class dispatches events to several other classes (EventTarget) if it gets an event itself
  • added EventTarget: used in EventDispatcher to access all classes with a specified name
  • added XMLNameListener: this listener gets called every time a new class was loaded through XML with a name != "". used to find classes with a given name even if they're not existing at the moment.
  • Property svn:eol-style set to native
File size: 4.0 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
85    // objects
86    class Scene;
87
88    class WorldEntity;
89    class PositionableEntity;
90    class MovableEntity;
91    class ControllableEntity;
92    class Sublevel;
93
94    class Model;
95    class Billboard;
96    class BlinkingBillboard;
97    class Light;
98    class Backlight;
99    class ParticleEmitter;
100    class ParticleSpawner;
101
102    class Camera;
103    class CameraPosition;
104    class SpawnPoint;
105
106    class Spectator;
107    class Pawn;
108    class SpaceShip;
109
110    class Trigger;
111    class DistanceTrigger;
112    class EventTrigger;
113
114    class EventListener;
115    class EventDispatcher;
116    class EventTarget;
117
118    class Controller;
119    class HumanController;
120
121    class Info;
122    class Level;
123    class PlayerInfo;
124    class HumanPlayer;
125
126    class Gametype;
127
128    class Scores;
129
130    // tools
131    class BillboardSet;
132    class Light;
133    class Mesh;
134    class ParticleInterface;
135    template <class T>
136    class Timer;
137
138    // overlays
139    class BarColour;
140    class DebugFPSText;
141    class DebugRTRText;
142    class HUDBar;
143    class HUDNavigation;
144    class HUDRadar;
145    class HUDSpeedBar;
146    class InGameConsole;
147    class OrxonoxOverlay;
148    class OverlayGroup;
149    class OverlayText;
150
151    //gui
152    class GUIManager;
153
154    // game states
155    class GSRoot;
156    class GSGraphics;
157    class GSIO;
158    class GSIOConsole;
159    class GSLevel;
160    class GSStandalone;
161    class GSServer;
162    class GSClient;
163    class GSGUI;
164}
165
166namespace Ogre
167{
168    // some got forgotten in OgrePrerequisites
169    class BorderPanelOverlayElement;
170    class PanelOverlayElement;
171    class TextAreaOverlayElement;
172}
173
174namespace CEGUI
175{
176    class LuaScriptModule;
177
178    class OgreCEGUIRenderer;
179    class OgreCEGUIResourceProvider;
180    class OgreCEGUITexture;
181}
182
183struct lua_State;
184
185#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.