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