[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; |
---|
[9286] | 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 |
---|
| 144 | class Engine; |
---|
| 145 | class Item; |
---|
| 146 | class MultiStateEngine; |
---|
[2087] | 147 | |
---|
[5929] | 148 | // overlays |
---|
| 149 | class InGameConsole; |
---|
| 150 | class Map; |
---|
| 151 | class OrxonoxOverlay; |
---|
| 152 | class OverlayGroup; |
---|
[7163] | 153 | |
---|
[5929] | 154 | //sound |
---|
| 155 | class AmbientSound; |
---|
| 156 | class BaseSound; |
---|
[6417] | 157 | class SoundBuffer; |
---|
[5929] | 158 | class SoundManager; |
---|
[6417] | 159 | class SoundStreamer; |
---|
[5929] | 160 | class WorldSound; |
---|
[7854] | 161 | class WorldAmbientSound; |
---|
[2662] | 162 | |
---|
[5693] | 163 | // weaponsystem |
---|
[5929] | 164 | class DefaultWeaponmodeLink; |
---|
| 165 | class Munition; |
---|
| 166 | class Weapon; |
---|
| 167 | class WeaponMode; |
---|
| 168 | class WeaponPack; |
---|
[2096] | 169 | class WeaponSet; |
---|
| 170 | class WeaponSlot; |
---|
[5929] | 171 | class WeaponSystem; |
---|
[2096] | 172 | |
---|
[5929] | 173 | // worldentities |
---|
| 174 | class BigExplosion; |
---|
| 175 | class CameraPosition; |
---|
| 176 | class ControllableEntity; |
---|
[7163] | 177 | class Drone; |
---|
[6417] | 178 | class EffectContainer; |
---|
[5929] | 179 | class ExplosionChunk; |
---|
| 180 | class MobileEntity; |
---|
| 181 | class MovableEntity; |
---|
| 182 | class SpawnPoint; |
---|
| 183 | class StaticEntity; |
---|
| 184 | class TeamSpawnPoint; |
---|
| 185 | class WorldEntity; |
---|
[6417] | 186 | class Rocket; |
---|
[5929] | 187 | // worldentities, pawns |
---|
| 188 | class Destroyer; |
---|
| 189 | class Pawn; |
---|
| 190 | class SpaceShip; |
---|
| 191 | class Spectator; |
---|
| 192 | class TeamBaseMatchBase; |
---|
[1625] | 193 | } |
---|
[708] | 194 | |
---|
[2662] | 195 | // Bullet Physics Engine |
---|
| 196 | class btTransform; |
---|
| 197 | class btVector3; |
---|
| 198 | |
---|
| 199 | class btRigidBody; |
---|
| 200 | class btCollisionObject; |
---|
| 201 | class btGhostObject; |
---|
| 202 | class btManifoldPoint; |
---|
| 203 | |
---|
| 204 | class btCollisionShape; |
---|
| 205 | class btSphereShape; |
---|
| 206 | class btCompoundShape; |
---|
| 207 | class btStaticPlaneShape; |
---|
| 208 | |
---|
| 209 | class btDiscreteDynamicsWorld; |
---|
| 210 | class bt32BitAxisSweep3; |
---|
| 211 | class btDefaultCollisionConfiguration; |
---|
| 212 | class btCollisionDispatcher; |
---|
| 213 | class btSequentialImpulseConstraintSolver; |
---|
| 214 | |
---|
[3196] | 215 | // ALUT |
---|
| 216 | typedef struct ALCcontext_struct ALCcontext; |
---|
| 217 | typedef struct ALCdevice_struct ALCdevice; |
---|
| 218 | typedef unsigned int ALuint; |
---|
| 219 | typedef int ALint; |
---|
[6417] | 220 | typedef int ALenum; |
---|
[3196] | 221 | |
---|
[673] | 222 | #endif /* _OrxonoxPrereqs_H__ */ |
---|