Commit Graph

164 Commits

Author SHA1 Message Date
Eduardo Bart a4cef0d390 fix possible mapview crash 2012-03-28 16:09:45 -03:00
Eduardo Bart 8d14d9bc99 restore old modules
* partially restore vip, battle, healthbar, skills and inventory modules
* more fixes on UIWidgets
* implement UIMiniWindow close/minimize functionality
* allow drag and drop miniwindows beteween game panels
2012-03-28 11:10:21 -03:00
Eduardo Bart e2ea267703 rework mouse events propagation 2012-03-28 08:46:15 -03:00
Eduardo Bart 92d535f981 improve scrolling 2012-03-27 21:33:35 -03:00
Eduardo Bart 668c4d98d9 win32 fixes 2012-03-27 18:33:58 -03:00
Eduardo Bart 8ea154016b fix and changes
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
2012-03-27 15:14:40 -03:00
Eduardo Bart 060c1cf8e7 ui changes
* create UIResizeBorder
* restore miniwindow
* scroll fixes
2012-03-26 19:24:01 -03:00
Eduardo Bart ee869bb279 side panel splitter 2012-03-26 15:33:00 -03:00
Eduardo Bart ccf55132a1 OMG the chat is finally scrolling!
* implement UIScrollArea
* rework console to allow scrolling
* many core ui changes in the way.. so maybe we will have new bugs
* fix in UIScrollBar
2012-03-25 14:10:19 -03:00
Eduardo Bart 179e53bb77 scrollbar, options and widgets changes
* complete scrollbar skin
* implement scrollbar functionality (scrolling with mouse)
* fix onMouseClick issues
* add tabs in options (graphics and general tab)
* add new option for limiting frame rate using scrollbar
* add new widget property "clipping" that will be used on scrollable areas
2012-03-25 11:10:15 -03:00
Eduardo Bart d10a68613b bind zoom hotkeys 2012-03-23 19:19:53 -03:00
Eduardo Bart fe86dc8050 real autowalking
* smart autowalking using A* path finding algorithm
2012-03-23 17:36:58 -03:00
Eduardo Bart 8bc63e25df simplistic autowalk
* add simple and stupid autowalk algorithm
* fix issue in classic control
2012-03-23 11:48:00 -03:00
Eduardo Bart 239f58296e restore inventory and healthbar
* make inventory/healthbar work again allowing reload
* changes in top menu toggle buttons
* all modules are now reloadable by default
* fix warning when using fade in
* remove some unused files
2012-03-23 10:48:05 -03:00
Eduardo Bart b301aa1a2b rework splitter implementation 2012-03-23 00:06:00 -03:00
Eduardo Bart 79a1d66f3f add splitter widget
* add horizontal/vertical cursor
* possibildiade to resize game map with the new splitter widget
* fix reload warnings in textmessage
2012-03-22 22:52:31 -03:00
Eduardo Bart 33458a3e39 modules changes
* speedup widget destruction checks
* rework outfit module using grid layout and the new design
* fixes in console, terminal, textmessage modules
2012-03-22 18:47:52 -03:00
Eduardo Bart c0611bfe2a restore some game functionallity
* i'm gradually restoring game functionality with the new modules design, though still a lot to do
* you can reload all scripts and modules using Ctrl+R shortcut while playing (finally! this is the reason of all this rework)
* a bunch of fixes, but new regression too :P
* fix performance issue that could lead freezes in the client in older machines
* completely new game module with new design
* fix crashs in map render
* remove uigame.cpp (now every game input is via lua)
* enable DEBUG macro by default, with it you are able to view any possible lua leak while running
2012-03-18 10:35:45 -03:00
Eduardo Bart e03bf33f58 BEAWARE all game functionality is disabled with this commit for a while
* rework client modules
* hide main window when loading
* remake top menu functions
* rework modules autoload
* improve path resolving for otml and lua
* move core_widgets to core_lib
* fix tooltip issues
* split some styles
* add bit32 lua library
* fix assert issues
* fix compilation on linux 32 systems
* rework gcc compile options
* renable and fix some warnings
* remove unused constants
* speedup sprite cache
* move UIGame to lua (not funcional yet)
* fix a lot of issues in x11 window
* fix crash handler
* add some warnings do uiwidget
and much more...
2012-02-20 00:28:13 -02:00
AndreFaramir d0a5f27fcf improving battle window and fixes 2012-02-09 05:26:52 -02:00
AndreFaramir 8545d15304 implementing battle window, need some improvements but its working 2012-02-09 03:28:38 -02:00
Eduardo Bart 55fbb5f1a6 improvment in connect 2012-02-08 20:58:27 -02:00
Eduardo Bart 175f97b98f reaname and cleanup many stuff 2012-02-08 19:23:15 -02:00
Eduardo Bart 1013ae279b fix messagebox and rename some stuff 2012-02-08 00:11:57 -02:00
Eduardo Bart 09b3aa82df add onGameStart/onGameEnd/onLogin/onLogout events 2012-02-07 21:54:33 -02:00
AndreFaramir 7ed81799b4 added hotkey manager 2012-02-07 01:32:15 -02:00
Eduardo Bart 71c706157a drag fixes 2012-02-07 00:06:48 -02:00
Eduardo Bart 53ead20de5 restore map clicking 2012-02-06 23:35:46 -02:00
Eduardo Bart 88301c329a a lot of changes in modules 2012-02-06 17:19:47 -02:00
Eduardo Bart add8505a5b implement auto repeat configuration for key press events, to give more flexibility 2012-02-06 10:53:28 -02:00
Eduardo Bart f97104f12e replace require with dofile, rename Hotkeys to Keyboard 2012-02-06 02:39:52 -02:00
Henrique Santiago d931b03fed spinbox improvements 2012-02-03 09:59:55 -02:00
Eduardo Bart 7bb828faee merge revgraphics 2012-02-03 02:21:36 -02:00
Eduardo Bart ef96215421 rename item count to countOrSubType, rework and improve things animation/drawing 2012-02-02 14:37:52 -02:00
Eduardo Bart 20390d6684 bind g_map.getSpectators 2012-02-01 17:37:40 -02:00
Eduardo Bart 2a62159a61 rename item data to count, add function to get current class name in lua 2012-02-01 13:20:13 -02:00
Eduardo Bart 266917cc3c introduce virtual items for UIItem 2012-02-01 05:36:32 -02:00
Eduardo Bart 9db7bd2602 rework map rendering 2012-01-29 22:00:12 -02:00
Eduardo Bart d3a403eb93 fix issue in move window, allow 861 protocols, update todo, remove wrong code from spinbox 2012-01-28 16:33:12 -02:00
Henrique Santiago 1983a08cbe move window 2012-01-25 23:11:05 -02:00
Eduardo Bart cfcc3fd428 fix death issues, improve text messages 2012-01-25 12:56:17 -02:00
Eduardo Bart 24aab00431 fix use with, improve move, change icons, improve topbar 2012-01-24 16:39:16 -02:00
Eduardo Bart d500de9aa0 change in topmenu and some fixes 2012-01-23 11:47:15 -02:00
Henrique Santiago e3096c1648 fix move on different floors, dragqueen border on uiitem 2012-01-20 23:01:11 -02:00
Eduardo Bart a5b4ee2c19 fix walk up/down with parcels 2012-01-20 13:00:46 -02:00
Henrique Santiago 7fef0809cb fix usewith, mana null 2012-01-20 03:45:56 -02:00
Henrique Santiago bd63bde722 fix dragqueen and containers 2012-01-20 00:33:19 -02:00
Henrique Santiago 733039e50e init move items 2012-01-19 23:12:26 -02:00
Eduardo Bart 6ce92a1a64 rework walk 2012-01-19 02:12:53 -02:00
Eduardo Bart 186e3dc86b add numpad keys in lua const 2012-01-16 03:54:53 -02:00
Eduardo Bart 44a20222bb walk and key event system rework with some regressions 2012-01-15 19:19:52 -02:00
Eduardo Bart 9ec40f016d implement API to save lists in configs file and terminal history 2012-01-15 13:13:22 -02:00
Eduardo Bart 5e5ddae167 some UI changes 2012-01-14 17:31:20 -02:00
Eduardo Bart 61aa710d1c some chat functionality 2012-01-13 23:37:15 -02:00
Eduardo Bart aae784468b fix some keyboard issues, chat tab, fix loadScript exception 2012-01-13 18:37:44 -02:00
Henrique Santiago ea70f90e92 improve containers 2012-01-12 22:31:50 -02:00
Eduardo Bart 830ebdbea9 implement some chat functionality, but not complete yet 2012-01-12 21:47:31 -02:00
Eduardo Bart 8db565f456 add target cursor 2012-01-11 23:21:59 -02:00
Henrique Santiago c1787c2a50 use with 2012-01-11 21:10:59 -02:00
Henrique Santiago 5bc939a091 fix viplist sort, shared exp blink 2012-01-11 20:31:23 -02:00
Henrique Santiago 71ed758a3f fix party shield, inventory mouse release 2012-01-11 02:43:10 -02:00
Henrique Santiago e714f9e149 party improvements, still need to fix shared exp 2012-01-10 21:38:44 -02:00
Henrique Santiago 4de5e45d52 rework and classic controls 2012-01-09 18:54:37 -02:00
Eduardo Bart 911584e816 fix x11 keyboard modifiers 2012-01-09 17:00:53 -02:00
Henrique Santiago ef82fc1554 start implementing classic controls 2012-01-09 16:51:19 -02:00
Henrique Santiago 4bfd335c98 remove code from uimap to lua 2012-01-09 16:06:16 -02:00
Henrique Santiago 4c539cbbe3 icons enum, fix animated msg, fix trade with on menu 2012-01-08 22:43:36 -02:00
Eduardo Bart fdc9087870 implement chat colors, rework on UI layout update system 2012-01-08 20:32:55 -02:00
Eduardo Bart c7619316bb display 'you are dead message' on death, support speak/text messages in multiprotocol 2012-01-08 16:29:41 -02:00
Henrique Santiago d04596c5fd target rework, improved map clicking 2012-01-07 20:24:42 -02:00
Eduardo Bart ef0c625c41 add option custom user script, otclientrc.lua 2012-01-07 19:10:06 -02:00
Eduardo Bart a3721b3a11 handle close event in lua 2012-01-07 03:35:50 -02:00
Eduardo Bart 806fb5995f disconnect on death 2012-01-07 03:10:02 -02:00
Henrique Santiago 14c517d7a6 skulls, shields and emblems are now rendered, thanks to joao 2012-01-06 21:54:30 -02:00
Henrique Santiago 1b83126ed5 separator fix, fix draw outside map 2012-01-05 16:34:53 -02:00
Henrique Santiago 7e7050929d attack and follow 2012-01-05 12:24:38 -02:00
Henrique Santiago 320b67e292 copy name, invite to party 2012-01-05 10:48:10 -02:00
Eduardo Bart 30ce5e2ba9 reorganize some stuff 2012-01-04 23:28:29 -02:00
Henrique Santiago a73908fbbe addremove vip and look improvements 2012-01-04 12:30:28 -02:00
Henrique Santiago 478e55e658 thing menu improvements 2012-01-04 11:02:50 -02:00
Henrique Santiago 7c4191b1e6 menu working, still need to fix size and add events 2012-01-03 20:27:31 -02:00
Henrique Santiago 01a2e3a636 restore set outfit 2012-01-03 18:41:00 -02:00
Eduardo Bart 05230f44e4 new lua function for creating widgets: createWidget 2012-01-02 22:42:53 -02:00
Eduardo Bart cf0aab6d4d reorganize modules 2011-12-05 16:39:33 -02:00
Eduardo Bart f548825faf too many changes to list, many regressions were made, master will be UNSTABLE for a few days 2011-12-03 19:52:56 -02:00
Henrique b50cb35734 non relevant changes 2011-11-21 14:29:21 -02:00
Henrique fa3b9fd125 add uigame 2011-11-20 18:38:35 -02:00
Eduardo Bart 55136fe866 change loadUI/UI.display lua API 2011-11-17 18:40:31 -02:00
Eduardo Bart 63c018ba4c focus and active states fixes 2011-11-16 19:00:40 -02:00
Eduardo Bart fc65f99ead improve window moving, minor changes to enable others apps use otclient framework 2011-11-11 18:26:10 -02:00
Eduardo Bart 39c62942cf add chat buffer 2011-11-03 21:35:43 -02:00
Henrique a9bf1cee36 remove useless files 2011-11-03 21:12:35 -02:00
Henrique 5d54971568 healthmana module 2011-11-03 21:10:12 -02:00
Eduardo Bart f444dc624c fix and move textmessage to a module 2011-11-03 20:17:00 -02:00
Eduardo Bart b216b00a32 add chat panel, send text messages, guard forbidden functions with an ifdef 2011-11-03 18:54:53 -02:00
Eduardo Bart 14ce1c8183 enable skills and vip window on right panel 2011-11-03 10:17:10 -02:00
Eduardo Bart b345a6d783 create in game interface panels and renable about and options windows 2011-11-03 07:59:11 -02:00
Eduardo Bart 5ab0e6f2ac reorganize modules 2011-11-02 01:02:56 -02:00
Eduardo Bart 999fa731c0 new font files, fixed some font issues 2011-11-01 00:35:50 -02:00
Henrique d814932a16 skill 2011-09-13 18:54:23 -03:00