Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/environment/src/orxonox/OrxonoxPrereqs.h @ 8328

Last change on this file since 8328 was 7527, checked in by rgrieder, 14 years ago

Added _LibraryPrivate macros to all LibraryPrereqs.h files.
You can use these to declare classes that are only used internally and don't need to have any exported symbols.

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