[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 | /** |
---|
[5929] | 30 | @file |
---|
| 31 | @brief |
---|
| 32 | Shared library macros, enums, constants and forward declarations for the orxonox library |
---|
[1024] | 33 | */ |
---|
[612] | 34 | |
---|
[673] | 35 | #ifndef _OrxonoxPrereqs_H__ |
---|
| 36 | #define _OrxonoxPrereqs_H__ |
---|
[612] | 37 | |
---|
[2710] | 38 | #include "OrxonoxConfig.h" |
---|
[5781] | 39 | #include "tools/ToolsPrereqs.h" |
---|
| 40 | |
---|
[1024] | 41 | //----------------------------------------------------------------------- |
---|
| 42 | // Shared library settings |
---|
| 43 | //----------------------------------------------------------------------- |
---|
[5929] | 44 | |
---|
[5693] | 45 | #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) |
---|
[1024] | 46 | # ifdef ORXONOX_SHARED_BUILD |
---|
| 47 | # define _OrxonoxExport __declspec(dllexport) |
---|
| 48 | # else |
---|
| 49 | # if defined( __MINGW32__ ) |
---|
| 50 | # define _OrxonoxExport |
---|
| 51 | # else |
---|
| 52 | # define _OrxonoxExport __declspec(dllimport) |
---|
| 53 | # endif |
---|
| 54 | # endif |
---|
[8351] | 55 | # define _OrxonoxPrivate |
---|
| 56 | #elif defined (ORXONOX_GCC_VISIBILITY) |
---|
[1024] | 57 | # define _OrxonoxExport __attribute__ ((visibility("default"))) |
---|
[8351] | 58 | # define _OrxonoxPrivate __attribute__ ((visibility("hidden"))) |
---|
[1024] | 59 | #else |
---|
| 60 | # define _OrxonoxExport |
---|
[8351] | 61 | # define _OrxonoxPrivate |
---|
[1024] | 62 | #endif |
---|
[729] | 63 | |
---|
| 64 | //----------------------------------------------------------------------- |
---|
[1024] | 65 | // Forward declarations |
---|
| 66 | //----------------------------------------------------------------------- |
---|
[729] | 67 | |
---|
[1563] | 68 | namespace orxonox |
---|
| 69 | { |
---|
[2087] | 70 | class CameraManager; |
---|
[5929] | 71 | class Level; |
---|
[7648] | 72 | class LevelInfo; |
---|
| 73 | class LevelInfoItem; |
---|
[2087] | 74 | class LevelManager; |
---|
[2171] | 75 | class PlayerManager; |
---|
[5929] | 76 | class Radar; |
---|
[11080] | 77 | class RenderQueueListener; |
---|
[5738] | 78 | class Scene; |
---|
[10281] | 79 | class GSLevelMemento; |
---|
| 80 | struct GSLevelMementoState; |
---|
[5738] | 81 | |
---|
[8858] | 82 | // chat |
---|
| 83 | class ChatHistory; |
---|
| 84 | class ChatInputHandler; |
---|
| 85 | class ChatListener; |
---|
| 86 | class ChatManager; |
---|
| 87 | |
---|
[5929] | 88 | // collisionshapes |
---|
| 89 | class CollisionShape; |
---|
| 90 | class CompoundCollisionShape; |
---|
| 91 | class WorldEntityCollisionShape; |
---|
[5693] | 92 | |
---|
[5929] | 93 | // controllers |
---|
| 94 | class AIController; |
---|
| 95 | class ArtificialController; |
---|
| 96 | class Controller; |
---|
[7163] | 97 | class DroneController; |
---|
[5929] | 98 | class HumanController; |
---|
| 99 | class ScriptController; |
---|
| 100 | class WaypointController; |
---|
| 101 | class WaypointPatrolController; |
---|
[2087] | 102 | |
---|
[5929] | 103 | // gametypes |
---|
| 104 | class Asteroids; |
---|
| 105 | class Deathmatch; |
---|
[7163] | 106 | class Dynamicmatch; |
---|
[5929] | 107 | class Gametype; |
---|
[7655] | 108 | class LastManStanding; |
---|
[8178] | 109 | class LastTeamStanding; |
---|
[5929] | 110 | class TeamBaseMatch; |
---|
| 111 | class TeamDeathmatch; |
---|
| 112 | class UnderAttack; |
---|
[9348] | 113 | class TeamGametype; |
---|
[5929] | 114 | |
---|
[5693] | 115 | // graphics |
---|
[5929] | 116 | class Backlight; |
---|
[2087] | 117 | class Billboard; |
---|
| 118 | class BlinkingBillboard; |
---|
[5929] | 119 | class Camera; |
---|
[2662] | 120 | class FadingBillboard; |
---|
| 121 | class GlobalShader; |
---|
[2087] | 122 | class Light; |
---|
[5929] | 123 | class Model; |
---|
[2087] | 124 | class ParticleEmitter; |
---|
| 125 | class ParticleSpawner; |
---|
| 126 | |
---|
[5929] | 127 | // infos |
---|
| 128 | class Bot; |
---|
| 129 | class GametypeInfo; |
---|
| 130 | class HumanPlayer; |
---|
| 131 | class Info; |
---|
| 132 | class PlayerInfo; |
---|
[5693] | 133 | |
---|
[5929] | 134 | // interfaces |
---|
| 135 | class GametypeMessageListener; |
---|
| 136 | class NotificationListener; |
---|
[6524] | 137 | class Pickupable; |
---|
| 138 | class PickupCarrier; |
---|
[5929] | 139 | class PlayerTrigger; |
---|
| 140 | class RadarListener; |
---|
| 141 | class RadarViewable; |
---|
| 142 | class Rewardable; |
---|
| 143 | class TeamColourable; |
---|
[5693] | 144 | |
---|
[5929] | 145 | // items |
---|
[10216] | 146 | class ShipPart; |
---|
| 147 | class PartDestructionEvent; |
---|
[5929] | 148 | class Engine; |
---|
| 149 | class Item; |
---|
| 150 | class MultiStateEngine; |
---|
[2087] | 151 | |
---|
[5929] | 152 | // overlays |
---|
| 153 | class InGameConsole; |
---|
| 154 | class Map; |
---|
| 155 | class OrxonoxOverlay; |
---|
| 156 | class OverlayGroup; |
---|
[7163] | 157 | |
---|
[5929] | 158 | //sound |
---|
| 159 | class AmbientSound; |
---|
| 160 | class BaseSound; |
---|
[6417] | 161 | class SoundBuffer; |
---|
[5929] | 162 | class SoundManager; |
---|
[6417] | 163 | class SoundStreamer; |
---|
[5929] | 164 | class WorldSound; |
---|
[7854] | 165 | class WorldAmbientSound; |
---|
[2662] | 166 | |
---|
[5693] | 167 | // weaponsystem |
---|
[5929] | 168 | class DefaultWeaponmodeLink; |
---|
| 169 | class Munition; |
---|
[11052] | 170 | class ReplenishingMunition; |
---|
[5929] | 171 | class Weapon; |
---|
| 172 | class WeaponMode; |
---|
| 173 | class WeaponPack; |
---|
[2096] | 174 | class WeaponSet; |
---|
| 175 | class WeaponSlot; |
---|
[5929] | 176 | class WeaponSystem; |
---|
[2096] | 177 | |
---|
[5929] | 178 | // worldentities |
---|
| 179 | class CameraPosition; |
---|
| 180 | class ControllableEntity; |
---|
[7163] | 181 | class Drone; |
---|
[6417] | 182 | class EffectContainer; |
---|
[5929] | 183 | class ExplosionChunk; |
---|
| 184 | class MobileEntity; |
---|
| 185 | class MovableEntity; |
---|
| 186 | class SpawnPoint; |
---|
| 187 | class StaticEntity; |
---|
| 188 | class TeamSpawnPoint; |
---|
| 189 | class WorldEntity; |
---|
[6417] | 190 | class Rocket; |
---|
[5929] | 191 | // worldentities, pawns |
---|
| 192 | class Destroyer; |
---|
| 193 | class Pawn; |
---|
| 194 | class SpaceShip; |
---|
[10216] | 195 | class ModularSpaceShip; |
---|
[5929] | 196 | class Spectator; |
---|
| 197 | class TeamBaseMatchBase; |
---|
[1625] | 198 | } |
---|
[708] | 199 | |
---|
[2662] | 200 | // Bullet Physics Engine |
---|
| 201 | class btTransform; |
---|
| 202 | class btVector3; |
---|
| 203 | |
---|
| 204 | class btRigidBody; |
---|
| 205 | class btCollisionObject; |
---|
| 206 | class btGhostObject; |
---|
| 207 | class btManifoldPoint; |
---|
| 208 | |
---|
| 209 | class btCollisionShape; |
---|
| 210 | class btSphereShape; |
---|
| 211 | class btCompoundShape; |
---|
| 212 | class btStaticPlaneShape; |
---|
| 213 | |
---|
| 214 | class btDiscreteDynamicsWorld; |
---|
| 215 | class bt32BitAxisSweep3; |
---|
| 216 | class btDefaultCollisionConfiguration; |
---|
| 217 | class btCollisionDispatcher; |
---|
| 218 | class btSequentialImpulseConstraintSolver; |
---|
| 219 | |
---|
[3196] | 220 | // ALUT |
---|
| 221 | typedef struct ALCcontext_struct ALCcontext; |
---|
| 222 | typedef struct ALCdevice_struct ALCdevice; |
---|
| 223 | typedef unsigned int ALuint; |
---|
| 224 | typedef int ALint; |
---|
[6417] | 225 | typedef int ALenum; |
---|
[3196] | 226 | |
---|
[673] | 227 | #endif /* _OrxonoxPrereqs_H__ */ |
---|