Settable zoom out code - incomplete prototype

This commit is contained in:
Mike Primm 2011-06-22 08:27:21 -05:00
parent a7c6a20dcc
commit bec1108fa1
9 changed files with 269 additions and 5 deletions

View file

@ -30,8 +30,8 @@ FlatMapType.prototype = $.extend(new DynMapType(), {
dnprefix = '_day';
if(this.dynmap.world.bigworld)
tileName = this.prefix + dnprefix + '/' + (coord.x >> 5) + '_' + (coord.y >> 5) +
'/128_' + coord.x + '_' + coord.y + '.png';
tileName = this.prefix + dnprefix + '_128/' + (coord.x >> 5) + '_' + (coord.y >> 5) +
'/' + coord.x + '_' + coord.y + '.png';
else
tileName = this.prefix + dnprefix + '_128_' + coord.x + '_' + coord.y + '.png';
imgSize = Math.pow(2, 7+zoom);