Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added munition, fixed reloadTimer_

  • 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 Weapon;
157    class Munition;
158    class LaserGun;
159    class LaserGunMunition;
160
161    class EventListener;
162    class EventDispatcher;
163    class EventTarget;
164
165    class Controller;
166    class HumanController;
167
168    class Info;
169    class Level;
170    class PlayerInfo;
171    class HumanPlayer;
172
173    class Gametype;
174
175    class Scores;
176
177    // tools
178    class BillboardSet;
179    class Light;
180    class Mesh;
181    class ParticleInterface;
182    template <class T>
183    class Timer;
184
185    // overlays
186    class BarColour;
187    class DebugFPSText;
188    class DebugRTRText;
189    class HUDBar;
190    class HUDNavigation;
191    class HUDRadar;
192    class HUDSpeedBar;
193    class InGameConsole;
194    class OrxonoxOverlay;
195    class OverlayGroup;
196    class OverlayText;
197
198    //gui
199    class GUIManager;
200
201    // game states
202    class GSRoot;
203    class GSGraphics;
204    class GSIO;
205    class GSIOConsole;
206    class GSLevel;
207    class GSStandalone;
208    class GSServer;
209    class GSClient;
210    class GSGUI;
211}
212
213namespace Ogre
214{
215    // some got forgotten in OgrePrerequisites
216    class BorderPanelOverlayElement;
217    class PanelOverlayElement;
218    class TextAreaOverlayElement;
219}
220
221namespace CEGUI
222{
223    class LuaScriptModule;
224
225    class OgreCEGUIRenderer;
226    class OgreCEGUIResourceProvider;
227    class OgreCEGUITexture;
228}
229
230struct lua_State;
231
232#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.