update level editor so the player spawn point can be selected

This commit is contained in:
Hunter 2023-05-27 19:22:06 -04:00
parent 553ab7c1df
commit b7384adc5e
8 changed files with 701 additions and 150 deletions

View file

@ -2,6 +2,8 @@
#include <string>
#include <vector>
struct MapPoint {};
struct MapData {
std::vector<std::string> mapTiles;
std::vector<std::string> mapEnemys;
@ -22,5 +24,6 @@ struct Map {
};
Map PLoadMapFromFile(std::string filepath);
Map PCreateNewMap(std::string filepath);
void PSaveMapToFile(Map *map, std::string filepath);
void PRenderMap(Map *map);
void PRenderMap(Map *map, bool debug = false);