Minimap, hotkeys and lot of other changes

* Begin working on a new layout system for UIMinimap and later UIMap,
this new layout system allows to add widgets to the minimap
* Add option to disable motd
* Rework hotkey binding
* Lots of fixes in hotkeys manager
* Add fullmap view using Ctrl+Shift+M
* Prevent some crashs in ThingType draw
* Add function to load minimap from PNG files
* Fixes in minimap saving
* Fixes in Tile::isClickable
* Add UIMapAnchorLayout, new layout for maps
* Fix freezes in win32 when pressing alt key
This commit is contained in:
Eduardo Bart
2013-02-18 13:16:22 -03:00
parent f8b078ea91
commit 9a54bfcc90
43 changed files with 842 additions and 499 deletions

View File

@@ -3,7 +3,8 @@ vipButton = nil
addVipWindow = nil
function init()
connect(g_game, { onGameEnd = clear,
connect(g_game, { onGameStart = refresh,
onGameEnd = clear,
onAddVip = onAddVip,
onVipStateChange = onVipStateChange })
@@ -20,7 +21,8 @@ end
function terminate()
g_keyboard.unbindKeyDown('Ctrl+P')
disconnect(g_game, { onGameEnd = clear,
disconnect(g_game, { onGameStart = refresh,
onGameEnd = clear,
onAddVip = onAddVip,
onVipStateChange = onVipStateChange })