Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 2300 was 2300, checked in by rgrieder, 15 years ago

Still getting physics and its implications straight:

  • Removed PositionableEntity —> StaticEntity is now the way to go. They cannot be translated in any way during physics simulation. The trick will be to remove them and add them again to Bullet. This however is not yet implemented.
  • Forgot a few consts in WorldEntity
  • Fixed a bug with infinite masses
  • WE throws exception if you try to apply physics when the SceneNode is not in the root space of the Scene.
  • Moved velocity_ to MovableEntity
  • Outside world reference of WE/ME are now always the non-physical values. getPosition() will always return node_→getPosition() and when setting it, both RigidBody and SceneNode are translated. This accounts for velocity, orientation and position.
  • Property svn:eol-style set to native
File size: 4.6 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 MovableEntity;
107    class ControllableEntity;
108    class LinearEntity;
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    // tools
154    class BillboardSet;
155    class Light;
156    class Mesh;
157    class ParticleInterface;
158    template <class T>
159    class Timer;
160
161    // overlays
162    class BarColour;
163    class DebugFPSText;
164    class DebugRTRText;
165    class HUDBar;
166    class HUDNavigation;
167    class HUDRadar;
168    class HUDSpeedBar;
169    class InGameConsole;
170    class OrxonoxOverlay;
171    class OverlayGroup;
172    class OverlayText;
173
174    //gui
175    class GUIManager;
176
177    // game states
178    class GSRoot;
179    class GSGraphics;
180    class GSIO;
181    class GSIOConsole;
182    class GSLevel;
183    class GSStandalone;
184    class GSServer;
185    class GSClient;
186    class GSGUI;
187}
188
189namespace Ogre
190{
191    // some got forgotten in OgrePrerequisites
192    class BorderPanelOverlayElement;
193    class PanelOverlayElement;
194    class TextAreaOverlayElement;
195}
196
197namespace CEGUI
198{
199    class LuaScriptModule;
200
201    class OgreCEGUIRenderer;
202    class OgreCEGUIResourceProvider;
203    class OgreCEGUITexture;
204}
205
206// Bullet Physics Engine
207
208class btRigidBody;
209class btCollisionObject;
210class btGhostObject;
211class btCollisionShape;
212class btSphereShape;
213
214
215struct lua_State;
216
217#endif /* _OrxonoxPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.