[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 | |
---|
[2896] | 96 | class GraphicsManager; |
---|
| 97 | class OgreWindowEventListener; |
---|
[1755] | 98 | class Settings; |
---|
[612] | 99 | |
---|
[1625] | 100 | class RadarViewable; |
---|
| 101 | class Radar; |
---|
| 102 | class RadarListener; |
---|
[1024] | 103 | |
---|
[2826] | 104 | class Teamcolourable; |
---|
| 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; |
---|
[2911] | 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 | |
---|
[2826] | 152 | class PongCenterpoint; |
---|
| 153 | class PongBall; |
---|
| 154 | class PongBat; |
---|
| 155 | |
---|
[1625] | 156 | class Camera; |
---|
[2087] | 157 | class CameraPosition; |
---|
| 158 | class SpawnPoint; |
---|
[2826] | 159 | class TeamSpawnPoint; |
---|
[2990] | 160 | class Test; |
---|
[2087] | 161 | |
---|
| 162 | class Spectator; |
---|
| 163 | class Pawn; |
---|
[1625] | 164 | class SpaceShip; |
---|
[1552] | 165 | |
---|
[2662] | 166 | class Item; |
---|
| 167 | class Engine; |
---|
| 168 | class MultiStateEngine; |
---|
| 169 | class RotatingEngine; |
---|
| 170 | |
---|
[2087] | 171 | class Trigger; |
---|
| 172 | class DistanceTrigger; |
---|
| 173 | class EventTrigger; |
---|
[2261] | 174 | class PlayerTrigger; |
---|
[1024] | 175 | |
---|
[2096] | 176 | class WeaponSystem; |
---|
| 177 | class WeaponSet; |
---|
| 178 | class WeaponSlot; |
---|
[2662] | 179 | class WeaponPack; |
---|
[2096] | 180 | class Weapon; |
---|
| 181 | class Munition; |
---|
[2662] | 182 | class LaserGun; |
---|
| 183 | class LaserGunMunition; |
---|
[2893] | 184 | class FusionMunition; |
---|
[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; |
---|
[2839] | 195 | class PongAI; |
---|
[2087] | 196 | |
---|
| 197 | class Info; |
---|
| 198 | class PlayerInfo; |
---|
| 199 | class HumanPlayer; |
---|
[2662] | 200 | class Bot; |
---|
[2839] | 201 | class PongBot; |
---|
[2662] | 202 | class GametypeInfo; |
---|
[2087] | 203 | |
---|
| 204 | class Gametype; |
---|
[2826] | 205 | class Deathmatch; |
---|
| 206 | class TeamDeathmatch; |
---|
| 207 | class Pong; |
---|
[2087] | 208 | |
---|
| 209 | class Scores; |
---|
[2662] | 210 | class CreateLines; |
---|
| 211 | class Scoreboard; |
---|
| 212 | class Stats; |
---|
[2087] | 213 | |
---|
[2662] | 214 | // collision |
---|
| 215 | class CollisionShape; |
---|
| 216 | class SphereCollisionShape; |
---|
| 217 | class CompoundCollisionShape; |
---|
| 218 | class PlaneCollisionShape; |
---|
| 219 | class WorldEntityCollisionShape; |
---|
| 220 | |
---|
[1625] | 221 | // tools |
---|
| 222 | class BillboardSet; |
---|
| 223 | class Light; |
---|
| 224 | class Mesh; |
---|
| 225 | class ParticleInterface; |
---|
[2662] | 226 | class Shader; |
---|
[1625] | 227 | template <class T> |
---|
| 228 | class Timer; |
---|
[612] | 229 | |
---|
[1625] | 230 | // overlays |
---|
| 231 | class BarColour; |
---|
| 232 | class DebugFPSText; |
---|
| 233 | class DebugRTRText; |
---|
| 234 | class HUDBar; |
---|
| 235 | class HUDNavigation; |
---|
| 236 | class HUDRadar; |
---|
| 237 | class HUDSpeedBar; |
---|
[2662] | 238 | class HUDHealthBar; |
---|
[1625] | 239 | class InGameConsole; |
---|
[2662] | 240 | class Notification; |
---|
| 241 | class NotificationManager; |
---|
[2911] | 242 | class NotificationOverlay; |
---|
[2662] | 243 | class NotificationQueue; |
---|
[1625] | 244 | class OrxonoxOverlay; |
---|
| 245 | class OverlayGroup; |
---|
| 246 | class OverlayText; |
---|
[2662] | 247 | class GametypeStatus; |
---|
| 248 | class CreateLines; |
---|
| 249 | class Scoreboard; |
---|
[1755] | 250 | |
---|
| 251 | //gui |
---|
| 252 | class GUIManager; |
---|
[1625] | 253 | } |
---|
[708] | 254 | |
---|
[1625] | 255 | namespace Ogre |
---|
| 256 | { |
---|
| 257 | // some got forgotten in OgrePrerequisites |
---|
| 258 | class BorderPanelOverlayElement; |
---|
| 259 | class PanelOverlayElement; |
---|
| 260 | class TextAreaOverlayElement; |
---|
[612] | 261 | } |
---|
| 262 | |
---|
[1755] | 263 | namespace CEGUI |
---|
| 264 | { |
---|
| 265 | class LuaScriptModule; |
---|
| 266 | |
---|
| 267 | class OgreCEGUIRenderer; |
---|
| 268 | class OgreCEGUIResourceProvider; |
---|
| 269 | class OgreCEGUITexture; |
---|
| 270 | } |
---|
| 271 | |
---|
[2662] | 272 | // Bullet Physics Engine |
---|
| 273 | |
---|
| 274 | class btTransform; |
---|
| 275 | class btVector3; |
---|
| 276 | |
---|
| 277 | class btRigidBody; |
---|
| 278 | class btCollisionObject; |
---|
| 279 | class btGhostObject; |
---|
| 280 | class btManifoldPoint; |
---|
| 281 | |
---|
| 282 | class btCollisionShape; |
---|
| 283 | class btSphereShape; |
---|
| 284 | class btCompoundShape; |
---|
| 285 | class btStaticPlaneShape; |
---|
| 286 | |
---|
| 287 | class btDiscreteDynamicsWorld; |
---|
| 288 | class bt32BitAxisSweep3; |
---|
| 289 | class btDefaultCollisionConfiguration; |
---|
| 290 | class btCollisionDispatcher; |
---|
| 291 | class btSequentialImpulseConstraintSolver; |
---|
| 292 | |
---|
| 293 | // lua |
---|
[1755] | 294 | struct lua_State; |
---|
| 295 | |
---|
[673] | 296 | #endif /* _OrxonoxPrereqs_H__ */ |
---|