update level editor so the player spawn point can be selected
This commit is contained in:
parent
553ab7c1df
commit
b7384adc5e
8 changed files with 701 additions and 150 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue