Update to use game_tileset.h

This commit is contained in:
2023-12-13 15:37:41 +01:00
parent 20aee8ffae
commit ce519fe409
14 changed files with 411 additions and 374 deletions

View File

@@ -4,8 +4,7 @@
#include <breeze.h>
#include <flecs.h>
#include "utils/building_types.h"
#include "utils/entity_types.h"
#include "game_tileset.h"
extern ECS_TAG_DECLARE(TextureTerrain);
extern ECS_TAG_DECLARE(TextureBuildings);
@@ -102,6 +101,7 @@ extern ECS_COMPONENT_DECLARE(TextureRegion);
* Animation components
*********************************************************/
/*
typedef struct Animation {
EntityType entityType;
AnimationType animType;
@@ -114,6 +114,7 @@ typedef struct Animation {
extern ECS_COMPONENT_DECLARE(Animation);
extern ECS_COMPONENT_DECLARE(AnimationType);
*/