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