[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 | |
---|
[1502] | 37 | #include "util/OrxonoxPlatform.h" |
---|
[612] | 38 | |
---|
[1024] | 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 |
---|
[729] | 57 | |
---|
| 58 | //----------------------------------------------------------------------- |
---|
[1024] | 59 | // Forward declarations |
---|
| 60 | //----------------------------------------------------------------------- |
---|
[729] | 61 | |
---|
[1563] | 62 | namespace orxonox |
---|
| 63 | { |
---|
[1625] | 64 | namespace LODParticle |
---|
[1563] | 65 | { |
---|
[1625] | 66 | enum LOD |
---|
| 67 | { |
---|
| 68 | off = 0, |
---|
| 69 | low = 1, |
---|
| 70 | normal = 2, |
---|
| 71 | high = 3 |
---|
| 72 | }; |
---|
| 73 | } |
---|
[1563] | 74 | |
---|
[2493] | 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 = 0x1, |
---|
| 92 | altFire = 0x2, |
---|
| 93 | altFire2 = 0x4 |
---|
| 94 | }; |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | |
---|
[1625] | 98 | class GraphicsEngine; |
---|
[1755] | 99 | class Settings; |
---|
[612] | 100 | |
---|
[1625] | 101 | class RadarViewable; |
---|
| 102 | class Radar; |
---|
| 103 | class RadarListener; |
---|
[1024] | 104 | |
---|
[2087] | 105 | class CameraManager; |
---|
| 106 | class LevelManager; |
---|
[2485] | 107 | class PawnManager; |
---|
[2171] | 108 | class PlayerManager; |
---|
[2087] | 109 | |
---|
[1625] | 110 | // objects |
---|
[2171] | 111 | class Level; |
---|
[2087] | 112 | class Scene; |
---|
| 113 | |
---|
[2095] | 114 | class AddQuest; |
---|
| 115 | class AddQuestHint; |
---|
| 116 | class AddReward; |
---|
| 117 | class ChangeQuestStatus; |
---|
| 118 | class CompleteQuest; |
---|
| 119 | class FailQuest; |
---|
| 120 | class GlobalQuest; |
---|
| 121 | class LocalQuest; |
---|
| 122 | class Quest; |
---|
| 123 | class QuestDescription; |
---|
| 124 | class QuestEffect; |
---|
[2261] | 125 | class QuestEffectBeacon; |
---|
[2095] | 126 | class QuestHint; |
---|
| 127 | class QuestItem; |
---|
[2385] | 128 | class QuestListener; |
---|
[2095] | 129 | class QuestManager; |
---|
| 130 | class Rewardable; |
---|
| 131 | |
---|
[2087] | 132 | class WorldEntity; |
---|
[2459] | 133 | class StaticEntity; |
---|
| 134 | class MobileEntity; |
---|
| 135 | class ControllableEntity; |
---|
[2087] | 136 | class MovableEntity; |
---|
| 137 | class Sublevel; |
---|
| 138 | |
---|
| 139 | class Model; |
---|
| 140 | class Billboard; |
---|
| 141 | class BlinkingBillboard; |
---|
[2485] | 142 | class ExplosionChunk; |
---|
| 143 | class FadingBillboard; |
---|
| 144 | class GlobalShader; |
---|
[2087] | 145 | class Light; |
---|
[1625] | 146 | class Backlight; |
---|
[2087] | 147 | class ParticleEmitter; |
---|
| 148 | class ParticleSpawner; |
---|
| 149 | |
---|
[1625] | 150 | class Camera; |
---|
[2087] | 151 | class CameraPosition; |
---|
| 152 | class SpawnPoint; |
---|
| 153 | |
---|
| 154 | class Spectator; |
---|
| 155 | class Pawn; |
---|
[1625] | 156 | class SpaceShip; |
---|
[1552] | 157 | |
---|
[2485] | 158 | class Item; |
---|
| 159 | class Engine; |
---|
| 160 | class MultiStateEngine; |
---|
| 161 | class RotatingEngine; |
---|
| 162 | |
---|
[2087] | 163 | class Trigger; |
---|
| 164 | class DistanceTrigger; |
---|
| 165 | class EventTrigger; |
---|
[2261] | 166 | class PlayerTrigger; |
---|
[1024] | 167 | |
---|
[2096] | 168 | class WeaponSystem; |
---|
| 169 | class WeaponSet; |
---|
| 170 | class WeaponSlot; |
---|
[2493] | 171 | class WeaponPack; |
---|
[2096] | 172 | class Weapon; |
---|
| 173 | class Munition; |
---|
[2493] | 174 | class LaserGun; |
---|
| 175 | class LaserGunMunition; |
---|
[2096] | 176 | |
---|
[2087] | 177 | class EventListener; |
---|
| 178 | class EventDispatcher; |
---|
| 179 | class EventTarget; |
---|
| 180 | |
---|
| 181 | class Controller; |
---|
| 182 | class HumanController; |
---|
[2485] | 183 | class ArtificialController; |
---|
| 184 | class AIController; |
---|
| 185 | class ScriptController; |
---|
[2087] | 186 | |
---|
| 187 | class Info; |
---|
| 188 | class PlayerInfo; |
---|
| 189 | class HumanPlayer; |
---|
[2485] | 190 | class Bot; |
---|
| 191 | class GametypeInfo; |
---|
[2087] | 192 | |
---|
| 193 | class Gametype; |
---|
| 194 | |
---|
| 195 | class Scores; |
---|
[2495] | 196 | class CreateLines; |
---|
| 197 | class Scoreboard; |
---|
| 198 | class Stats; |
---|
[2087] | 199 | |
---|
[2459] | 200 | // collision |
---|
| 201 | class CollisionShape; |
---|
| 202 | class SphereCollisionShape; |
---|
| 203 | class CompoundCollisionShape; |
---|
| 204 | class PlaneCollisionShape; |
---|
[2562] | 205 | class WorldEntityCollisionShape; |
---|
[2459] | 206 | |
---|
[1625] | 207 | // tools |
---|
| 208 | class BillboardSet; |
---|
| 209 | class Light; |
---|
| 210 | class Mesh; |
---|
| 211 | class ParticleInterface; |
---|
[2485] | 212 | class Shader; |
---|
[1625] | 213 | template <class T> |
---|
| 214 | class Timer; |
---|
[612] | 215 | |
---|
[1625] | 216 | // overlays |
---|
| 217 | class BarColour; |
---|
| 218 | class DebugFPSText; |
---|
| 219 | class DebugRTRText; |
---|
| 220 | class HUDBar; |
---|
| 221 | class HUDNavigation; |
---|
| 222 | class HUDRadar; |
---|
| 223 | class HUDSpeedBar; |
---|
[2485] | 224 | class HUDHealthBar; |
---|
[1625] | 225 | class InGameConsole; |
---|
[2385] | 226 | class Notification; |
---|
| 227 | class NotificationManager; |
---|
| 228 | class NotificationQueue; |
---|
[1625] | 229 | class OrxonoxOverlay; |
---|
| 230 | class OverlayGroup; |
---|
| 231 | class OverlayText; |
---|
[2485] | 232 | class GametypeStatus; |
---|
[2492] | 233 | class CreateLines; |
---|
| 234 | class Scoreboard; |
---|
[1755] | 235 | |
---|
| 236 | //gui |
---|
| 237 | class GUIManager; |
---|
| 238 | |
---|
| 239 | // game states |
---|
| 240 | class GSRoot; |
---|
| 241 | class GSGraphics; |
---|
| 242 | class GSIO; |
---|
| 243 | class GSIOConsole; |
---|
| 244 | class GSLevel; |
---|
| 245 | class GSStandalone; |
---|
| 246 | class GSServer; |
---|
| 247 | class GSClient; |
---|
| 248 | class GSGUI; |
---|
[1625] | 249 | } |
---|
[708] | 250 | |
---|
[1625] | 251 | namespace Ogre |
---|
| 252 | { |
---|
| 253 | // some got forgotten in OgrePrerequisites |
---|
| 254 | class BorderPanelOverlayElement; |
---|
| 255 | class PanelOverlayElement; |
---|
| 256 | class TextAreaOverlayElement; |
---|
[612] | 257 | } |
---|
| 258 | |
---|
[1755] | 259 | namespace CEGUI |
---|
| 260 | { |
---|
| 261 | class LuaScriptModule; |
---|
| 262 | |
---|
| 263 | class OgreCEGUIRenderer; |
---|
| 264 | class OgreCEGUIResourceProvider; |
---|
| 265 | class OgreCEGUITexture; |
---|
| 266 | } |
---|
| 267 | |
---|
[2459] | 268 | // Bullet Physics Engine |
---|
| 269 | |
---|
| 270 | class btTransform; |
---|
| 271 | class btVector3; |
---|
| 272 | |
---|
| 273 | class btRigidBody; |
---|
| 274 | class btCollisionObject; |
---|
| 275 | class btGhostObject; |
---|
[2466] | 276 | class btManifoldPoint; |
---|
[2459] | 277 | |
---|
| 278 | class btCollisionShape; |
---|
| 279 | class btSphereShape; |
---|
| 280 | class btCompoundShape; |
---|
| 281 | class btStaticPlaneShape; |
---|
| 282 | |
---|
| 283 | class btDiscreteDynamicsWorld; |
---|
| 284 | class bt32BitAxisSweep3; |
---|
| 285 | class btDefaultCollisionConfiguration; |
---|
| 286 | class btCollisionDispatcher; |
---|
| 287 | class btSequentialImpulseConstraintSolver; |
---|
| 288 | |
---|
| 289 | // lua |
---|
[1755] | 290 | struct lua_State; |
---|
| 291 | |
---|
[673] | 292 | #endif /* _OrxonoxPrereqs_H__ */ |
---|