dmonzonis / lazarus

Engine for creating roguelikes in C++
GNU General Public License v3.0
0 stars 0 forks source link

Get tile size from config file or image filename #13

Closed dmonzonis closed 5 years ago

dmonzonis commented 5 years ago

Instead of having to pass the tile size as a parameter when loading a tileset, grab it automatically from a config file (e.g. a .ini file with the filename and tile sizes), or from the filename directly (in which case, a naming pattern would be enforced, e.g., myTileset_12x12.png.

dmonzonis commented 5 years ago

Done in cf9b4e4040f825fb3372ceade8c1d91ea8482a16