Remove entity map in favor of spatial grid
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
#include <breeze.h>
|
||||
#include <flecs.h>
|
||||
|
||||
#include "entity_map.h"
|
||||
|
||||
typedef enum InputState {
|
||||
INPUT_NONE,
|
||||
INPUT_PLACING,
|
||||
@@ -20,7 +18,7 @@ typedef struct Game {
|
||||
BzTileset buildingsTileset;
|
||||
BzTileset entitiesTileset;
|
||||
BzTileMap map;
|
||||
EntityMap entityMap;
|
||||
BzSpatialGrid *entityGrid;
|
||||
f32 frameDuration;
|
||||
ecs_entity_t entity;
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user