Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2425 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
RevLine 
[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]62namespace 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
[1625]75    class GraphicsEngine;
[1755]76    class Settings;
[612]77
[1625]78    class RadarViewable;
79    class Radar;
80    class RadarListener;
[1024]81
[2087]82    class CameraManager;
83    class LevelManager;
84
[1625]85    // objects
[2087]86    class Scene;
87
[2095]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
[2087]104    class WorldEntity;
[2192]105    class StaticEntity;
[2408]106    class MobileEntity;
107    class ControllableEntity;
[2192]108    class MovableEntity;
[2087]109    class Sublevel;
110
111    class Model;
112    class Billboard;
113    class BlinkingBillboard;
114    class Light;
[1625]115    class Backlight;
[2087]116    class ParticleEmitter;
117    class ParticleSpawner;
118
[1625]119    class Camera;
[2087]120    class CameraPosition;
121    class SpawnPoint;
122
123    class Spectator;
124    class Pawn;
[1625]125    class SpaceShip;
[1552]126
[2087]127    class Trigger;
128    class DistanceTrigger;
129    class EventTrigger;
[1024]130
[2096]131    class WeaponSystem;
132    class WeaponSet;
133    class WeaponSlot;
134    class Weapon;
135    class Munition;
136
[2087]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
[2303]153    // collision
154    class CollisionShape;
155    class SphereCollisionShape;
[2374]156    class CompoundCollisionShape;
157    class PlaneCollisionShape;
[2303]158
[1625]159    // tools
160    class BillboardSet;
161    class Light;
162    class Mesh;
163    class ParticleInterface;
164    template <class T>
165    class Timer;
[612]166
[1625]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;
[1755]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;
[1625]193}
[708]194
[1625]195namespace Ogre
196{
197    // some got forgotten in OgrePrerequisites
198    class BorderPanelOverlayElement;
199    class PanelOverlayElement;
200    class TextAreaOverlayElement;
[612]201}
202
[1755]203namespace CEGUI
204{
205    class LuaScriptModule;
206
207    class OgreCEGUIRenderer;
208    class OgreCEGUIResourceProvider;
209    class OgreCEGUITexture;
210}
211
[2192]212// Bullet Physics Engine
213
[2423]214class btTransform;
215class btVector3;
216
[2192]217class btRigidBody;
218class btCollisionObject;
219class btGhostObject;
[2303]220
[2192]221class btCollisionShape;
222class btSphereShape;
[2303]223class btCompoundShape;
[2374]224class btStaticPlaneShape;
[2192]225
[2303]226class btDiscreteDynamicsWorld;
[2192]227
[2303]228// lua
[1755]229struct lua_State;
230
[673]231#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.