[612] | 1 | /* |
---|
| 2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
[1505] | 3 | * > www.orxonox.net < |
---|
[612] | 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: |
---|
[682] | 23 | * Reto Grieder |
---|
[612] | 24 | * Co-authors: |
---|
| 25 | * ... |
---|
| 26 | * |
---|
| 27 | */ |
---|
| 28 | |
---|
| 29 | /** |
---|
[1024] | 30 | @file |
---|
| 31 | @brief Contains all the necessary forward declarations for all classes and structs. |
---|
| 32 | */ |
---|
[612] | 33 | |
---|
[673] | 34 | #ifndef _OrxonoxPrereqs_H__ |
---|
| 35 | #define _OrxonoxPrereqs_H__ |
---|
[612] | 36 | |
---|
[1502] | 37 | #include "util/OrxonoxPlatform.h" |
---|
[612] | 38 | |
---|
[1024] | 39 | //----------------------------------------------------------------------- |
---|
| 40 | // Shared library settings |
---|
| 41 | //----------------------------------------------------------------------- |
---|
| 42 | #if (ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32) && !(defined(ORXONOX_STATIC_BUILD) || defined(ORXONOX_NO_EXPORTS)) |
---|
| 43 | # ifdef ORXONOX_SHARED_BUILD |
---|
| 44 | # define _OrxonoxExport __declspec(dllexport) |
---|
| 45 | # else |
---|
| 46 | # if defined( __MINGW32__ ) |
---|
| 47 | # define _OrxonoxExport |
---|
| 48 | # else |
---|
| 49 | # define _OrxonoxExport __declspec(dllimport) |
---|
| 50 | # endif |
---|
| 51 | # endif |
---|
| 52 | #elif defined ( ORXONOX_GCC_VISIBILITY ) |
---|
| 53 | # define _OrxonoxExport __attribute__ ((visibility("default"))) |
---|
| 54 | #else |
---|
| 55 | # define _OrxonoxExport |
---|
| 56 | #endif |
---|
[729] | 57 | |
---|
| 58 | //----------------------------------------------------------------------- |
---|
[1024] | 59 | // Forward declarations |
---|
| 60 | //----------------------------------------------------------------------- |
---|
[729] | 61 | |
---|
[1563] | 62 | namespace orxonox |
---|
| 63 | { |
---|
[1625] | 64 | namespace LODParticle |
---|
[1563] | 65 | { |
---|
[1625] | 66 | enum LOD |
---|
| 67 | { |
---|
| 68 | off = 0, |
---|
| 69 | low = 1, |
---|
| 70 | normal = 2, |
---|
| 71 | high = 3 |
---|
| 72 | }; |
---|
| 73 | } |
---|
[1563] | 74 | |
---|
[2203] | 75 | //put here all existing munitionTypes |
---|
| 76 | namespace MunitionType |
---|
| 77 | { |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | enum Enum |
---|
| 82 | { laserGunMunition }; |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | //put here all weapon fire modes. |
---|
| 86 | //they have to be added to Pawn and HumanController, too. |
---|
| 87 | namespace WeaponMode |
---|
| 88 | { |
---|
| 89 | enum Enum |
---|
| 90 | { |
---|
| 91 | fire, |
---|
| 92 | altFire, |
---|
| 93 | altFire2 |
---|
| 94 | }; |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | |
---|
[1625] | 98 | class GraphicsEngine; |
---|
[1755] | 99 | class Settings; |
---|
[612] | 100 | |
---|
[1625] | 101 | class RadarViewable; |
---|
| 102 | class Radar; |
---|
| 103 | class RadarListener; |
---|
[1024] | 104 | |
---|
[2087] | 105 | class CameraManager; |
---|
| 106 | class LevelManager; |
---|
| 107 | |
---|
[1625] | 108 | // objects |
---|
[2087] | 109 | class Scene; |
---|
| 110 | |
---|
[2095] | 111 | class AddQuest; |
---|
| 112 | class AddQuestHint; |
---|
| 113 | class AddReward; |
---|
| 114 | class ChangeQuestStatus; |
---|
| 115 | class CompleteQuest; |
---|
| 116 | class FailQuest; |
---|
| 117 | class GlobalQuest; |
---|
| 118 | class LocalQuest; |
---|
| 119 | class Quest; |
---|
| 120 | class QuestDescription; |
---|
| 121 | class QuestEffect; |
---|
| 122 | class QuestHint; |
---|
| 123 | class QuestItem; |
---|
| 124 | class QuestManager; |
---|
| 125 | class Rewardable; |
---|
| 126 | |
---|
[2087] | 127 | class WorldEntity; |
---|
| 128 | class PositionableEntity; |
---|
| 129 | class MovableEntity; |
---|
| 130 | class ControllableEntity; |
---|
| 131 | class Sublevel; |
---|
| 132 | |
---|
| 133 | class Model; |
---|
| 134 | class Billboard; |
---|
| 135 | class BlinkingBillboard; |
---|
| 136 | class Light; |
---|
[1625] | 137 | class Backlight; |
---|
[2087] | 138 | class ParticleEmitter; |
---|
| 139 | class ParticleSpawner; |
---|
| 140 | |
---|
[1625] | 141 | class Camera; |
---|
[2087] | 142 | class CameraPosition; |
---|
| 143 | class SpawnPoint; |
---|
| 144 | |
---|
| 145 | class Spectator; |
---|
| 146 | class Pawn; |
---|
[1625] | 147 | class SpaceShip; |
---|
[1552] | 148 | |
---|
[2087] | 149 | class Trigger; |
---|
| 150 | class DistanceTrigger; |
---|
| 151 | class EventTrigger; |
---|
[1024] | 152 | |
---|
[2096] | 153 | class WeaponSystem; |
---|
| 154 | class WeaponSet; |
---|
| 155 | class WeaponSlot; |
---|
| 156 | class Weapon; |
---|
| 157 | class Munition; |
---|
[2186] | 158 | class LaserGun; |
---|
| 159 | class LaserGunMunition; |
---|
[2096] | 160 | |
---|
[2087] | 161 | class EventListener; |
---|
| 162 | class EventDispatcher; |
---|
| 163 | class EventTarget; |
---|
| 164 | |
---|
| 165 | class Controller; |
---|
| 166 | class HumanController; |
---|
| 167 | |
---|
| 168 | class Info; |
---|
| 169 | class Level; |
---|
| 170 | class PlayerInfo; |
---|
| 171 | class HumanPlayer; |
---|
| 172 | |
---|
| 173 | class Gametype; |
---|
| 174 | |
---|
| 175 | class Scores; |
---|
| 176 | |
---|
[1625] | 177 | // tools |
---|
| 178 | class BillboardSet; |
---|
| 179 | class Light; |
---|
| 180 | class Mesh; |
---|
| 181 | class ParticleInterface; |
---|
| 182 | template <class T> |
---|
| 183 | class Timer; |
---|
[612] | 184 | |
---|
[1625] | 185 | // overlays |
---|
| 186 | class BarColour; |
---|
| 187 | class DebugFPSText; |
---|
| 188 | class DebugRTRText; |
---|
| 189 | class HUDBar; |
---|
| 190 | class HUDNavigation; |
---|
| 191 | class HUDRadar; |
---|
| 192 | class HUDSpeedBar; |
---|
| 193 | class InGameConsole; |
---|
| 194 | class OrxonoxOverlay; |
---|
| 195 | class OverlayGroup; |
---|
| 196 | class OverlayText; |
---|
[1755] | 197 | |
---|
| 198 | //gui |
---|
| 199 | class GUIManager; |
---|
| 200 | |
---|
| 201 | // game states |
---|
| 202 | class GSRoot; |
---|
| 203 | class GSGraphics; |
---|
| 204 | class GSIO; |
---|
| 205 | class GSIOConsole; |
---|
| 206 | class GSLevel; |
---|
| 207 | class GSStandalone; |
---|
| 208 | class GSServer; |
---|
| 209 | class GSClient; |
---|
| 210 | class GSGUI; |
---|
[1625] | 211 | } |
---|
[708] | 212 | |
---|
[1625] | 213 | namespace Ogre |
---|
| 214 | { |
---|
| 215 | // some got forgotten in OgrePrerequisites |
---|
| 216 | class BorderPanelOverlayElement; |
---|
| 217 | class PanelOverlayElement; |
---|
| 218 | class TextAreaOverlayElement; |
---|
[612] | 219 | } |
---|
| 220 | |
---|
[1755] | 221 | namespace CEGUI |
---|
| 222 | { |
---|
| 223 | class LuaScriptModule; |
---|
| 224 | |
---|
| 225 | class OgreCEGUIRenderer; |
---|
| 226 | class OgreCEGUIResourceProvider; |
---|
| 227 | class OgreCEGUITexture; |
---|
| 228 | } |
---|
| 229 | |
---|
| 230 | struct lua_State; |
---|
| 231 | |
---|
[673] | 232 | #endif /* _OrxonoxPrereqs_H__ */ |
---|