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