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