Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/physics/src/orxonox/OrxonoxStableHeaders.h @ 2463

Last change on this file since 2463 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: 2.9 KB
RevLine 
[786]1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
[1505]3 *                    > www.orxonox.net <
[786]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/**
[1755]30 @file
31 @brief Contains the frequently used header files of our own writing
[786]32 */
[1505]33
34#ifndef _OrxonoxStableHeaders_H__
35#define _OrxonoxStableHeaders_H__
36
37#include "util/OrxonoxPlatform.h"
38
[2087]39#if defined(ORXONOX_ENABLE_PCH)
[1505]40
41// including std headers here is useless since they're already precompiled
42
43#ifndef WIN32_LEAN_AND_MEAN
44// prevent Ogre from including winsock.h that messes with winsock2.h from enet
45#  define WIN32_LEAN_AND_MEAN
46#endif
[1755]47#include <Ogre.h>
48#include <CEGUI.h>
[2087]49#include "ois/OIS.h"
[2192]50//#include "btBulletCollisionCommon.h"
51//#include "btBulletDynamicsCommon.h"
[1755]52#include <boost/thread/recursive_mutex.hpp>
[2087]53//#include <boost/thread/mutex.hpp>
54//#include <boost/thread/condition.hpp>
55//#include <boost/thread/thread.hpp>
56#include <boost/static_assert.hpp>
[1543]57#include "tinyxml/ticpp.h"
58#include "tinyxml/tinyxml.h"
[2087]59#include "tolua/tolua++.h"
[1219]60
[2087]61//Get around Windows hackery (windows.h is included by Ogre.h)
[1781]62#if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
63#  ifdef max
64#    undef max
65#  endif
66#  ifdef min
67#    undef min
68#  endif
69#endif
[1755]70
71//----------- Our files ----------
72//--------------------------------
[2087]73//// only include when not debugging so that we may find issues with missing headers quicker
74//#if defined(NDEBUG)
[1755]75
[1543]76#include "util/Convert.h"
[1747]77#include "util/Debug.h"
[2087]78#include "util/Exception.h"
[1505]79#include "util/Math.h"
[1543]80#include "util/Multitype.h"
[1505]81#include "util/Sleep.h"
82#include "util/String.h"
83#include "util/SubString.h"
84
85#include "core/BaseObject.h"
[1543]86#include "core/ConsoleCommand.h"
87#include "core/CoreIncludes.h"
88#include "core/ConfigValueIncludes.h"
[1755]89#include "core/CommandExecutor.h"
[2087]90#include "core/Core.h"
[1543]91#include "core/Executor.h"
[2087]92#include "core/ObjectList.h"
93#include "core/Super.h"
[1841]94#include "core/XMLIncludes.h"
[1543]95#include "core/XMLPort.h"
[2087]96#include "core/input/SimpleInputState.h"
97#include "core/input/InputManager.h"
[1505]98
99#include "network/Synchronisable.h"
100
[2192]101//#include "Settings.h"
[1505]102
[2087]103//#endif /* ifdef NDEBUG */
[1505]104
[2423]105#endif /* defined(ORXONOX_ENABLE_PCH) */
[1755]106
[1505]107#endif /* _OrxonoxStableHeaders_H__ */
Note: See TracBrowser for help on using the repository browser.