Separate buildings function from main.c

This commit is contained in:
2023-11-12 16:31:40 +01:00
parent 8edb7b7ea9
commit bf56b150cc
7 changed files with 148 additions and 121 deletions

View File

@@ -1,10 +1,10 @@
#include "map_init.h"
#include "components.h"
#include "game_state.h"
#include <flecs.h>
#include "components.h"
#include "game_state.h"
#include "map_layers.h"
bool initGameObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup) {
for (i32 i = 0; i < objectGroup->objectCount; i++) {