Added detection of tile sizes and world sizes so different sizes of maps can be rendered.

This commit is contained in:
2023-10-04 03:00:02 -05:00
parent 2f302f7370
commit ee5f6f9598
13 changed files with 99 additions and 82 deletions
+1
View File
@@ -17,6 +17,7 @@ struct TileCollisionData{
struct TilesetData{
Renderable*tileset=nullptr;
int tilewidth,tileheight;
std::map<int,XMLTag>foregroundTiles;
std::map<int,XMLTag>upperForegroundTiles;
std::map<int,TileCollisionData>collision;