Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/physics/src/orxonox/OrxonoxPrereqs.h @ 2485

Last change on this file since 2485 was 2423, checked in by rgrieder, 16 years ago
  • Added detach functions to CollisionShapes
  • Added update functions across the CollisionShape hierarchy so that when you change the radius of a sphere, everything up to the WE gets updated.
  • Setting the btCollisionShape at run time doesn't work after all, fixed that (you can still do it, just a question of internals)
  • Improved network synchronisation
  • new WE function: addedToPhysicalWorld() to check whether we can still perform operations that are disallowed at run time (esp. StaticEntity)

Conclusively, I can say that right now, all operations considering physics should be handled automatically, bugs not withstanding.

  • Property svn:eol-style set to native
File size: 4.9 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 Contains all the necessary forward declarations for all classes and structs.
32*/
33
34#ifndef _OrxonoxPrereqs_H__
35#define _OrxonoxPrereqs_H__
36
37#include "util/OrxonoxPlatform.h"
38
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
57
58//-----------------------------------------------------------------------
59// Forward declarations
60//-----------------------------------------------------------------------
61
62namespace orxonox
63{
64    namespace LODParticle
65    {
66        enum LOD
67        {
68            off = 0,
69            low = 1,
70            normal = 2,
71            high = 3
72        };
73    }
74
75    class GraphicsEngine;
76    class Settings;
77
78    class RadarViewable;
79    class Radar;
80    class RadarListener;
81
82    class CameraManager;
83    class LevelManager;
84
85    // objects
86    class Scene;
87
88    class AddQuest;
89    class AddQuestHint;
90    class AddReward;
91    class ChangeQuestStatus;
92    class CompleteQuest;
93    class FailQuest;
94    class GlobalQuest;
95    class LocalQuest;
96    class Quest;
97    class QuestDescription;
98    class QuestEffect;
99    class QuestHint;
100    class QuestItem;
101    class QuestManager;
102    class Rewardable;
103
104    class WorldEntity;
105    class StaticEntity;
106    class MobileEntity;
107    class ControllableEntity;
108    class MovableEntity;
109    class Sublevel;
110
111    class Model;
112    class Billboard;
113    class BlinkingBillboard;
114    class Light;
115    class Backlight;
116    class ParticleEmitter;
117    class ParticleSpawner;
118
119    class Camera;
120    class CameraPosition;
121    class SpawnPoint;
122
123    class Spectator;
124    class Pawn;
125    class SpaceShip;
126
127    class Trigger;
128    class DistanceTrigger;
129    class EventTrigger;
130
131    class WeaponSystem;
132    class WeaponSet;
133    class WeaponSlot;
134    class Weapon;
135    class Munition;
136
137    class EventListener;
138    class EventDispatcher;
139    class EventTarget;
140
141    class Controller;
142    class HumanController;
143
144    class Info;
145    class Level;
146    class PlayerInfo;
147    class HumanPlayer;
148
149    class Gametype;
150
151    class Scores;
152
153    // collision
154    class CollisionShape;
155    class SphereCollisionShape;
156    class CompoundCollisionShape;
157    class PlaneCollisionShape;
158
159    // tools
160    class BillboardSet;
161    class Light;
162    class Mesh;
163    class ParticleInterface;
164    template <class T>
165    class Timer;
166
167    // overlays
168    class BarColour;
169    class DebugFPSText;
170    class DebugRTRText;
171    class HUDBar;
172    class HUDNavigation;
173    class HUDRadar;
174    class HUDSpeedBar;
175    class InGameConsole;
176    class OrxonoxOverlay;
177    class OverlayGroup;
178    class OverlayText;
179
180    //gui
181    class GUIManager;
182
183    // game states
184    class GSRoot;
185    class GSGraphics;
186    class GSIO;
187    class GSIOConsole;
188    class GSLevel;
189    class GSStandalone;
190    class GSServer;
191    class GSClient;
192    class GSGUI;
193}
194
195namespace Ogre
196{
197    // some got forgotten in OgrePrerequisites
198    class BorderPanelOverlayElement;
199    class PanelOverlayElement;
200    class TextAreaOverlayElement;
201}
202
203namespace CEGUI
204{
205    class LuaScriptModule;
206
207    class OgreCEGUIRenderer;
208    class OgreCEGUIResourceProvider;
209    class OgreCEGUITexture;
210}
211
212// Bullet Physics Engine
213
214class btTransform;
215class btVector3;
216
217class btRigidBody;
218class btCollisionObject;
219class btGhostObject;
220
221class btCollisionShape;
222class btSphereShape;
223class btCompoundShape;
224class btStaticPlaneShape;
225
226class btDiscreteDynamicsWorld;
227
228// lua
229struct lua_State;
230
231#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.