Restructure files

This commit is contained in:
2023-11-15 08:23:58 +01:00
parent d37936ce7f
commit e9bdc623fc
7 changed files with 16 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
#include <rlImGui.h>
#include "systems/systems.h"
#include "systems.h"
#include "utils/building_types.h"
#include "components.h"
#include "game_state.h"
@@ -8,7 +8,7 @@
#include "map_layers.h"
#include "buildings.h"
#include "utils/pathfinding.h"
#include "pathfinding.h"
ECS_COMPONENT_DECLARE(Game);

View File

@@ -3,7 +3,7 @@
#include <breeze.h>
#include "../components.h"
#include "components.h"
typedef struct PathMove {
i8 x;

View File

@@ -3,7 +3,12 @@
#include <flecs.h>
#include "../components.h"
#include "components.h"
/**********************************
* Entity Systems
**********************************/
void renderEntities(ecs_iter_t *it);
void updateAnimations(ecs_iter_t *it);

View File

@@ -1,7 +1,7 @@
#include "systems.h"
#include "../game_state.h"
#include "game_state.h"
#include <math.h>
#include <raymath.h>

View File

@@ -1,6 +1,6 @@
#include "systems.h"
#include "../game_state.h"
#include "game_state.h"
void uiTask(ecs_iter_t *it) {
const Game *game = ecs_singleton_get(ECS, Game);