[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; |
---|
[2288] | 156 | class WeaponPack; |
---|
[2096] | 157 | class Weapon; |
---|
| 158 | class Munition; |
---|
[2186] | 159 | class LaserGun; |
---|
| 160 | class LaserGunMunition; |
---|
[2096] | 161 | |
---|
[2087] | 162 | class EventListener; |
---|
| 163 | class EventDispatcher; |
---|
| 164 | class EventTarget; |
---|
| 165 | |
---|
| 166 | class Controller; |
---|
| 167 | class HumanController; |
---|
| 168 | |
---|
| 169 | class Info; |
---|
| 170 | class Level; |
---|
| 171 | class PlayerInfo; |
---|
| 172 | class HumanPlayer; |
---|
| 173 | |
---|
| 174 | class Gametype; |
---|
| 175 | |
---|
| 176 | class Scores; |
---|
| 177 | |
---|
[1625] | 178 | // tools |
---|
| 179 | class BillboardSet; |
---|
| 180 | class Light; |
---|
| 181 | class Mesh; |
---|
| 182 | class ParticleInterface; |
---|
| 183 | template <class T> |
---|
| 184 | class Timer; |
---|
[612] | 185 | |
---|
[1625] | 186 | // overlays |
---|
| 187 | class BarColour; |
---|
| 188 | class DebugFPSText; |
---|
| 189 | class DebugRTRText; |
---|
| 190 | class HUDBar; |
---|
| 191 | class HUDNavigation; |
---|
| 192 | class HUDRadar; |
---|
| 193 | class HUDSpeedBar; |
---|
| 194 | class InGameConsole; |
---|
| 195 | class OrxonoxOverlay; |
---|
| 196 | class OverlayGroup; |
---|
| 197 | class OverlayText; |
---|
[1755] | 198 | |
---|
| 199 | //gui |
---|
| 200 | class GUIManager; |
---|
| 201 | |
---|
| 202 | // game states |
---|
| 203 | class GSRoot; |
---|
| 204 | class GSGraphics; |
---|
| 205 | class GSIO; |
---|
| 206 | class GSIOConsole; |
---|
| 207 | class GSLevel; |
---|
| 208 | class GSStandalone; |
---|
| 209 | class GSServer; |
---|
| 210 | class GSClient; |
---|
| 211 | class GSGUI; |
---|
[1625] | 212 | } |
---|
[708] | 213 | |
---|
[1625] | 214 | namespace Ogre |
---|
| 215 | { |
---|
| 216 | // some got forgotten in OgrePrerequisites |
---|
| 217 | class BorderPanelOverlayElement; |
---|
| 218 | class PanelOverlayElement; |
---|
| 219 | class TextAreaOverlayElement; |
---|
[612] | 220 | } |
---|
| 221 | |
---|
[1755] | 222 | namespace CEGUI |
---|
| 223 | { |
---|
| 224 | class LuaScriptModule; |
---|
| 225 | |
---|
| 226 | class OgreCEGUIRenderer; |
---|
| 227 | class OgreCEGUIResourceProvider; |
---|
| 228 | class OgreCEGUITexture; |
---|
| 229 | } |
---|
| 230 | |
---|
| 231 | struct lua_State; |
---|
| 232 | |
---|
[673] | 233 | #endif /* _OrxonoxPrereqs_H__ */ |
---|