Eduardo Bart
de0008caf1
ui and graphics changes
...
* implement draw clipping using opengl stencil buffers
* allow to create Widgets by style name with g_ui.createWidgetByStyle
* styles can now have children widgets
* make proper use of the isNotPathable in pathfinding
* add scrollbar skin
2012-03-24 12:22:40 -03:00
Eduardo Bart
d10a68613b
bind zoom hotkeys
2012-03-23 19:19:53 -03:00
Eduardo Bart
3aacd9d43c
console fixes
2012-03-23 19:02:58 -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
159eb98df2
introduce startup options
...
* startup options with -help and -version
* many startup options for graphics
2012-03-22 13:10:12 -03:00
Eduardo Bart
f62f507813
just fixes
...
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
2012-03-19 14:54:47 -03:00
Eduardo Bart
4bac617fd9
some protocol 870 support
2012-03-18 17:59:00 -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
26629cf77c
woops!
2012-03-16 10:35:27 -03:00
Eduardo Bart
a24212d4de
back to otclient dev, with new background!
...
* show otclient version in background
* disable about module (don't really need it)
* new function for formating strings like sprintf, Fw::formatString
* new nice background (taken from RPG maker XV)
* update contact information in README
* fix text rendering issues with opacity
2012-03-16 10:31:21 -03:00
Eduardo Bart
b46d4c4d5f
non relevant changes
2012-03-16 10:31:21 -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
Eduardo Bart
96358b317d
drag fixes
2012-02-09 16:38:50 -02:00
AndreFaramir
d0a5f27fcf
improving battle window and fixes
2012-02-09 05:26:52 -02:00
Eduardo Bart
c707f990bf
fix popupmenu, fix mouserelease events, fix connect
2012-02-09 04:42:07 -02:00
AndreFaramir
8545d15304
implementing battle window, need some improvements but its working
2012-02-09 03:28:38 -02:00
Eduardo Bart
a8c9980a5c
bind lua functions for questlog/npc trade/trade/channels/text edit/list edit/containers
2012-02-09 01:45:19 -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
AndreFaramir
aff8c7717e
fixes and preparations for battle window
2012-02-08 06:12:46 -02:00
Eduardo Bart
1013ae279b
fix messagebox and rename some stuff
2012-02-08 00:11:57 -02:00
Eduardo Bart
619f751371
fixes in uicreature rendering
2012-02-07 23:33:08 -02:00
Eduardo Bart
09b3aa82df
add onGameStart/onGameEnd/onLogin/onLogout events
2012-02-07 21:54:33 -02:00
Eduardo Bart
ee1357a848
add combat controls
2012-02-07 21:06:52 -02:00
Eduardo Bart
e51789378a
make hover, dragging, press and mouse release work in a proper way
2012-02-07 17:21:53 -02:00
Eduardo Bart
d6ade5a8e0
fix draw of uicreature
2012-02-07 05:59:20 -02:00
Eduardo Bart
0b220e2e88
pass item id to item shader
2012-02-07 05:04:22 -02:00
AndreFaramir
ff8cc88ec8
more fixes
2012-02-07 04:57:37 -02:00
Eduardo Bart
7b34d9336a
fix effects
2012-02-07 04:44:48 -02:00
AndreFaramir
458cdcc23e
optimizations and fixes
2012-02-07 03:52:48 -02:00
Eduardo Bart
37f3f904c7
some fixes in MainWindow move
2012-02-07 02:55:20 -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
46df3c7dbe
some window moving
2012-02-06 22:41:53 -02:00
Eduardo Bart
08a88e3842
restore client_tibiafiles
2012-02-06 18:10:51 -02:00
Eduardo Bart
b2d1e6bd89
remove submodule
2012-02-06 18:10:04 -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
Eduardo Bart
64c9e4f1d5
add modulemanager module
2012-02-05 23:44:47 -02:00
Eduardo Bart
a55e138002
some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while
2012-02-05 20:42:35 -02:00
Eduardo Bart
0471785d30
remove client_tibiafiles submodule, you must download and place spr/dat by yourself from now on
2012-02-05 17:46:56 -02:00
Eduardo Bart
cc081d8151
update TODO, rename onMouseDoubleClick to onDoubleClick
2012-02-04 15:04:44 -02:00
Eduardo Bart
91a7ed8371
notificate the server when leaving a channel, focus npc channel when talking to a npc
2012-02-04 01:03:46 -02:00
Eduardo Bart
2b206a74a9
some key codes changes
2012-02-04 00:43:43 -02:00
Eduardo Bart
aafe219532
fix numpad keys on win32
2012-02-04 00:11:18 -02:00
AndreFaramir
6d6f890ede
bug fix
2012-02-03 19:37:42 -02:00
AndreFaramir
68d0f6e015
removing debug message
2012-02-03 18:30:54 -02:00
AndreFaramir
03d6081e32
Implementing chat history (shift+up / shift+down)
2012-02-03 18:27:43 -02:00
Henrique Santiago
d931b03fed
spinbox improvements
2012-02-03 09:59:55 -02:00
AndreFaramir
a26b64c4bf
Remove debug message
2012-02-03 08:05:50 -02:00
AndreFaramir
1615bf7a36
-add tibia chat commands like #w, #y and private command.
...
-fixed redundant onEnter/onReturn on chat panel
2012-02-03 07:59:04 -02:00
Andre Ricca da Costa
882b7ec026
double click funcionalities and some fixes
2012-02-03 04:20:58 -02:00
Andre Ricca da Costa
4563471790
replacing tabs, fixing event hook
2012-02-03 03:24:45 -02:00
Andre (Notebook)
84bcdb5f95
rework on chat functionalities
2012-02-03 02:32:39 -02:00
Eduardo Bart
7bb828faee
merge revgraphics
2012-02-03 02:21:36 -02:00
Eduardo Bart
411ac72fdc
change some comments
2012-02-03 02:18:54 -02:00
Eduardo Bart
05f649cdeb
rework speak types
2012-02-02 22:25:18 -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
34f9ecb6c8
fixes in Settings/g_configs
2012-02-01 22:10:55 -02:00
Eduardo Bart
98ef0e4574
allow setting/getting nodes in g_configs
2012-02-01 21:37:40 -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
437f515e7c
fix outfit problems
2012-01-30 04:27:21 -02:00
Eduardo Bart
87236ee780
add missing shader
2012-01-30 01:27:25 -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
Eduardo Bart
4276bd680d
allow use of mipmaps in framebuffers
2012-01-28 16:29:03 -02:00
Eduardo Bart
e8767d3971
fix possible crash when disconnecting, fix status small message
2012-01-26 15:23:47 -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
4702ea5946
update submodule
2012-01-24 22:58:57 -02:00
Eduardo Bart
99ff5ce24c
implement line wrap for text messages
2012-01-24 22:58:57 -02:00
Eduardo Bart
3b583bf331
fix connect
2012-01-24 20:22:56 -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
b17cc43fc6
fix container update item
2012-01-20 02:27:48 -02:00
Eduardo Bart
f21927e8d9
implement cursor change for win32
2012-01-20 00:48:56 -02:00
Henrique Santiago
bd63bde722
fix dragqueen and containers
2012-01-20 00:33:19 -02:00
Eduardo Bart
759b7f43b3
dran and drop for UIWidget
2012-01-19 23:16:22 -02:00
Henrique Santiago
733039e50e
init move items
2012-01-19 23:12:26 -02:00
Henrique Santiago
168f03125c
combobox with wheel event
2012-01-19 17:15:45 -02:00
Eduardo Bart
9b8043cf31
fix paste oftexts with accents in x11
2012-01-19 15:56:52 -02:00
Henrique Santiago
3a4ed78b30
borders fix
2012-01-19 15:08:52 -02:00
Eduardo Bart
9450fab9e7
fix walk freeze, fix some texts displaying in pink
2012-01-19 14:23:45 -02:00
Henrique Santiago
3725577aac
little change to support mapeditor again
2012-01-19 14:02:13 -02:00
Eduardo Bart
6ce92a1a64
rework walk
2012-01-19 02:12:53 -02:00
Eduardo Bart
cc5b36b1cb
Game.useOnCreature lua api
2012-01-17 20:28:55 -02:00
Eduardo Bart
0b08552bbc
fix a loading error crash, command to debug containers items ids
2012-01-17 06:26:13 -02:00
Eduardo Bart
9997b258b9
fix combobox style
2012-01-17 04:43:48 -02:00
Eduardo Bart
7bcf7f536e
cache rendering of UILabel
2012-01-17 03:36:25 -02:00
Eduardo Bart
e6cb3de637
add options style for UIComboBox, fix push values of otml nodes
2012-01-16 06:26:57 -02:00
Eduardo Bart
186e3dc86b
add numpad keys in lua const
2012-01-16 03:54:53 -02:00
Eduardo Bart
de0e4a1acf
fix release keys on x11, remove ping addon, fix minor issue in outfit render, fix emblem updates
2012-01-15 23:55:14 -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
8bc879d295
limite chat upto 10 labels
2012-01-14 18:14:40 -02:00
Eduardo Bart
5e5ddae167
some UI changes
2012-01-14 17:31:20 -02:00
Eduardo Bart
c6013dfeda
implement more chat...
2012-01-14 03:54: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
Eduardo Bart
eb308997d4
fix chat and grid layout
2012-01-13 04:32:47 -02:00
Henrique Santiago
ea70f90e92
improve containers
2012-01-12 22:31:50 -02:00
Henrique Santiago
b812d60690
init container
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
Eduardo Bart
34af633b47
implement mouse cursor set in x11 platform
2012-01-11 23:12:36 -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
Eduardo Bart
a7865e26e3
reload notification for otclientrc
2012-01-11 19:24:37 -02:00
Eduardo Bart
ad76353073
update tibiafiles
2012-01-11 18:47:12 -02:00
Henrique Santiago
983bc745bd
viplist order
2012-01-11 16:08:56 -02:00
Eduardo Bart
0d11871298
update TODO
2012-01-11 11:42:53 -02:00
Eduardo Bart
dba03d69f6
fix protocol 860 death, fix progress bar
2012-01-11 10:48:34 -02:00
Eduardo Bart
0e88b03693
styles adjustment
2012-01-11 10:06:59 -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
Eduardo Bart
8ad88c4070
move UIWindow to lua
2012-01-10 21:13:38 -02:00
Eduardo Bart
a1374baee1
major UIWidget rewrite with new features
2012-01-10 20:13:40 -02:00
Eduardo Bart
d6ff85754c
remove test code
2012-01-09 19:19:45 -02:00
Eduardo Bart
b18f85d6fd
fix dat
2012-01-09 19:17:16 -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
Eduardo Bart
3230095cea
add ui padding
2012-01-09 16:46:15 -02:00
Henrique Santiago
4bfd335c98
remove code from uimap to lua
2012-01-09 16:06:16 -02:00
Eduardo Bart
b00076bcb9
addon to show walk ping
2012-01-09 04:46:44 -02:00
Eduardo Bart
81e378cc22
some rework on gameprotocol class
2012-01-09 03:23:55 -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
90900e44a7
console options
2012-01-08 21:28:49 -02:00
Eduardo Bart
fdc9087870
implement chat colors, rework on UI layout update system
2012-01-08 20:32:55 -02:00
Eduardo Bart
23ebcd9048
protocol 860 fixes
2012-01-08 18:11:50 -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
Eduardo Bart
fbaa7c8c43
changes to wotk with protocol 860
2012-01-08 13:42:23 -02:00
Henrique Santiago
d04596c5fd
target rework, improved map clicking
2012-01-07 20:24:42 -02:00
Eduardo Bart
4a179cd212
dont reset password on connection errors
2012-01-07 20:25:35 -02:00
Eduardo Bart
196a95f4c0
fix options
2012-01-07 19:19:40 -02:00
Eduardo Bart
ef0c625c41
add option custom user script, otclientrc.lua
2012-01-07 19:10:06 -02:00
Eduardo Bart
060d8740f5
lua hotkeys system
2012-01-07 18:00:07 -02:00
Eduardo Bart
c4b2dd18d6
restore terminal, rework console
2012-01-07 15:36:58 -02:00