[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; |
---|
[5738] | 77 | class Scene; |
---|
[10281] | 78 | class GSLevelMemento; |
---|
| 79 | struct GSLevelMementoState; |
---|
[5738] | 80 | |
---|
[8858] | 81 | // chat |
---|
| 82 | class ChatHistory; |
---|
| 83 | class ChatInputHandler; |
---|
| 84 | class ChatListener; |
---|
| 85 | class ChatManager; |
---|
| 86 | |
---|
[5929] | 87 | // collisionshapes |
---|
| 88 | class CollisionShape; |
---|
| 89 | class CompoundCollisionShape; |
---|
| 90 | class WorldEntityCollisionShape; |
---|
[5693] | 91 | |
---|
[5929] | 92 | // controllers |
---|
| 93 | class AIController; |
---|
| 94 | class ArtificialController; |
---|
| 95 | class Controller; |
---|
[7163] | 96 | class DroneController; |
---|
[5929] | 97 | class HumanController; |
---|
| 98 | class ScriptController; |
---|
| 99 | class WaypointController; |
---|
| 100 | class WaypointPatrolController; |
---|
[2087] | 101 | |
---|
[5929] | 102 | // gametypes |
---|
| 103 | class Asteroids; |
---|
| 104 | class Deathmatch; |
---|
[7163] | 105 | class Dynamicmatch; |
---|
[5929] | 106 | class Gametype; |
---|
[7655] | 107 | class LastManStanding; |
---|
[8178] | 108 | class LastTeamStanding; |
---|
[5929] | 109 | class TeamBaseMatch; |
---|
| 110 | class TeamDeathmatch; |
---|
| 111 | class UnderAttack; |
---|
[9348] | 112 | class TeamGametype; |
---|
[5929] | 113 | |
---|
[5693] | 114 | // graphics |
---|
[5929] | 115 | class Backlight; |
---|
[2087] | 116 | class Billboard; |
---|
| 117 | class BlinkingBillboard; |
---|
[5929] | 118 | class Camera; |
---|
[2662] | 119 | class FadingBillboard; |
---|
| 120 | class GlobalShader; |
---|
[2087] | 121 | class Light; |
---|
[5929] | 122 | class Model; |
---|
[2087] | 123 | class ParticleEmitter; |
---|
| 124 | class ParticleSpawner; |
---|
| 125 | |
---|
[5929] | 126 | // infos |
---|
| 127 | class Bot; |
---|
| 128 | class GametypeInfo; |
---|
| 129 | class HumanPlayer; |
---|
| 130 | class Info; |
---|
| 131 | class PlayerInfo; |
---|
[5693] | 132 | |
---|
[5929] | 133 | // interfaces |
---|
| 134 | class GametypeMessageListener; |
---|
| 135 | class NotificationListener; |
---|
[6524] | 136 | class Pickupable; |
---|
| 137 | class PickupCarrier; |
---|
[5929] | 138 | class PlayerTrigger; |
---|
| 139 | class RadarListener; |
---|
| 140 | class RadarViewable; |
---|
| 141 | class Rewardable; |
---|
| 142 | class TeamColourable; |
---|
[5693] | 143 | |
---|
[5929] | 144 | // items |
---|
[10216] | 145 | class ShipPart; |
---|
| 146 | class PartDestructionEvent; |
---|
[5929] | 147 | class Engine; |
---|
| 148 | class Item; |
---|
| 149 | class MultiStateEngine; |
---|
[2087] | 150 | |
---|
[5929] | 151 | // overlays |
---|
| 152 | class InGameConsole; |
---|
| 153 | class Map; |
---|
| 154 | class OrxonoxOverlay; |
---|
| 155 | class OverlayGroup; |
---|
[7163] | 156 | |
---|
[5929] | 157 | //sound |
---|
| 158 | class AmbientSound; |
---|
| 159 | class BaseSound; |
---|
[6417] | 160 | class SoundBuffer; |
---|
[5929] | 161 | class SoundManager; |
---|
[6417] | 162 | class SoundStreamer; |
---|
[5929] | 163 | class WorldSound; |
---|
[7854] | 164 | class WorldAmbientSound; |
---|
[2662] | 165 | |
---|
[5693] | 166 | // weaponsystem |
---|
[5929] | 167 | class DefaultWeaponmodeLink; |
---|
| 168 | class Munition; |
---|
[10961] | 169 | class ReplenishingMunition; |
---|
[5929] | 170 | class Weapon; |
---|
| 171 | class WeaponMode; |
---|
| 172 | class WeaponPack; |
---|
[2096] | 173 | class WeaponSet; |
---|
| 174 | class WeaponSlot; |
---|
[5929] | 175 | class WeaponSystem; |
---|
[2096] | 176 | |
---|
[5929] | 177 | // worldentities |
---|
| 178 | class CameraPosition; |
---|
| 179 | class ControllableEntity; |
---|
[7163] | 180 | class Drone; |
---|
[6417] | 181 | class EffectContainer; |
---|
[5929] | 182 | class ExplosionChunk; |
---|
| 183 | class MobileEntity; |
---|
| 184 | class MovableEntity; |
---|
| 185 | class SpawnPoint; |
---|
| 186 | class StaticEntity; |
---|
| 187 | class TeamSpawnPoint; |
---|
| 188 | class WorldEntity; |
---|
[6417] | 189 | class Rocket; |
---|
[5929] | 190 | // worldentities, pawns |
---|
| 191 | class Destroyer; |
---|
| 192 | class Pawn; |
---|
| 193 | class SpaceShip; |
---|
[10216] | 194 | class ModularSpaceShip; |
---|
[5929] | 195 | class Spectator; |
---|
| 196 | class TeamBaseMatchBase; |
---|
[1625] | 197 | } |
---|
[708] | 198 | |
---|
[2662] | 199 | // Bullet Physics Engine |
---|
| 200 | class btTransform; |
---|
| 201 | class btVector3; |
---|
| 202 | |
---|
| 203 | class btRigidBody; |
---|
| 204 | class btCollisionObject; |
---|
| 205 | class btGhostObject; |
---|
| 206 | class btManifoldPoint; |
---|
| 207 | |
---|
| 208 | class btCollisionShape; |
---|
| 209 | class btSphereShape; |
---|
| 210 | class btCompoundShape; |
---|
| 211 | class btStaticPlaneShape; |
---|
| 212 | |
---|
| 213 | class btDiscreteDynamicsWorld; |
---|
| 214 | class bt32BitAxisSweep3; |
---|
| 215 | class btDefaultCollisionConfiguration; |
---|
| 216 | class btCollisionDispatcher; |
---|
| 217 | class btSequentialImpulseConstraintSolver; |
---|
| 218 | |
---|
[3196] | 219 | // ALUT |
---|
| 220 | typedef struct ALCcontext_struct ALCcontext; |
---|
| 221 | typedef struct ALCdevice_struct ALCdevice; |
---|
| 222 | typedef unsigned int ALuint; |
---|
| 223 | typedef int ALint; |
---|
[6417] | 224 | typedef int ALenum; |
---|
[3196] | 225 | |
---|
[673] | 226 | #endif /* _OrxonoxPrereqs_H__ */ |
---|