aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
-rw-r--r--include/world.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index b0ffec7..b016020 100644
--- a/include/common.h
+++ b/include/common.h
@@ -39,7 +39,7 @@ typedef unsigned int uint;
* This flag lets the compiler know that we are using shaders
*/
- #define SHADERSere
+#define SHADERS
/*
* Create a basic 2-point structure for coordinate saving
diff --git a/include/world.h b/include/world.h
index 75263e5..85b02c9 100644
--- a/include/world.h
+++ b/include/world.h
@@ -11,6 +11,7 @@ typedef struct {
/*
* World - creates and handles an area of land
*/
+
class World {
protected:
@@ -36,8 +37,6 @@ protected:
* Keeps a dynamically allocated array of platforms in the world.
*/
- std::vector<Platform> platform;
-
/*
* Contains the starting x-coordinate to draw the world at. This should be equal to
* - getWidth() (see world.cpp) / 2
@@ -125,7 +124,6 @@ public:
* These functions add features to the world.
*/
- void addPlatform(float x,float y,float w,float h);
void addHole(unsigned int start,unsigned int end);
/*