Commit graph

18 commits

Author SHA1 Message Date
Renato
8e6305881e lua format - if/fnc are no longer inline 2022-08-17 12:51:56 -03:00
Renato
53f30d2969 lua cleanup 2022-08-17 02:44:09 -03:00
Renato
85851c86e5 cleanup/indentation referring to #301 2022-07-25 16:19:27 -03:00
miah-sebastian
31bbd4d8f5
added drop items and exchange items in action bar. (#301)
* added drop items and exchange items in action bar.

* mistakingly took both instances of getClothSlot

* added function back, and cleaned up onDropFunc in actionbar

* made onDrop reference actionBarPanel and contentsPanel

* cleaned up onDrop function

* removed saveActionBar(), it was making it not save

* fixed backwards logic in onDrop function

* Fixed getClothSlot and removed redundant getClothSlot declaration

* removed indentation

* added check to avoid indexing a nil value

* added check for loadActionBar() to avoid indexing nil value

* added temporary support for equipping weapons, should be handled another way.
2022-07-25 11:30:27 -03:00
Renato
16235e6a67 formatted modules 2022-04-29 23:14:24 -03:00
Renato
470826840e returned with bindPressMove 2022-04-27 22:54:09 -03:00
Renato
007bc2d1bc fix #264 2022-04-27 22:50:53 -03:00
Oscar
034e379af0
Actionbar update (#154)
Co-authored-by: TheMaoci <themaoci@gmail.com>
Co-authored-by: Dip-Set1 <64603592+Dip-Set1@users.noreply.github.com>
2021-09-28 08:07:26 +02:00
Renato
855a87ad9e code lua formatted 2021-07-19 19:24:59 -03: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
Eduardo Bart
2e75380218 Reimplement text edit scrolling in C++
* And update some corelib APIs
2013-01-16 14:20:17 -02:00
Henrique Santiago
8753f82fd0 Change cursor on textedit, remove possibility to close EnterGame window 2012-08-10 16:32:21 -03:00
BeniS
5520501673 Implemented the mount interface, Fixed some interface stuff, Some cosmetics, and Updated the outfits window
* Added new arrow buttons.
* Fixed the vertical separator.
* Added new game_playermount module to handle player mounting.
* Moved the battle icons to /images.
* Outfit window accommodates for mounts, loads addons more efficiently and keeps addons set on update, added new Outfit.randomize function that allows you to randomize your outfit colors, and set up a new layout.
2012-07-15 23:49:28 +12:00
BeniS
3ebb997c37 Fixed/Changed Minimap and Game Interface Window Issue.
* Changed minimap navigation to hold right click.
* Added MAX_FLOOR_UP and MAX_FLOOR_DOWN for floor changing in the minimap.
* Fixed issues with exit window, logout window and count window to stop multiple instances of the window.
2012-07-13 18:31:05 +12:00
Eduardo Bart
ebc88b8354 Tweak modules interface
Minimize miniwindows space usage
Implement easier minimap navigation
Redesign inventory, minimap and healthinfo layout
2012-07-12 20:40:55 -03:00
Eduardo Bart
98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -03:00
Eduardo Bart
8761220deb Refactoring and flexibility changes
* Split game module into game and game_interface
* Move core_lib to corelib
* Move miniwindow to corelib
* Introduce init.lua script for initializing the client, giving much more flexibility
* OTClient is no longer Application derived and is much simpler
2012-06-19 21:16:52 -03:00
Renamed from modules/core_lib/mouse.lua (Browse further)