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