summaryrefslogtreecommitdiffstats
path: root/src/physics
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-10-17 21:55:45 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-10-17 21:55:45 +0200
commitf6e27099b294d55c15a6b5dad13cda7730a17a71 (patch)
tree2ce292b3fc476767bc4cd0040cea0fb83242146e /src/physics
parent9738631e5e49f6b8edc32b9128e0c5d52f7df44f (diff)
downloadcolobot-f6e27099b294d55c15a6b5dad13cda7730a17a71.tar.gz
colobot-f6e27099b294d55c15a6b5dad13cda7730a17a71.tar.bz2
colobot-f6e27099b294d55c15a6b5dad13cda7730a17a71.zip
Doxygen/comment fixes and some #include refactoring
Diffstat (limited to 'src/physics')
-rw-r--r--src/physics/physics.cpp25
-rw-r--r--src/physics/physics.h5
2 files changed, 17 insertions, 13 deletions
diff --git a/src/physics/physics.cpp b/src/physics/physics.cpp
index a3c680b..f56f81d 100644
--- a/src/physics/physics.cpp
+++ b/src/physics/physics.cpp
@@ -14,29 +14,32 @@
// * You should have received a copy of the GNU General Public License
// * along with this program. If not, see http://www.gnu.org/licenses/.
-// physics.cpp
+#include "physics/physics.h"
-#include <cstring>
-#include <cstdio>
-
-#include "math/geometry.h"
-#include "graphics/engine/engine.h"
-#include "common/global.h"
#include "common/event.h"
+#include "common/global.h"
#include "common/iman.h"
+
+#include "graphics/engine/camera.h"
+#include "graphics/engine/engine.h"
#include "graphics/engine/lightman.h"
+#include "graphics/engine/pyro.h"
#include "graphics/engine/terrain.h"
#include "graphics/engine/water.h"
-#include "graphics/engine/camera.h"
-#include "graphics/engine/pyro.h"
-#include "script/cmdtoken.h"
-#include "physics/physics.h"
+
+#include "math/geometry.h"
+
#include "object/brain.h"
#include "object/motion/motion.h"
#include "object/motion/motionhuman.h"
#include "object/task/task.h"
+#include "script/cmdtoken.h"
+
+#include <cstring>
+#include <cstdio>
+
const float LANDING_SPEED = 3.0f;
diff --git a/src/physics/physics.h b/src/physics/physics.h
index e8a1f84..db88e8c 100644
--- a/src/physics/physics.h
+++ b/src/physics/physics.h
@@ -15,17 +15,18 @@
// * You should have received a copy of the GNU General Public License
// * along with this program. If not, see http://www.gnu.org/licenses/.
-#pragma once
-
/**
* \file physics/physics.h
* \brief Responsible for physics "and more" in game
*/
+#pragma once
#include "common/global.h"
+
#include "object/object.h"
+
#include "math/vector.h"