Progress in SDL platform

This commit is contained in:
Eduardo Bart
2013-03-08 15:32:04 -03:00
parent e6ee88af43
commit d60413f7d6
7 changed files with 123 additions and 7 deletions

View File

@@ -746,6 +746,7 @@ function setupViewMode(mode)
gameMapPanel:setVisibleDimension({ width = 15, height = 11 })
elseif mode == 2 then
local limit = limitZoom and not g_game.isGM()
gameMapPanel:setKeepAspectRatio(false)
gameMapPanel:setLimitVisibleRange(limit)
gameMapPanel:setZoom(11)
gameMapPanel:setVisibleDimension({ width = 15, height = 11 })