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