about summary refs log tree commit diff stats
path: root/nbproject/genfiles.properties
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2012-06-03 20:05:19 -0400
committerStarla Insigna <hatkirby@fourisland.com>2012-06-03 20:05:19 -0400
commit039bb70673e3c5876aa24fb82592625be060d1bb (patch)
treeb28849af5cc5da1da5971563bea4a2ff7af983b7 /nbproject/genfiles.properties
parenta74985844033dd9edff32b3cf4b7c49e96056410 (diff)
downloadfrigidearth-039bb70673e3c5876aa24fb82592625be060d1bb.tar.gz
frigidearth-039bb70673e3c5876aa24fb82592625be060d1bb.tar.bz2
frigidearth-039bb70673e3c5876aa24fb82592625be060d1bb.zip
Fixed a couple of out of bounds map bugs
One bug had to do with the fact that if the game attempted to place a staircase at the edge of the map, it would check if every surrounding space was blocked regardless of whether or not they were valid positions (i.e. if they were off the edge off the map). The other bug had to do with rounding errors when calculating the viewport because the viewport width and height were both an odd number of tiles. By decreasing the canvas width and increasing the size of the message window, the viewport was changed so as to have an even width and height, thus avoiding the rounding errors.
Diffstat (limited to 'nbproject/genfiles.properties')
0 files changed, 0 insertions, 0 deletions