diff options
author | Andy Belle-Isle <abelleisle@roadrunner.com> | 2015-09-16 11:48:48 -0400 |
---|---|---|
committer | Andy Belle-Isle <abelleisle@roadrunner.com> | 2015-09-16 11:48:48 -0400 |
commit | 82d5e77a3fa4f3f9cc3145969d99ba8326af9892 (patch) | |
tree | 6c6385fced0b42b95e51e7935a4677058442fe5f /include/World.h | |
parent | c5d48afdbfb7451581a8f61fe24a606b15415224 (diff) |
Fixed mouse, and debug
Diffstat (limited to 'include/World.h')
-rw-r--r-- | include/World.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/World.h b/include/World.h index fca108d..7d9224e 100644 --- a/include/World.h +++ b/include/World.h @@ -4,7 +4,7 @@ #include <common.h>
// Total amount of entities that can be bound to a layer
-#define MAX_ENTITIES 16
+#define MAX_ENTITIES 32
// Easy shortcuts used in UIClass
#define goWorldLeft(w) if(w->toLeft){w=w->toLeft;}
@@ -18,7 +18,7 @@ private: } __attribute__ ((packed)) *line;
unsigned int lineCount; // Size of line array, calculated in the constructor
unsigned int entCount; // Count of currently bound entities
- void *entity[MAX_ENTITIES];
+ void **entity;
public:
World *behind,*infront; // As in layers
World *toLeft,*toRight; // 'new' worlds (off screen)
@@ -31,4 +31,4 @@ public: void addEntity(void *e); // Adds (binds) an entity to the world
};
-#endif // WORLD_H +#endif // WORLD_H
|