Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/entity.cc1
-rw-r--r--src/core/inventory.cc2
-rw-r--r--src/core/physics.cc8
-rw-r--r--src/game/base/savegame.cc2
-rw-r--r--src/game/base/ship.cc5
-rw-r--r--src/model/vertexarray.cc3
6 files changed, 14 insertions, 7 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc
index 4d8c4c7..ff15e6e 100644
--- a/src/core/entity.cc
+++ b/src/core/entity.cc
@@ -7,6 +7,7 @@
#include <vector>
#include <iomanip>
#include <cstring>
+#include <cassert>
#include "auxiliary/functions.h"
#include "sys/sys.h"
diff --git a/src/core/inventory.cc b/src/core/inventory.cc
index c10e1c6..645ddf8 100644
--- a/src/core/inventory.cc
+++ b/src/core/inventory.cc
@@ -4,6 +4,8 @@
the terms of the GNU General Public License version 2
*/
+#include <cassert>
+
#include "core/application.h"
#include "core/inventory.h"
#include "sys/sys.h"
diff --git a/src/core/physics.cc b/src/core/physics.cc
index 69c21f2..33e80fe 100644
--- a/src/core/physics.cc
+++ b/src/core/physics.cc
@@ -4,13 +4,15 @@
the terms and conditions of the GNU General Public License version 2
*/
-#include "model/collisionmesh.h"
-#include "core/physics.h"
-#include "core/zone.h"
+#include <cassert>
#include "btBulletDynamicsCommon.h"
#include "BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"
+#include "model/collisionmesh.h"
+#include "core/physics.h"
+#include "core/zone.h"
+
namespace core {
/* ---- Bullet collision callbacks --------------------------------- */
diff --git a/src/game/base/savegame.cc b/src/game/base/savegame.cc
index 9bfe7b6..ce08659 100644
--- a/src/game/base/savegame.cc
+++ b/src/game/base/savegame.cc
@@ -4,6 +4,8 @@
the terms and conditions of the GNU General Public License version 2
*/
+#include <cassert>
+
#include "base/game.h"
#include "base/savegame.h"
#include "base/ship.h"
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index 46dba6e..a7695dd 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -5,19 +5,18 @@
the terms and conditions of the GNU General Public License version 2
*/
+#include <cassert>
#include <cmath>
+
#include <iostream>
#include "auxiliary/functions.h"
#include "math/functions.h"
-
#include "core/gameserver.h"
#include "core/entity.h"
#include "core/entityprojectile.h"
-
#include "base/game.h"
#include "base/ship.h"
-
#include "base/spacemine.h"
using math::degrees360f;
diff --git a/src/model/vertexarray.cc b/src/model/vertexarray.cc
index ae91f6c..0d3f64a 100644
--- a/src/model/vertexarray.cc
+++ b/src/model/vertexarray.cc
@@ -5,7 +5,8 @@
the terms of the GNU General Public License version 2
*/
-#include <string.h>
+#include <cstring>
+#include <cassert>
#include "math/mathlib.h"
#include "model/vertexarray.h"