From: Clyne Sullivan Date: Sun, 13 Sep 2015 02:20:52 +0000 (-0400) Subject: stuff X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=02fb5b80a65bf1f138eebfd6058905fad216f877;p=clyne%2Fgamedev.git stuff --- 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;