From 02fb5b80a65bf1f138eebfd6058905fad216f877 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 12 Sep 2015 22:20:52 -0400 Subject: stuff --- include/World.h | 2 +- src/main.cpp | 7 ++++++- 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 // 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; -- cgit v1.2.3