25 lines
640 B
C
25 lines
640 B
C
#ifndef PIXELDEFENSE_MAP_INITIALIZATION_H
|
|
#define PIXELDEFENSE_MAP_INITIALIZATION_H
|
|
|
|
#include <breeze.h>
|
|
#include <flecs.h>
|
|
|
|
#include "components.h"
|
|
|
|
bool initGameObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup);
|
|
|
|
bool initEntityObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup);
|
|
|
|
bool initBuildingsLayer(BzTileMap *map, BzTileLayer *layer);
|
|
|
|
bool initRocksLayer(BzTileMap *map, BzTileLayer *layer);
|
|
|
|
bool initTreesLayer(BzTileMap *map, BzTileLayer *layer);
|
|
|
|
typedef struct Game Game;
|
|
|
|
void loadMap(Game *game, const char *path, bool mainMenu);
|
|
void unloadMap(Game *game);
|
|
|
|
#endif //PIXELDEFENSE_MAP_INITIALIZATION_H
|