Restructure files
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <breeze.h>
|
||||
|
||||
#include "../components.h"
|
||||
#include "components.h"
|
||||
|
||||
typedef struct PathMove {
|
||||
i8 x;
|
||||
@@ -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);
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "systems.h"
|
||||
|
||||
|
||||
#include "../game_state.h"
|
||||
#include "game_state.h"
|
||||
#include <math.h>
|
||||
#include <raymath.h>
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user