diff options
Diffstat (limited to 'world.h')
-rw-r--r-- | world.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,10 +2,9 @@ #define world_h #include "components.h" +#include "config.h" #include "player.h" -#define max_entities 256 - typedef int Entity; typedef struct World World; @@ -15,9 +14,10 @@ struct World { unsigned char bitmask[max_entities]; - CSprite sprites [max_entities]; - CPosition positions[max_entities]; - CAnimated animateds[max_entities]; + CSprite sprites [max_entities]; + CPosition positions [max_entities]; + CAnimated animateds [max_entities]; + CBullet bullets [max_entities]; Player player; }; |