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