aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/World.h2
-rw-r--r--src/main.cpp7
2 files changed, 7 insertions, 2 deletions
diff --git a/include/World.h b/include/World.h
index eab8e30..6e5c3da 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 8
+#define MAX_ENTITIES 16
// Easy shortcuts used in UIClass
#define goWorldLeft(w) if(w->toLeft){w=w->toLeft;}
diff --git a/src/main.cpp b/src/main.cpp
index 593e125..ed80ee2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -80,7 +80,12 @@ int main(int argc,char **argv){
currentWorld=w;
currentWorld->addLayer(3);
- //currentWorld->addEntity((void *)entnpc);
+ currentWorld->addLayer(4);
+ // shh
+ unsigned char jklasdf;
+ for(jklasdf=0;jklasdf<10;jklasdf++){
+ currentWorld->addEntity((void *)entnpc[jklasdf]);
+ }
float gw;