1 | /* |
---|
2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
3 | * > www.orxonox.net < |
---|
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: |
---|
23 | * Reto Grieder |
---|
24 | * Co-authors: |
---|
25 | * ... |
---|
26 | * |
---|
27 | */ |
---|
28 | |
---|
29 | /** |
---|
30 | @file |
---|
31 | @brief |
---|
32 | Shared library macros, enums, constants and forward declarations for the orxonox library |
---|
33 | */ |
---|
34 | |
---|
35 | #ifndef _OrxonoxPrereqs_H__ |
---|
36 | #define _OrxonoxPrereqs_H__ |
---|
37 | |
---|
38 | #include "OrxonoxConfig.h" |
---|
39 | #include "tools/ToolsPrereqs.h" |
---|
40 | |
---|
41 | //----------------------------------------------------------------------- |
---|
42 | // Shared library settings |
---|
43 | //----------------------------------------------------------------------- |
---|
44 | |
---|
45 | #if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD) |
---|
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 |
---|
55 | #elif defined ( ORXONOX_GCC_VISIBILITY ) |
---|
56 | # define _OrxonoxExport __attribute__ ((visibility("default"))) |
---|
57 | #else |
---|
58 | # define _OrxonoxExport |
---|
59 | #endif |
---|
60 | |
---|
61 | //----------------------------------------------------------------------- |
---|
62 | // Forward declarations |
---|
63 | //----------------------------------------------------------------------- |
---|
64 | |
---|
65 | namespace orxonox |
---|
66 | { |
---|
67 | class CameraManager; |
---|
68 | class Level; |
---|
69 | class LevelManager; |
---|
70 | class PawnManager; |
---|
71 | class PlayerManager; |
---|
72 | class Radar; |
---|
73 | class Scene; |
---|
74 | |
---|
75 | // collisionshapes |
---|
76 | class CollisionShape; |
---|
77 | class CompoundCollisionShape; |
---|
78 | class WorldEntityCollisionShape; |
---|
79 | |
---|
80 | // controllers |
---|
81 | class AIController; |
---|
82 | class ArtificialController; |
---|
83 | class Controller; |
---|
84 | class DroneController; |
---|
85 | class HumanController; |
---|
86 | class ScriptController; |
---|
87 | class WaypointController; |
---|
88 | class WaypointPatrolController; |
---|
89 | |
---|
90 | // gametypes |
---|
91 | class Asteroids; |
---|
92 | class Deathmatch; |
---|
93 | class Dynamicmatch; |
---|
94 | class Gametype; |
---|
95 | class LastManStanding; |
---|
96 | class TeamBaseMatch; |
---|
97 | class TeamDeathmatch; |
---|
98 | class UnderAttack; |
---|
99 | |
---|
100 | // graphics |
---|
101 | class Backlight; |
---|
102 | class Billboard; |
---|
103 | class BlinkingBillboard; |
---|
104 | class Camera; |
---|
105 | class FadingBillboard; |
---|
106 | class GlobalShader; |
---|
107 | class Light; |
---|
108 | class Model; |
---|
109 | class ParticleEmitter; |
---|
110 | class ParticleSpawner; |
---|
111 | |
---|
112 | // infos |
---|
113 | class Bot; |
---|
114 | class GametypeInfo; |
---|
115 | class HumanPlayer; |
---|
116 | class Info; |
---|
117 | class PlayerInfo; |
---|
118 | |
---|
119 | // interfaces |
---|
120 | class GametypeMessageListener; |
---|
121 | class NotificationListener; |
---|
122 | class Pickupable; |
---|
123 | class PickupCarrier; |
---|
124 | class PlayerTrigger; |
---|
125 | class RadarListener; |
---|
126 | class RadarViewable; |
---|
127 | class Rewardable; |
---|
128 | class TeamColourable; |
---|
129 | |
---|
130 | // items |
---|
131 | class Engine; |
---|
132 | class Item; |
---|
133 | class MultiStateEngine; |
---|
134 | |
---|
135 | // overlays |
---|
136 | class InGameConsole; |
---|
137 | class Map; |
---|
138 | class OrxonoxOverlay; |
---|
139 | class OverlayGroup; |
---|
140 | |
---|
141 | // pickup |
---|
142 | class PickupIdentifier; |
---|
143 | |
---|
144 | //sound |
---|
145 | class AmbientSound; |
---|
146 | class BaseSound; |
---|
147 | class SoundBuffer; |
---|
148 | class SoundManager; |
---|
149 | class SoundStreamer; |
---|
150 | class WorldSound; |
---|
151 | |
---|
152 | // weaponsystem |
---|
153 | class DefaultWeaponmodeLink; |
---|
154 | class Munition; |
---|
155 | class Weapon; |
---|
156 | class WeaponMode; |
---|
157 | class WeaponPack; |
---|
158 | class WeaponSet; |
---|
159 | class WeaponSlot; |
---|
160 | class WeaponSystem; |
---|
161 | |
---|
162 | // worldentities |
---|
163 | class BigExplosion; |
---|
164 | class CameraPosition; |
---|
165 | class ControllableEntity; |
---|
166 | class Drone; |
---|
167 | class EffectContainer; |
---|
168 | class ExplosionChunk; |
---|
169 | class MobileEntity; |
---|
170 | class MovableEntity; |
---|
171 | class SpawnPoint; |
---|
172 | class StaticEntity; |
---|
173 | class TeamSpawnPoint; |
---|
174 | class WorldEntity; |
---|
175 | class Rocket; |
---|
176 | // worldentities, pawns |
---|
177 | class Destroyer; |
---|
178 | class Pawn; |
---|
179 | class SpaceShip; |
---|
180 | class Spectator; |
---|
181 | class TeamBaseMatchBase; |
---|
182 | } |
---|
183 | |
---|
184 | // Bullet Physics Engine |
---|
185 | class btTransform; |
---|
186 | class btVector3; |
---|
187 | |
---|
188 | class btRigidBody; |
---|
189 | class btCollisionObject; |
---|
190 | class btGhostObject; |
---|
191 | class btManifoldPoint; |
---|
192 | |
---|
193 | class btCollisionShape; |
---|
194 | class btSphereShape; |
---|
195 | class btCompoundShape; |
---|
196 | class btStaticPlaneShape; |
---|
197 | |
---|
198 | class btDiscreteDynamicsWorld; |
---|
199 | class bt32BitAxisSweep3; |
---|
200 | class btDefaultCollisionConfiguration; |
---|
201 | class btCollisionDispatcher; |
---|
202 | class btSequentialImpulseConstraintSolver; |
---|
203 | |
---|
204 | // ALUT |
---|
205 | typedef struct ALCcontext_struct ALCcontext; |
---|
206 | typedef struct ALCdevice_struct ALCdevice; |
---|
207 | typedef unsigned int ALuint; |
---|
208 | typedef int ALint; |
---|
209 | typedef int ALenum; |
---|
210 | |
---|
211 | #endif /* _OrxonoxPrereqs_H__ */ |
---|