mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 03:24:55 +02:00
experimental minimap
* a lot of rework in MapView * new APIs for UIMap
This commit is contained in:
@@ -20,6 +20,7 @@ Module
|
||||
- game_containers
|
||||
- game_viplist
|
||||
- game_battle
|
||||
- game_minimap
|
||||
- game_hotkeys
|
||||
|
||||
@onLoad: |
|
||||
|
@@ -2,6 +2,8 @@ UIGameMap = extends(UIMap)
|
||||
|
||||
function UIGameMap.create()
|
||||
local gameMap = UIGameMap.internalCreate()
|
||||
gameMap:setKeepAspectRatio(true)
|
||||
gameMap:setVisibleDimension({width = 15, height = 11})
|
||||
return gameMap
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user