aboutsummaryrefslogtreecommitdiff
path: root/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'world.h')
-rw-r--r--world.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/world.h b/world.h
index 9871e9b..3127f37 100644
--- a/world.h
+++ b/world.h
@@ -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;
};