Commit Graph

16 Commits

Author SHA1 Message Date
EgzoT e6f273d5e1 Add functionality to minimap flags system (#931)
- Add parameter 'temporary' to method 'UIMinimap:addFlag', who prevents saving flag with this parameter (look 'UIMinimap:save' method), add flag only at game session time. Old parameters list work the same at previous - backward compatibility.
- Add possibility to add icon from outside (for example from module folder) using link to this file. Old system with choose flag name by number work the same at previous, now method check if paramether is number then use old system otherwise get icon from path - backward compatibility. 'Mods' friendly.
2018-02-28 21:45:59 +01:00
TheSumm 84f6cdec86 Fix #576, PopupMenus close when leaving the game 2015-04-19 13:56:03 +02:00
BenDol 9e0ddb08e3 More debug prints and avoid null pointer. 2014-07-14 01:56:17 +12:00
BenDol 74979ca16a Remove debug print and redundant checks. 2014-07-13 23:12:56 +12:00
BenDol 0f362f80e3 Added easy menu hooking, fixed terminal default size/pos & more:
* Added autowalk style option to Minimap style.
* Added onCreate for setting up variables before styling is applied etc.
2014-07-13 22:27:09 +12:00
Jacek Wielemborek e6c9e78935 Get rid of trailing whitespace.
Commit generated by command:

find -type f ! -path '*.git*' ! -path '*.png' ! -path '*.ico' ! -path \
    '*.ogg' | xargs -I '{}' sed -i '{}' -e 's/\t*$//g' -e 's/ *$//g'
2014-01-18 15:09:26 +01:00
Sam 4f9f04206d Added enter / escape button to minimap flag window 2013-11-18 20:57:50 +01:00
Eduardo Bart e528fcc8f8 Minor fixes and improvements 2013-02-28 02:43:26 -03:00
Eduardo Bart 06e2b6eca2 Platform fixes and rework ping 2013-02-24 22:16:45 -03:00
Eduardo Bart 9a54bfcc90 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
2013-02-21 17:03:05 -03:00
Henrique Santiago 4c3c945bab Fix tooltip, minimap 2013-01-31 19:43:42 -02:00
Henrique Santiago e370ffdb0f More changes to minimap 2013-01-31 18:34:27 -02:00
Henrique Santiago 546007f1df UIImageView, fixes to minimap 2013-01-31 14:20:04 -02:00
Eduardo Bart 89c012e81f Improvements in minimap drawing 2013-01-31 03:38:06 -02:00
Henrique Santiago 8a2d2cd5ac Fixes to minimap 2013-01-31 01:09:56 -02:00
Henrique Santiago 17d09f41be Rework UIMinimap 2013-01-30 23:44:57 -02:00