| [612] | 1 | /* | 
|---|
 | 2 |  *   ORXONOX - the hottest 3D action shooter ever to exist | 
|---|
| [1505] | 3 |  *                    > www.orxonox.net < | 
|---|
| [612] | 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: | 
|---|
| [682] | 23 |  *      Reto Grieder | 
|---|
| [612] | 24 |  *   Co-authors: | 
|---|
 | 25 |  *      ... | 
|---|
 | 26 |  * | 
|---|
 | 27 |  */ | 
|---|
 | 28 |  | 
|---|
 | 29 | /** | 
|---|
| [1024] | 30 |   @file | 
|---|
 | 31 |   @brief Contains all the necessary forward declarations for all classes and structs. | 
|---|
 | 32 | */ | 
|---|
| [612] | 33 |  | 
|---|
| [673] | 34 | #ifndef _OrxonoxPrereqs_H__ | 
|---|
 | 35 | #define _OrxonoxPrereqs_H__ | 
|---|
| [612] | 36 |  | 
|---|
| [2710] | 37 | #include "OrxonoxConfig.h" | 
|---|
| [612] | 38 |  | 
|---|
| [1024] | 39 | //----------------------------------------------------------------------- | 
|---|
 | 40 | // Shared library settings | 
|---|
 | 41 | //----------------------------------------------------------------------- | 
|---|
| [2710] | 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)) | 
|---|
| [1024] | 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 | 
|---|
| [729] | 58 |  | 
|---|
 | 59 | //----------------------------------------------------------------------- | 
|---|
| [1024] | 60 | // Forward declarations | 
|---|
 | 61 | //----------------------------------------------------------------------- | 
|---|
| [729] | 62 |  | 
|---|
| [1563] | 63 | namespace orxonox | 
|---|
 | 64 | { | 
|---|
| [1625] | 65 |     namespace LODParticle | 
|---|
| [1563] | 66 |     { | 
|---|
| [1625] | 67 |         enum LOD | 
|---|
 | 68 |         { | 
|---|
 | 69 |             off = 0, | 
|---|
 | 70 |             low = 1, | 
|---|
 | 71 |             normal = 2, | 
|---|
 | 72 |             high = 3 | 
|---|
 | 73 |         }; | 
|---|
 | 74 |     } | 
|---|
| [1563] | 75 |  | 
|---|
| [2662] | 76 |     //put here all existing munitionTypes | 
|---|
 | 77 |     namespace MunitionType | 
|---|
 | 78 |     { | 
|---|
 | 79 |  | 
|---|
 | 80 |  | 
|---|
 | 81 |  | 
|---|
 | 82 |         enum Enum | 
|---|
 | 83 |         { laserGunMunition }; | 
|---|
 | 84 |     } | 
|---|
 | 85 |  | 
|---|
 | 86 |     //put here all weapon fire modes. | 
|---|
 | 87 |     //they have to be added to Pawn and HumanController, too. | 
|---|
 | 88 |     namespace WeaponMode | 
|---|
 | 89 |     { | 
|---|
 | 90 |         enum Enum | 
|---|
 | 91 |         { | 
|---|
 | 92 |             fire     = 0x1, | 
|---|
 | 93 |             altFire  = 0x2, | 
|---|
 | 94 |             altFire2 = 0x4 | 
|---|
 | 95 |         }; | 
|---|
 | 96 |     } | 
|---|
 | 97 |  | 
|---|
 | 98 |  | 
|---|
| [1625] | 99 |     class GraphicsEngine; | 
|---|
| [1755] | 100 |     class Settings; | 
|---|
| [612] | 101 |  | 
|---|
| [1625] | 102 |     class RadarViewable; | 
|---|
 | 103 |     class Radar; | 
|---|
 | 104 |     class RadarListener; | 
|---|
| [1024] | 105 |  | 
|---|
| [2826] | 106 |     class Teamcolourable; | 
|---|
 | 107 |  | 
|---|
| [2087] | 108 |     class CameraManager; | 
|---|
 | 109 |     class LevelManager; | 
|---|
| [2662] | 110 |     class PawnManager; | 
|---|
| [2171] | 111 |     class PlayerManager; | 
|---|
| [2087] | 112 |  | 
|---|
| [1625] | 113 |     // objects | 
|---|
| [2171] | 114 |     class Level; | 
|---|
| [2087] | 115 |     class Scene; | 
|---|
 | 116 |  | 
|---|
| [2095] | 117 |     class AddQuest; | 
|---|
 | 118 |     class AddQuestHint; | 
|---|
 | 119 |     class AddReward; | 
|---|
 | 120 |     class ChangeQuestStatus; | 
|---|
 | 121 |     class CompleteQuest; | 
|---|
 | 122 |     class FailQuest; | 
|---|
 | 123 |     class GlobalQuest; | 
|---|
 | 124 |     class LocalQuest; | 
|---|
 | 125 |     class Quest; | 
|---|
 | 126 |     class QuestDescription; | 
|---|
 | 127 |     class QuestEffect; | 
|---|
| [2261] | 128 |     class QuestEffectBeacon; | 
|---|
| [2095] | 129 |     class QuestHint; | 
|---|
 | 130 |     class QuestItem; | 
|---|
| [2662] | 131 |     class QuestListener; | 
|---|
| [2095] | 132 |     class QuestManager; | 
|---|
 | 133 |     class Rewardable; | 
|---|
 | 134 |  | 
|---|
| [2087] | 135 |     class WorldEntity; | 
|---|
| [2662] | 136 |     class StaticEntity; | 
|---|
 | 137 |     class MobileEntity; | 
|---|
 | 138 |     class ControllableEntity; | 
|---|
| [2087] | 139 |     class MovableEntity; | 
|---|
 | 140 |     class Sublevel; | 
|---|
 | 141 |  | 
|---|
 | 142 |     class Model; | 
|---|
 | 143 |     class Billboard; | 
|---|
 | 144 |     class BlinkingBillboard; | 
|---|
| [2662] | 145 |     class ExplosionChunk; | 
|---|
 | 146 |     class FadingBillboard; | 
|---|
 | 147 |     class GlobalShader; | 
|---|
| [2087] | 148 |     class Light; | 
|---|
| [1625] | 149 |     class Backlight; | 
|---|
| [2087] | 150 |     class ParticleEmitter; | 
|---|
 | 151 |     class ParticleSpawner; | 
|---|
 | 152 |  | 
|---|
| [2826] | 153 |     class PongCenterpoint; | 
|---|
 | 154 |     class PongBall; | 
|---|
 | 155 |     class PongBat; | 
|---|
 | 156 |  | 
|---|
| [1625] | 157 |     class Camera; | 
|---|
| [2087] | 158 |     class CameraPosition; | 
|---|
 | 159 |     class SpawnPoint; | 
|---|
| [2826] | 160 |     class TeamSpawnPoint; | 
|---|
| [2937] | 161 |     class Test; | 
|---|
| [2087] | 162 |  | 
|---|
 | 163 |     class Spectator; | 
|---|
 | 164 |     class Pawn; | 
|---|
| [1625] | 165 |     class SpaceShip; | 
|---|
| [1552] | 166 |  | 
|---|
| [2662] | 167 |     class Item; | 
|---|
 | 168 |     class Engine; | 
|---|
 | 169 |     class MultiStateEngine; | 
|---|
 | 170 |     class RotatingEngine; | 
|---|
 | 171 |  | 
|---|
| [2087] | 172 |     class Trigger; | 
|---|
 | 173 |     class DistanceTrigger; | 
|---|
 | 174 |     class EventTrigger; | 
|---|
| [2261] | 175 |     class PlayerTrigger; | 
|---|
| [1024] | 176 |  | 
|---|
| [2096] | 177 |     class WeaponSystem; | 
|---|
 | 178 |     class WeaponSet; | 
|---|
 | 179 |     class WeaponSlot; | 
|---|
| [2662] | 180 |     class WeaponPack; | 
|---|
| [2096] | 181 |     class Weapon; | 
|---|
 | 182 |     class Munition; | 
|---|
| [2662] | 183 |     class LaserGun; | 
|---|
 | 184 |     class LaserGunMunition; | 
|---|
| [2096] | 185 |  | 
|---|
| [2087] | 186 |     class EventListener; | 
|---|
 | 187 |     class EventDispatcher; | 
|---|
 | 188 |     class EventTarget; | 
|---|
 | 189 |  | 
|---|
 | 190 |     class Controller; | 
|---|
 | 191 |     class HumanController; | 
|---|
| [2662] | 192 |     class ArtificialController; | 
|---|
 | 193 |     class AIController; | 
|---|
 | 194 |     class ScriptController; | 
|---|
| [2087] | 195 |  | 
|---|
 | 196 |     class Info; | 
|---|
 | 197 |     class PlayerInfo; | 
|---|
 | 198 |     class HumanPlayer; | 
|---|
| [2662] | 199 |     class Bot; | 
|---|
 | 200 |     class GametypeInfo; | 
|---|
| [2087] | 201 |  | 
|---|
 | 202 |     class Gametype; | 
|---|
| [2826] | 203 |     class Deathmatch; | 
|---|
 | 204 |     class TeamDeathmatch; | 
|---|
 | 205 |     class Pong; | 
|---|
| [2087] | 206 |  | 
|---|
 | 207 |     class Scores; | 
|---|
| [2662] | 208 |     class CreateLines; | 
|---|
 | 209 |     class Scoreboard; | 
|---|
 | 210 |     class Stats; | 
|---|
| [2087] | 211 |  | 
|---|
| [2662] | 212 |     // collision | 
|---|
 | 213 |     class CollisionShape; | 
|---|
 | 214 |     class SphereCollisionShape; | 
|---|
 | 215 |     class CompoundCollisionShape; | 
|---|
 | 216 |     class PlaneCollisionShape; | 
|---|
 | 217 |     class WorldEntityCollisionShape; | 
|---|
 | 218 |  | 
|---|
| [1625] | 219 |     // tools | 
|---|
 | 220 |     class BillboardSet; | 
|---|
 | 221 |     class Light; | 
|---|
 | 222 |     class Mesh; | 
|---|
 | 223 |     class ParticleInterface; | 
|---|
| [2662] | 224 |     class Shader; | 
|---|
| [1625] | 225 |     template <class T> | 
|---|
 | 226 |     class Timer; | 
|---|
| [612] | 227 |  | 
|---|
| [1625] | 228 |     // overlays | 
|---|
 | 229 |     class BarColour; | 
|---|
 | 230 |     class DebugFPSText; | 
|---|
 | 231 |     class DebugRTRText; | 
|---|
 | 232 |     class HUDBar; | 
|---|
 | 233 |     class HUDNavigation; | 
|---|
 | 234 |     class HUDRadar; | 
|---|
 | 235 |     class HUDSpeedBar; | 
|---|
| [2662] | 236 |     class HUDHealthBar; | 
|---|
| [1625] | 237 |     class InGameConsole; | 
|---|
| [2662] | 238 |     class Notification; | 
|---|
 | 239 |     class NotificationManager; | 
|---|
 | 240 |     class NotificationQueue; | 
|---|
| [1625] | 241 |     class OrxonoxOverlay; | 
|---|
 | 242 |     class OverlayGroup; | 
|---|
 | 243 |     class OverlayText; | 
|---|
| [2662] | 244 |     class GametypeStatus; | 
|---|
 | 245 |     class CreateLines; | 
|---|
 | 246 |     class Scoreboard; | 
|---|
| [1755] | 247 |  | 
|---|
 | 248 |     //gui | 
|---|
 | 249 |     class GUIManager; | 
|---|
 | 250 |  | 
|---|
 | 251 |     // game states | 
|---|
 | 252 |     class GSRoot; | 
|---|
 | 253 |     class GSGraphics; | 
|---|
 | 254 |     class GSIO; | 
|---|
 | 255 |     class GSIOConsole; | 
|---|
 | 256 |     class GSLevel; | 
|---|
 | 257 |     class GSStandalone; | 
|---|
 | 258 |     class GSServer; | 
|---|
 | 259 |     class GSClient; | 
|---|
 | 260 |     class GSGUI; | 
|---|
| [1625] | 261 | } | 
|---|
| [708] | 262 |  | 
|---|
| [1625] | 263 | namespace Ogre | 
|---|
 | 264 | { | 
|---|
 | 265 |     // some got forgotten in OgrePrerequisites | 
|---|
 | 266 |     class BorderPanelOverlayElement; | 
|---|
 | 267 |     class PanelOverlayElement; | 
|---|
 | 268 |     class TextAreaOverlayElement; | 
|---|
| [612] | 269 | } | 
|---|
 | 270 |  | 
|---|
| [1755] | 271 | namespace CEGUI | 
|---|
 | 272 | { | 
|---|
 | 273 |     class LuaScriptModule; | 
|---|
 | 274 |  | 
|---|
 | 275 |     class OgreCEGUIRenderer; | 
|---|
 | 276 |     class OgreCEGUIResourceProvider; | 
|---|
 | 277 |     class OgreCEGUITexture; | 
|---|
 | 278 | } | 
|---|
 | 279 |  | 
|---|
| [2662] | 280 | // Bullet Physics Engine | 
|---|
 | 281 |  | 
|---|
 | 282 | class btTransform; | 
|---|
 | 283 | class btVector3; | 
|---|
 | 284 |  | 
|---|
 | 285 | class btRigidBody; | 
|---|
 | 286 | class btCollisionObject; | 
|---|
 | 287 | class btGhostObject; | 
|---|
 | 288 | class btManifoldPoint; | 
|---|
 | 289 |  | 
|---|
 | 290 | class btCollisionShape; | 
|---|
 | 291 | class btSphereShape; | 
|---|
 | 292 | class btCompoundShape; | 
|---|
 | 293 | class btStaticPlaneShape; | 
|---|
 | 294 |  | 
|---|
 | 295 | class btDiscreteDynamicsWorld; | 
|---|
 | 296 | class bt32BitAxisSweep3; | 
|---|
 | 297 | class btDefaultCollisionConfiguration; | 
|---|
 | 298 | class btCollisionDispatcher; | 
|---|
 | 299 | class btSequentialImpulseConstraintSolver; | 
|---|
 | 300 |  | 
|---|
 | 301 | // lua | 
|---|
| [1755] | 302 | struct lua_State; | 
|---|
 | 303 |  | 
|---|
| [673] | 304 | #endif /* _OrxonoxPrereqs_H__ */ | 
|---|