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