[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 | |
---|
[2896] | 76 | class GraphicsManager; |
---|
| 77 | class OgreWindowEventListener; |
---|
[1755] | 78 | class Settings; |
---|
[612] | 79 | |
---|
[1625] | 80 | class RadarViewable; |
---|
| 81 | class Radar; |
---|
| 82 | class RadarListener; |
---|
[1024] | 83 | |
---|
[2826] | 84 | class Teamcolourable; |
---|
| 85 | |
---|
[2087] | 86 | class CameraManager; |
---|
| 87 | class LevelManager; |
---|
[2662] | 88 | class PawnManager; |
---|
[2171] | 89 | class PlayerManager; |
---|
[2087] | 90 | |
---|
[1625] | 91 | // objects |
---|
[2171] | 92 | class Level; |
---|
[2087] | 93 | class Scene; |
---|
| 94 | |
---|
[2095] | 95 | class AddQuest; |
---|
| 96 | class AddQuestHint; |
---|
| 97 | class AddReward; |
---|
| 98 | class ChangeQuestStatus; |
---|
| 99 | class CompleteQuest; |
---|
| 100 | class FailQuest; |
---|
| 101 | class GlobalQuest; |
---|
| 102 | class LocalQuest; |
---|
| 103 | class Quest; |
---|
| 104 | class QuestDescription; |
---|
| 105 | class QuestEffect; |
---|
[2261] | 106 | class QuestEffectBeacon; |
---|
[2095] | 107 | class QuestHint; |
---|
| 108 | class QuestItem; |
---|
[2662] | 109 | class QuestListener; |
---|
[2095] | 110 | class QuestManager; |
---|
[2911] | 111 | class QuestNotification; |
---|
[2095] | 112 | class Rewardable; |
---|
| 113 | |
---|
[2087] | 114 | class WorldEntity; |
---|
[2662] | 115 | class StaticEntity; |
---|
| 116 | class MobileEntity; |
---|
| 117 | class ControllableEntity; |
---|
[2087] | 118 | class MovableEntity; |
---|
| 119 | class Sublevel; |
---|
[3033] | 120 | class ForceField; |
---|
[3079] | 121 | class Attacher; |
---|
[2087] | 122 | |
---|
| 123 | class Model; |
---|
| 124 | class Billboard; |
---|
| 125 | class BlinkingBillboard; |
---|
[3087] | 126 | class BigExplosion; |
---|
[2662] | 127 | class ExplosionChunk; |
---|
| 128 | class FadingBillboard; |
---|
| 129 | class GlobalShader; |
---|
[2087] | 130 | class Light; |
---|
[1625] | 131 | class Backlight; |
---|
[2087] | 132 | class ParticleEmitter; |
---|
| 133 | class ParticleSpawner; |
---|
| 134 | |
---|
[2826] | 135 | class PongCenterpoint; |
---|
| 136 | class PongBall; |
---|
| 137 | class PongBat; |
---|
| 138 | |
---|
[1625] | 139 | class Camera; |
---|
[2087] | 140 | class CameraPosition; |
---|
| 141 | class SpawnPoint; |
---|
[2826] | 142 | class TeamSpawnPoint; |
---|
[3084] | 143 | class Test; |
---|
[2087] | 144 | |
---|
| 145 | class Spectator; |
---|
| 146 | class Pawn; |
---|
[1625] | 147 | class SpaceShip; |
---|
[3033] | 148 | class TeamBaseMatchBase; |
---|
| 149 | class Destroyer; |
---|
[1552] | 150 | |
---|
[3079] | 151 | class BaseItem; |
---|
| 152 | class DroppedItem; |
---|
| 153 | class EquipmentItem; |
---|
| 154 | class ModifierPickup; |
---|
| 155 | class PassiveItem; |
---|
| 156 | class PickupCollection; |
---|
| 157 | class PickupInventory; |
---|
| 158 | class PickupSpawner; |
---|
| 159 | class UsableItem; |
---|
| 160 | |
---|
| 161 | class Jump; |
---|
| 162 | class HealthUsable; |
---|
| 163 | class PassiveItem; |
---|
| 164 | |
---|
[2662] | 165 | class Item; |
---|
| 166 | class Engine; |
---|
| 167 | class MultiStateEngine; |
---|
| 168 | class RotatingEngine; |
---|
| 169 | |
---|
[2087] | 170 | class Trigger; |
---|
| 171 | class DistanceTrigger; |
---|
| 172 | class EventTrigger; |
---|
[2261] | 173 | class PlayerTrigger; |
---|
[3033] | 174 | class CheckPoint; |
---|
[1024] | 175 | |
---|
[2096] | 176 | class WeaponSystem; |
---|
| 177 | class WeaponSet; |
---|
| 178 | class WeaponSlot; |
---|
[2662] | 179 | class WeaponPack; |
---|
[2096] | 180 | class Weapon; |
---|
[3053] | 181 | class WeaponMode; |
---|
| 182 | class DefaultWeaponmodeLink; |
---|
| 183 | class MuzzleFlash; |
---|
| 184 | |
---|
| 185 | class LaserFire; |
---|
| 186 | class FusionFire; |
---|
| 187 | class HsW01; |
---|
| 188 | class LightningGun; |
---|
| 189 | class EnergyDrink; |
---|
| 190 | |
---|
| 191 | class ReplenishingMunition; |
---|
[2096] | 192 | class Munition; |
---|
[3053] | 193 | class LaserMunition; |
---|
[2893] | 194 | class FusionMunition; |
---|
[2096] | 195 | |
---|
[3053] | 196 | class Projectile; |
---|
| 197 | class BillboardProjectile; |
---|
| 198 | class ParticleProjectile; |
---|
| 199 | class LightningGunProjectile; |
---|
| 200 | |
---|
[2087] | 201 | class EventListener; |
---|
| 202 | class EventDispatcher; |
---|
| 203 | class EventTarget; |
---|
| 204 | |
---|
| 205 | class Controller; |
---|
| 206 | class HumanController; |
---|
[2662] | 207 | class ArtificialController; |
---|
| 208 | class AIController; |
---|
| 209 | class ScriptController; |
---|
[3049] | 210 | class WaypointController; |
---|
| 211 | class WaypointPatrolController; |
---|
[2839] | 212 | class PongAI; |
---|
[2087] | 213 | |
---|
| 214 | class Info; |
---|
| 215 | class PlayerInfo; |
---|
| 216 | class HumanPlayer; |
---|
[2662] | 217 | class Bot; |
---|
[2839] | 218 | class PongBot; |
---|
[2662] | 219 | class GametypeInfo; |
---|
[2087] | 220 | |
---|
| 221 | class Gametype; |
---|
[2826] | 222 | class Deathmatch; |
---|
| 223 | class TeamDeathmatch; |
---|
[3033] | 224 | class Asteroids; |
---|
| 225 | class TeamBaseMatch; |
---|
| 226 | class UnderAttack; |
---|
[2826] | 227 | class Pong; |
---|
[2087] | 228 | |
---|
| 229 | class Scores; |
---|
[2662] | 230 | class CreateLines; |
---|
| 231 | class Scoreboard; |
---|
| 232 | class Stats; |
---|
[2087] | 233 | |
---|
[2662] | 234 | // collision |
---|
| 235 | class CollisionShape; |
---|
| 236 | class SphereCollisionShape; |
---|
| 237 | class CompoundCollisionShape; |
---|
| 238 | class PlaneCollisionShape; |
---|
| 239 | class WorldEntityCollisionShape; |
---|
| 240 | |
---|
[1625] | 241 | // tools |
---|
| 242 | class BillboardSet; |
---|
| 243 | class Light; |
---|
| 244 | class Mesh; |
---|
| 245 | class ParticleInterface; |
---|
[2662] | 246 | class Shader; |
---|
[1625] | 247 | template <class T> |
---|
| 248 | class Timer; |
---|
[612] | 249 | |
---|
[1625] | 250 | // overlays |
---|
| 251 | class BarColour; |
---|
| 252 | class DebugFPSText; |
---|
| 253 | class DebugRTRText; |
---|
[3196] | 254 | class GUIOverlay; |
---|
[1625] | 255 | class HUDBar; |
---|
| 256 | class HUDNavigation; |
---|
| 257 | class HUDRadar; |
---|
| 258 | class HUDSpeedBar; |
---|
[2662] | 259 | class HUDHealthBar; |
---|
[3033] | 260 | class HUDTimer; |
---|
[1625] | 261 | class InGameConsole; |
---|
[2662] | 262 | class Notification; |
---|
| 263 | class NotificationManager; |
---|
[2911] | 264 | class NotificationOverlay; |
---|
[2662] | 265 | class NotificationQueue; |
---|
[1625] | 266 | class OrxonoxOverlay; |
---|
| 267 | class OverlayGroup; |
---|
| 268 | class OverlayText; |
---|
[3099] | 269 | class FadeoutText; |
---|
[2662] | 270 | class GametypeStatus; |
---|
[3099] | 271 | class AnnounceMessage; |
---|
| 272 | class KillMessage; |
---|
| 273 | class DeathMessage; |
---|
[2662] | 274 | class CreateLines; |
---|
| 275 | class Scoreboard; |
---|
[3089] | 276 | class Map; |
---|
[1755] | 277 | |
---|
| 278 | //gui |
---|
| 279 | class GUIManager; |
---|
[3060] | 280 | |
---|
| 281 | //sound |
---|
| 282 | class SoundBase; |
---|
| 283 | class SoundManager; |
---|
| 284 | class SoundMainMenu; |
---|
[1625] | 285 | } |
---|
[708] | 286 | |
---|
[1625] | 287 | namespace Ogre |
---|
| 288 | { |
---|
[3196] | 289 | // OGRE Wiki adapted code |
---|
| 290 | class DynamicLines; |
---|
| 291 | class DynamicRenderable; |
---|
[612] | 292 | } |
---|
| 293 | |
---|
[1755] | 294 | namespace CEGUI |
---|
| 295 | { |
---|
[3196] | 296 | class DefaultLogger; |
---|
[1755] | 297 | class LuaScriptModule; |
---|
| 298 | |
---|
| 299 | class OgreCEGUIRenderer; |
---|
| 300 | class OgreCEGUIResourceProvider; |
---|
| 301 | class OgreCEGUITexture; |
---|
| 302 | } |
---|
| 303 | |
---|
[2662] | 304 | // Bullet Physics Engine |
---|
| 305 | class btTransform; |
---|
| 306 | class btVector3; |
---|
| 307 | |
---|
| 308 | class btRigidBody; |
---|
| 309 | class btCollisionObject; |
---|
| 310 | class btGhostObject; |
---|
| 311 | class btManifoldPoint; |
---|
| 312 | |
---|
| 313 | class btCollisionShape; |
---|
| 314 | class btSphereShape; |
---|
| 315 | class btCompoundShape; |
---|
| 316 | class btStaticPlaneShape; |
---|
| 317 | |
---|
| 318 | class btDiscreteDynamicsWorld; |
---|
| 319 | class bt32BitAxisSweep3; |
---|
| 320 | class btDefaultCollisionConfiguration; |
---|
| 321 | class btCollisionDispatcher; |
---|
| 322 | class btSequentialImpulseConstraintSolver; |
---|
| 323 | |
---|
[3196] | 324 | // ALUT |
---|
| 325 | typedef struct ALCcontext_struct ALCcontext; |
---|
| 326 | typedef struct ALCdevice_struct ALCdevice; |
---|
| 327 | typedef unsigned int ALuint; |
---|
| 328 | typedef int ALint; |
---|
| 329 | |
---|
| 330 | // Lua |
---|
[1755] | 331 | struct lua_State; |
---|
| 332 | |
---|
[673] | 333 | #endif /* _OrxonoxPrereqs_H__ */ |
---|