Commit Graph

159 Commits

Author SHA1 Message Date
BenDol c083d02bef Some fixes for class names and queue (added base class). 2014-06-07 04:10:14 +12:00
BenDol 00253e46b3 Added Queue class for event queuing (see CandyBot for examples of this). 2014-06-04 02:17:49 +12:00
BenDol 2df51622ba Some improvements to some things. 2014-06-02 10:04:56 +12:00
BenDol 1baad726ae Just use g_configs.unload(config) to unload config files.
Avoids concurrent modification errors.
2014-04-06 15:29:02 +12:00
BenDol 3ce37dacbd Removed onUnload from corelib and added more lua bindings for resources. 2014-04-02 05:20:18 +13:00
BenDol 5204e3ac03 Proper termination and initialization of the ConfigManager. 2014-04-02 00:30:17 +13:00
BenDol 4b24c78f0f Fix to the makesingleton function. 2014-04-01 17:22:00 +13:00
BenDol 994f49b3c1 Better implementation for forming the singleton wrapper. 2014-04-01 17:08:07 +13:00
BenDol 79ee0e34ea Keep g_settings as a 'static' variable rather than a direct object. 2014-04-01 16:51:38 +13:00
BenDol b295053662 Finished stable implementation (as far as tested), still requires more testing. 2014-04-01 16:27:33 +13:00
BenDol 61059e66ec Started implementing ability to load custom config files (currently unstable).
Feel free to help out with this if you like :)
2014-04-01 05:43:31 +13: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
Kamil Chojnowski b718ae0423 Update tabs navigation to take offscreen tabs into account 2014-01-15 04:56:42 +01:00
Kamil Chojnowski 291960d159 Make tab navigation more intuitive 2014-01-15 02:32:02 +01:00
Sam f615b80fbc Navigation for large tab amounts, closes #211 2013-12-03 20:25:56 +01:00
Joao Pasqualini Costa 719debfeae Fix keyboard unbind
Now this will unbind the right widget
2013-08-17 21:54:16 -03:00
BeniS 5fbb71157d Added enable/disable chat mode (allows for alphabetical key controls), battle window anchoring fixed (thank you River) & more:
* Added better walk key binding (for other uses, like the sample given WASD).
* Made string.ends part of the string meta table rather than parameter based.
2013-07-29 10:42:18 +12:00
Eduardo Bart b43a196eac Minor fixes and add auto resize for images 2013-03-15 21:59:22 -03:00
Eduardo Bart 62921dee9b Fixes in options, hotkeys and viplist 2013-03-02 17:01:52 -03:00
Eduardo Bart dad3026ba0 Optimize terminal buffering 2013-02-28 21:35:35 -03:00
Eduardo Bart b804dd6959 Fixes and new tuned terminal 2013-02-28 18:46:42 -03:00
Eduardo Bart e528fcc8f8 Minor fixes and improvements 2013-02-28 02:43:26 -03:00
Henrique Santiago 46aa0c005f Support to miniwindow margin, fix protocollogin connectCallback, pt translation 2013-02-27 23:45:03 -03:00
BeniS 8e9f65779c Implemented client_serverlist module! Close #200
* Will store servers that are not already in the list when logging in
* Can add servers manually if required too
* Fixed a bug in table.size
2013-02-24 00:41:21 +13: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
BeniS 88c59afb8c Added 'sell all' tooltip to show items you can sell
* Now 'sell all' button with enable/disable
* Fixed display issue with 'sell all' button
* Also changed spinbox button click
2013-02-20 23:08:03 +13:00
BeniS b61094c053 Minor fix to scroll bar 2013-02-20 15:03:45 +13:00
Henrique Santiago 6d456994f4 Fix scrollbar 2013-02-19 21:34:50 -03:00
Henrique Santiago 59a5b8115a Fix locale send, spelllist reload, few changes 2013-02-18 22:18:10 -03:00
Eduardo Bart 62f38d678d Fix for chat commands #s #w #y
* Some progressbar changes
2013-02-14 16:34:55 -02:00
BeniS cb42481edd Market fix, and a few other things:
* Added 'button' param to g_mouse.bindPress
* Added 'lower' param to table.contains
* UIComboBox:onOptionChange should signalcall?
* Changed the experience bar color
* Market buy/sell 'amount' window will now show the cost
  of the amount you are selecting
2013-02-13 05:14:16 +13:00
Henrique Santiago 8f9055f48b Fixed mouse bug, allow locales list 2013-02-10 03:24:51 -02:00
Henrique Santiago dfb0150a7d Fix signalCall, healthinfo tooltips 2013-02-10 01:17:20 -02:00
Henrique Santiago 11cb287a21 Changes to UIProgressBar, simplified healthinfo module 2013-02-09 19:57:37 -02:00
Eduardo Bart 7ece0ed8c7 Buttons for client options 2013-02-06 17:35:59 -02:00
Henrique Santiago d4fb6127fc Add blink effect 2013-02-05 19:08:32 -02:00
Henrique Santiago db73bbdea2 Pt translations, uicombobox, options 2013-02-01 14:31:24 -02:00
BeniS 469df27d9b Implement #261 2013-02-01 14:21:20 +13: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
BeniS 9e208fa792 Fix 255 also another cooldown bug:
* If you use the cooldown during the ping delay time it wouldn't init
  the cooldown again.
2013-01-31 20:31:21 +13: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
Henrique Santiago ca9c33ff54 Fix getColor, add/get position 2013-01-30 19:08:53 -02:00
Eduardo Bart da050a5630 Fix trade/use bug from previous commit 2013-01-30 18:57:37 -02:00
Eduardo Bart 5bf03c50d6 Rework hotkeys manager, fix many issues on it 2013-01-30 18:28:54 -02:00
BeniS ec30567d6b Some fixes to spells/cooldowns.
* Fixed 'progress' bug for spells in the cooldown module.
* Fixed a bug with GameForceFirstAutoWalkStep feature.
* Moved the spells ID to its SpellInfo row.
* Lower cased table functions (consistant).
2013-01-29 19:26:32 +13:00
Eduardo Bart d6e8e92a45 Some fixes in hotkeys and other improvements
* Save last logged character and world instead of character name
* Make focused label always visible in character list and hotkeys
* Other fixes in hotkeys
2013-01-28 16:33:35 -02:00
Eduardo Bart 4351f3c63f More improvements in walk 2013-01-26 20:12:00 -02:00