Fixed the map issue (read more)

The map generation was being written to a trigger function instead of a
glue method. Fixed, map is being drawn correctly now.
This commit is contained in:
Kayne Ruse
2014-07-31 19:17:29 +10:00
parent 2b3ea5eb80
commit 555abf9c95
3 changed files with 21 additions and 18 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ InWorld::InWorld(
//load the tilesheet
//TODO: add the tilesheet to the map system?
tileSheet.Load(config["dir.tilesets"] + "terrain.bmp", 12, 15);
//TODO: Tile size and tile sheet should be loaded elsewhere
tileSheet.Load(config["dir.tilesets"] + "terrain.bmp", 32, 32);
//request a sync
RequestSynchronize();