aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-09-02 12:23:28 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-09-02 12:23:28 +0100
commit87311540bde93dc6ebf0aeb8fbac122346a99821 (patch)
treebda1dfea1f387a1358780267d113428f6723015e /src
parenta992108e5b6383450a147a0a0ef54576dca5bd95 (diff)
downloadYAGE-87311540bde93dc6ebf0aeb8fbac122346a99821.tar.gz
YAGE-87311540bde93dc6ebf0aeb8fbac122346a99821.zip
Fixed includes and standardized them
Diffstat (limited to 'src')
-rw-r--r--src/body.cpp4
-rw-r--r--src/camera2d.cpp2
-rw-r--r--src/glslprogram.cpp2
-rw-r--r--src/imageloader.cpp6
-rw-r--r--src/inputmanager.cpp2
-rw-r--r--src/iomanager.cpp2
-rw-r--r--src/particlebody.cpp2
-rw-r--r--src/rectanglecollider.cpp2
-rw-r--r--src/resourcemanager.cpp2
-rw-r--r--src/rigidbody.cpp2
-rw-r--r--src/sprite.cpp6
-rw-r--r--src/spritebatch.cpp2
-rw-r--r--src/texturecache.cpp4
-rw-r--r--src/window.cpp3
14 files changed, 20 insertions, 21 deletions
diff --git a/src/body.cpp b/src/body.cpp
index e38cd641..8d38e70a 100644
--- a/src/body.cpp
+++ b/src/body.cpp
@@ -6,9 +6,9 @@
* ----------------------------------------------------------------------------
*/
-#include <utility>
+#include <YAGE/Physics/body.h>
-#include "Physics/body.hpp"
+#include <utility>
namespace yage
{
diff --git a/src/camera2d.cpp b/src/camera2d.cpp
index 7f2dd2d7..292f998a 100644
--- a/src/camera2d.cpp
+++ b/src/camera2d.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "camera2d.hpp"
+#include <YAGE/camera2d.h>
#include <GL/glew.h>
diff --git a/src/glslprogram.cpp b/src/glslprogram.cpp
index d148ea8b..11a3191e 100644
--- a/src/glslprogram.cpp
+++ b/src/glslprogram.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "glslprogram.hpp"
+#include <YAGE/glslprogram.h>
#include <fstream>
#include <stdexcept>
diff --git a/src/imageloader.cpp b/src/imageloader.cpp
index a833f754..812110d8 100644
--- a/src/imageloader.cpp
+++ b/src/imageloader.cpp
@@ -6,9 +6,9 @@
* ----------------------------------------------------------------------------
*/
-#include "imageloader.hpp"
-#include "iomanager.hpp"
-#include "picopng.hpp"
+#include <YAGE/imageloader.h>
+#include <YAGE/iomanager.h>
+#include <YAGE/picopng.h>
#include <stdexcept>
diff --git a/src/inputmanager.cpp b/src/inputmanager.cpp
index 4e1abdf2..d429abd7 100644
--- a/src/inputmanager.cpp
+++ b/src/inputmanager.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "inputmanager.hpp"
+#include <YAGE/inputmanager.h>
namespace yage
{
diff --git a/src/iomanager.cpp b/src/iomanager.cpp
index 7ecd6795..93ab41c9 100644
--- a/src/iomanager.cpp
+++ b/src/iomanager.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "iomanager.hpp"
+#include <YAGE/iomanager.h>
#include <fstream>
#include <stdexcept>
diff --git a/src/particlebody.cpp b/src/particlebody.cpp
index 216f2db9..bdb81eac 100644
--- a/src/particlebody.cpp
+++ b/src/particlebody.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "Physics/particlebody.hpp"
+#include <YAGE/Physics/particlebody.h>
#include <cmath>
#include <iostream>
diff --git a/src/rectanglecollider.cpp b/src/rectanglecollider.cpp
index 71913817..64887278 100644
--- a/src/rectanglecollider.cpp
+++ b/src/rectanglecollider.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "Physics/rectanglecollider.hpp"
+#include <YAGE/Physics/rectanglecollider.h>
namespace yage
{
diff --git a/src/resourcemanager.cpp b/src/resourcemanager.cpp
index a7c07207..473ea37e 100644
--- a/src/resourcemanager.cpp
+++ b/src/resourcemanager.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "resourcemanager.hpp"
+#include <YAGE/resourcemanager.h>
namespace yage
{
diff --git a/src/rigidbody.cpp b/src/rigidbody.cpp
index 2b57beaf..dcab5f2f 100644
--- a/src/rigidbody.cpp
+++ b/src/rigidbody.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "Physics/rigidbody.hpp"
+#include <YAGE/Physics/rigidbody.h>
namespace yage
{
diff --git a/src/sprite.cpp b/src/sprite.cpp
index b4584561..68e08e5d 100644
--- a/src/sprite.cpp
+++ b/src/sprite.cpp
@@ -6,9 +6,9 @@
* ----------------------------------------------------------------------------
*/
-#include "sprite.hpp"
-#include "resourcemanager.hpp"
-#include "vertex.hpp"
+#include <YAGE/sprite.h>
+#include <YAGE/resourcemanager.h>
+#include <YAGE/vertex.h>
#include <cstddef>
diff --git a/src/spritebatch.cpp b/src/spritebatch.cpp
index 8cfc8bc2..ac98130b 100644
--- a/src/spritebatch.cpp
+++ b/src/spritebatch.cpp
@@ -6,7 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "spritebatch.hpp"
+#include <YAGE/spritebatch.h>
#include <algorithm>
#include <stdexcept>
diff --git a/src/texturecache.cpp b/src/texturecache.cpp
index 4e6c9bcf..fda5fcd9 100644
--- a/src/texturecache.cpp
+++ b/src/texturecache.cpp
@@ -6,8 +6,8 @@
* ----------------------------------------------------------------------------
*/
-#include "texturecache.hpp"
-#include "imageloader.hpp"
+#include <YAGE/texturecache.h>
+#include <YAGE/imageloader.h>
namespace yage
{
diff --git a/src/window.cpp b/src/window.cpp
index e5a6582b..143b1d5d 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -6,8 +6,7 @@
* ----------------------------------------------------------------------------
*/
-#include "window.hpp"
-
+#include <YAGE/window.h>
#include <GL/glew.h>
#include <iostream>