[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 | |
---|
[5693] | 39 | #include "tools/ToolsPrereqs.h" |
---|
| 40 | |
---|
[1024] | 41 | //----------------------------------------------------------------------- |
---|
| 42 | // Shared library settings |
---|
| 43 | //----------------------------------------------------------------------- |
---|
[5693] | 44 | #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) |
---|
[1024] | 45 | # ifdef ORXONOX_SHARED_BUILD |
---|
| 46 | # define _OrxonoxExport __declspec(dllexport) |
---|
| 47 | # else |
---|
| 48 | # if defined( __MINGW32__ ) |
---|
| 49 | # define _OrxonoxExport |
---|
| 50 | # else |
---|
| 51 | # define _OrxonoxExport __declspec(dllimport) |
---|
| 52 | # endif |
---|
| 53 | # endif |
---|
| 54 | #elif defined ( ORXONOX_GCC_VISIBILITY ) |
---|
| 55 | # define _OrxonoxExport __attribute__ ((visibility("default"))) |
---|
| 56 | #else |
---|
| 57 | # define _OrxonoxExport |
---|
| 58 | #endif |
---|
[729] | 59 | |
---|
| 60 | //----------------------------------------------------------------------- |
---|
[1024] | 61 | // Forward declarations |
---|
| 62 | //----------------------------------------------------------------------- |
---|
[729] | 63 | |
---|
[1563] | 64 | namespace orxonox |
---|
| 65 | { |
---|
[5693] | 66 | // manager |
---|
[2087] | 67 | class CameraManager; |
---|
| 68 | class LevelManager; |
---|
[2662] | 69 | class PawnManager; |
---|
[2171] | 70 | class PlayerManager; |
---|
[2087] | 71 | |
---|
[5693] | 72 | // interfaces |
---|
| 73 | class GametypeMessageListener; |
---|
| 74 | class NotificationListener; |
---|
| 75 | class PawnListener; |
---|
[5727] | 76 | class PlayerTrigger; |
---|
[5693] | 77 | class RadarListener; |
---|
| 78 | class RadarViewable; |
---|
| 79 | class Rewardable; |
---|
| 80 | class Teamcolourable; |
---|
| 81 | |
---|
[1625] | 82 | // objects |
---|
[2171] | 83 | class Level; |
---|
[2087] | 84 | class Scene; |
---|
[3327] | 85 | class Tickable; |
---|
[2087] | 86 | |
---|
[5693] | 87 | // worldentities |
---|
[2087] | 88 | class WorldEntity; |
---|
[2662] | 89 | class StaticEntity; |
---|
| 90 | class MobileEntity; |
---|
| 91 | class ControllableEntity; |
---|
[2087] | 92 | class MovableEntity; |
---|
| 93 | |
---|
[5693] | 94 | // graphics |
---|
[2087] | 95 | class Model; |
---|
| 96 | class Billboard; |
---|
| 97 | class BlinkingBillboard; |
---|
[3087] | 98 | class BigExplosion; |
---|
[2662] | 99 | class ExplosionChunk; |
---|
| 100 | class FadingBillboard; |
---|
| 101 | class GlobalShader; |
---|
[2087] | 102 | class Light; |
---|
[1625] | 103 | class Backlight; |
---|
[2087] | 104 | class ParticleEmitter; |
---|
| 105 | class ParticleSpawner; |
---|
[5693] | 106 | class Camera; |
---|
[2087] | 107 | |
---|
[5693] | 108 | // mixed |
---|
| 109 | class EventListener; |
---|
| 110 | class EventDispatcher; |
---|
| 111 | class EventTarget; |
---|
| 112 | |
---|
[2087] | 113 | class SpawnPoint; |
---|
[2826] | 114 | class TeamSpawnPoint; |
---|
[5693] | 115 | |
---|
| 116 | class Attacher; |
---|
| 117 | class CameraPosition; |
---|
| 118 | class Sublevel; |
---|
| 119 | class ForceField; |
---|
| 120 | class Radar; |
---|
| 121 | |
---|
[3084] | 122 | class Test; |
---|
[2087] | 123 | |
---|
[5693] | 124 | // pawns |
---|
[2087] | 125 | class Spectator; |
---|
| 126 | class Pawn; |
---|
[1625] | 127 | class SpaceShip; |
---|
[3033] | 128 | class TeamBaseMatchBase; |
---|
| 129 | class Destroyer; |
---|
[1552] | 130 | |
---|
[5693] | 131 | // gametypes |
---|
| 132 | class Gametype; |
---|
| 133 | class Deathmatch; |
---|
| 134 | class TeamDeathmatch; |
---|
| 135 | class Asteroids; |
---|
| 136 | class TeamBaseMatch; |
---|
| 137 | class UnderAttack; |
---|
| 138 | |
---|
| 139 | // pickups |
---|
[3079] | 140 | class BaseItem; |
---|
| 141 | class DroppedItem; |
---|
| 142 | class EquipmentItem; |
---|
| 143 | class ModifierPickup; |
---|
| 144 | class PassiveItem; |
---|
| 145 | class PickupCollection; |
---|
| 146 | class PickupInventory; |
---|
| 147 | class PickupSpawner; |
---|
| 148 | class UsableItem; |
---|
| 149 | |
---|
| 150 | class Jump; |
---|
| 151 | class HealthUsable; |
---|
| 152 | class PassiveItem; |
---|
| 153 | |
---|
[5693] | 154 | // items |
---|
[2662] | 155 | class Item; |
---|
| 156 | class Engine; |
---|
| 157 | class MultiStateEngine; |
---|
| 158 | class RotatingEngine; |
---|
| 159 | |
---|
[5693] | 160 | // trigger |
---|
[2087] | 161 | class Trigger; |
---|
| 162 | class DistanceTrigger; |
---|
| 163 | class EventTrigger; |
---|
[3033] | 164 | class CheckPoint; |
---|
[1024] | 165 | |
---|
[5693] | 166 | // weaponsystem |
---|
[2096] | 167 | class WeaponSystem; |
---|
| 168 | class WeaponSet; |
---|
| 169 | class WeaponSlot; |
---|
[2662] | 170 | class WeaponPack; |
---|
[2096] | 171 | class Weapon; |
---|
[3053] | 172 | class WeaponMode; |
---|
| 173 | class DefaultWeaponmodeLink; |
---|
[2096] | 174 | class Munition; |
---|
| 175 | |
---|
[5693] | 176 | // controller |
---|
[2087] | 177 | class Controller; |
---|
| 178 | class HumanController; |
---|
[2662] | 179 | class ArtificialController; |
---|
| 180 | class AIController; |
---|
| 181 | class ScriptController; |
---|
[3049] | 182 | class WaypointController; |
---|
| 183 | class WaypointPatrolController; |
---|
[2087] | 184 | |
---|
[5693] | 185 | // infos |
---|
[2087] | 186 | class Info; |
---|
| 187 | class PlayerInfo; |
---|
| 188 | class HumanPlayer; |
---|
[2662] | 189 | class Bot; |
---|
| 190 | class GametypeInfo; |
---|
[2087] | 191 | |
---|
[2662] | 192 | // collision |
---|
| 193 | class CollisionShape; |
---|
| 194 | class SphereCollisionShape; |
---|
| 195 | class CompoundCollisionShape; |
---|
| 196 | class PlaneCollisionShape; |
---|
| 197 | class WorldEntityCollisionShape; |
---|
| 198 | |
---|
[1625] | 199 | // overlays |
---|
[5693] | 200 | class OverlayGroup; |
---|
| 201 | class OrxonoxOverlay; |
---|
[2662] | 202 | class Notification; |
---|
| 203 | class NotificationManager; |
---|
[5693] | 204 | class InGameConsole; |
---|
[3089] | 205 | class Map; |
---|
[1755] | 206 | |
---|
[3060] | 207 | //sound |
---|
| 208 | class SoundBase; |
---|
| 209 | class SoundManager; |
---|
| 210 | class SoundMainMenu; |
---|
[1625] | 211 | } |
---|
[708] | 212 | |
---|
[2662] | 213 | // Bullet Physics Engine |
---|
| 214 | class btTransform; |
---|
| 215 | class btVector3; |
---|
| 216 | |
---|
| 217 | class btRigidBody; |
---|
| 218 | class btCollisionObject; |
---|
| 219 | class btGhostObject; |
---|
| 220 | class btManifoldPoint; |
---|
| 221 | |
---|
| 222 | class btCollisionShape; |
---|
| 223 | class btSphereShape; |
---|
| 224 | class btCompoundShape; |
---|
| 225 | class btStaticPlaneShape; |
---|
| 226 | |
---|
| 227 | class btDiscreteDynamicsWorld; |
---|
| 228 | class bt32BitAxisSweep3; |
---|
| 229 | class btDefaultCollisionConfiguration; |
---|
| 230 | class btCollisionDispatcher; |
---|
| 231 | class btSequentialImpulseConstraintSolver; |
---|
| 232 | |
---|
[3196] | 233 | // ALUT |
---|
| 234 | typedef struct ALCcontext_struct ALCcontext; |
---|
| 235 | typedef struct ALCdevice_struct ALCdevice; |
---|
| 236 | typedef unsigned int ALuint; |
---|
| 237 | typedef int ALint; |
---|
| 238 | |
---|
[673] | 239 | #endif /* _OrxonoxPrereqs_H__ */ |
---|