| 1 | /* | 
|---|
| 2 |  *   ORXONOX - the hottest 3D action shooter ever to exist | 
|---|
| 3 |  * | 
|---|
| 4 |  * | 
|---|
| 5 |  *   License notice: | 
|---|
| 6 |  * | 
|---|
| 7 |  *   This program is free software; you can redistribute it and/or | 
|---|
| 8 |  *   modify it under the terms of the GNU General Public License | 
|---|
| 9 |  *   as published by the Free Software Foundation; either version 2 | 
|---|
| 10 |  *   of the License, or (at your option) any later version. | 
|---|
| 11 |  * | 
|---|
| 12 |  *   This program is distributed in the hope that it will be useful, | 
|---|
| 13 |  *   but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 14 |  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 15 |  *   GNU General Public License for more details. | 
|---|
| 16 |  * | 
|---|
| 17 |  *   You should have received a copy of the GNU General Public License | 
|---|
| 18 |  *   along with this program; if not, write to the Free Software | 
|---|
| 19 |  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. | 
|---|
| 20 |  * | 
|---|
| 21 |  *   Author: | 
|---|
| 22 |  *      Reto Grieder | 
|---|
| 23 |  *   Co-authors: | 
|---|
| 24 |  *      ... | 
|---|
| 25 |  * | 
|---|
| 26 |  */ | 
|---|
| 27 |  | 
|---|
| 28 | /** | 
|---|
| 29 |  @file  OrxonoxPrereqs.h | 
|---|
| 30 |  @brief Contains all the necessary forward declarations for all classes and structs. | 
|---|
| 31 |  */ | 
|---|
| 32 |  | 
|---|
| 33 | #ifndef _OrxonoxPrereqs_H__ | 
|---|
| 34 | #define _OrxonoxPrereqs_H__ | 
|---|
| 35 |  | 
|---|
| 36 | #include "OrxonoxPlatform.h" | 
|---|
| 37 |  | 
|---|
| 38 | //----------------------------------------------------------------------- | 
|---|
| 39 | // Shared library settings | 
|---|
| 40 | //----------------------------------------------------------------------- | 
|---|
| 41 | #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !(defined(ORXONOX_STATIC_BUILD) || defined(ORXONOX_NO_EXPORTS)) | 
|---|
| 42 | #  ifdef ORXONOX_SHARED_BUILD | 
|---|
| 43 | #    define _OrxonoxExport __declspec(dllexport) | 
|---|
| 44 | #  else | 
|---|
| 45 | #    if defined( __MINGW32__ ) | 
|---|
| 46 | #      define _OrxonoxExport | 
|---|
| 47 | #    else | 
|---|
| 48 | #      define _OrxonoxExport __declspec(dllimport) | 
|---|
| 49 | #    endif | 
|---|
| 50 | #  endif | 
|---|
| 51 | #elif defined ( ORXONOX_GCC_VISIBILITY ) | 
|---|
| 52 | #  define _OrxonoxExport  __attribute__ ((visibility("default"))) | 
|---|
| 53 | #else | 
|---|
| 54 | #  define _OrxonoxExport | 
|---|
| 55 | #endif | 
|---|
| 56 |  | 
|---|
| 57 | //----------------------------------------------------------------------- | 
|---|
| 58 | // Forward declarations | 
|---|
| 59 | //----------------------------------------------------------------------- | 
|---|
| 60 |  | 
|---|
| 61 | // classes that have not yet been put into a namespace | 
|---|
| 62 | class InputManager; | 
|---|
| 63 | class SpaceShipSteering; | 
|---|
| 64 |  | 
|---|
| 65 | namespace orxonox { | 
|---|
| 66 |   class Ambient; | 
|---|
| 67 |   class BaseObject; | 
|---|
| 68 |   class Camera; | 
|---|
| 69 |   class GraphicsEngine; | 
|---|
| 70 |   class Mesh; | 
|---|
| 71 |   class Model; | 
|---|
| 72 |   class NPC; | 
|---|
| 73 |   class OrxListener; | 
|---|
| 74 |   class Orxonox; | 
|---|
| 75 |   class Skybox; | 
|---|
| 76 |   class SpaceShip; | 
|---|
| 77 |   class Tickable; | 
|---|
| 78 |   class TickFrameListener; | 
|---|
| 79 |   template <class T> | 
|---|
| 80 |   class Timer; | 
|---|
| 81 |   class TimerBase; | 
|---|
| 82 |   class TimerFrameListener; | 
|---|
| 83 |   class WorldEntity; | 
|---|
| 84 |  | 
|---|
| 85 |   class AmmunitionDump; | 
|---|
| 86 |   class Bullet; | 
|---|
| 87 |   class BulletManager; | 
|---|
| 88 |   class BaseWeapon; | 
|---|
| 89 |   class BarrelGun; | 
|---|
| 90 |   class WeaponStation; | 
|---|
| 91 |  | 
|---|
| 92 |   class ParticleInterface; | 
|---|
| 93 |   class HUD; | 
|---|
| 94 | } | 
|---|
| 95 |  | 
|---|
| 96 |  | 
|---|
| 97 | #endif /* _OrxonoxPrereqs_H__ */ | 
|---|