Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/shaders/src/orxonox/OrxonoxPrereqs.h @ 9448

Last change on this file since 9448 was 9407, checked in by davidsa, 12 years ago

orxonox::RenderQueueListener: Implemented a rudimentary RenderQueueListener to enable the use of stencil buffer for elaborate alpha blending shaders without creating artifacts from overlapping faces. Also added a XML Port to assign a Model to a certain RenderQueueGroup. Needs to be improved to allow the use of strings for choosing the group instead of a static int which may change in the feature.

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