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

@@ -3,21 +3,6 @@
#include <breeze.h>
typedef enum Layers {
LAYER_TERRAIN = 0,
LAYER_FOLIAGE,
LAYER_TREES,
LAYER_TREES2,
LAYER_BUILDINGS,
LAYER_BUILDING_OWNER,
} Layers;
typedef enum ObjectGroup {
OBJECTS_GAME = 0,
OBJECTS_ENTITIES,
} ObjectGroup;
bool initGameObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup);
bool initEntityObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup);