Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weapon2/src/orxonox/OrxonoxPrereqs.h @ 2393

Last change on this file since 2393 was 2288, checked in by polakma, 16 years ago

added WeaponPack

  • Property svn:eol-style set to native
File size: 4.9 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,
92            altFire,
93            altFire2
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
108    // objects
109    class Scene;
110
111    class AddQuest;
112    class AddQuestHint;
113    class AddReward;
114    class ChangeQuestStatus;
115    class CompleteQuest;
116    class FailQuest;
117    class GlobalQuest;
118    class LocalQuest;
119    class Quest;
120    class QuestDescription;
121    class QuestEffect;
122    class QuestHint;
123    class QuestItem;
124    class QuestManager;
125    class Rewardable;
126
127    class WorldEntity;
128    class PositionableEntity;
129    class MovableEntity;
130    class ControllableEntity;
131    class Sublevel;
132
133    class Model;
134    class Billboard;
135    class BlinkingBillboard;
136    class Light;
137    class Backlight;
138    class ParticleEmitter;
139    class ParticleSpawner;
140
141    class Camera;
142    class CameraPosition;
143    class SpawnPoint;
144
145    class Spectator;
146    class Pawn;
147    class SpaceShip;
148
149    class Trigger;
150    class DistanceTrigger;
151    class EventTrigger;
152
153    class WeaponSystem;
154    class WeaponSet;
155    class WeaponSlot;
156    class WeaponPack;
157    class Weapon;
158    class Munition;
159    class LaserGun;
160    class LaserGunMunition;
161
162    class EventListener;
163    class EventDispatcher;
164    class EventTarget;
165
166    class Controller;
167    class HumanController;
168
169    class Info;
170    class Level;
171    class PlayerInfo;
172    class HumanPlayer;
173
174    class Gametype;
175
176    class Scores;
177
178    // tools
179    class BillboardSet;
180    class Light;
181    class Mesh;
182    class ParticleInterface;
183    template <class T>
184    class Timer;
185
186    // overlays
187    class BarColour;
188    class DebugFPSText;
189    class DebugRTRText;
190    class HUDBar;
191    class HUDNavigation;
192    class HUDRadar;
193    class HUDSpeedBar;
194    class InGameConsole;
195    class OrxonoxOverlay;
196    class OverlayGroup;
197    class OverlayText;
198
199    //gui
200    class GUIManager;
201
202    // game states
203    class GSRoot;
204    class GSGraphics;
205    class GSIO;
206    class GSIOConsole;
207    class GSLevel;
208    class GSStandalone;
209    class GSServer;
210    class GSClient;
211    class GSGUI;
212}
213
214namespace Ogre
215{
216    // some got forgotten in OgrePrerequisites
217    class BorderPanelOverlayElement;
218    class PanelOverlayElement;
219    class TextAreaOverlayElement;
220}
221
222namespace CEGUI
223{
224    class LuaScriptModule;
225
226    class OgreCEGUIRenderer;
227    class OgreCEGUIResourceProvider;
228    class OgreCEGUITexture;
229}
230
231struct lua_State;
232
233#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.