Eduardo Bart
e3298d561c
Rework application class and framework
...
Make otclient's framework flexible enough to run console apps like
servers, so this mean is possible to build otclient versions without
graphical interface and use it's framework to code servers
2012-07-13 22:23:11 -03:00
Henrique Santiago
0b98dca50f
Changes to autowalk position on different floors, move its functions to game interface
2012-07-05 02:40:31 -03:00
Eduardo Bart
96c363d997
changes for otb compability
2012-06-21 14:54:20 -03:00
Eduardo Bart
f3499efe83
Adjust fallen changes
...
* Restore old map load() used in minimap
* Change tabs to 4 spaces
* Add missing cmake file
2012-06-21 00:05:44 -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
Eduardo Bart
ad04043a88
Lua binder compability changes
...
* A lot of changes in lua binder to compile with clang's libc++
* Add more portability to luabinder
* Remove const keyword from bound lua functions
* Deprecate std::bind usage with luabinder replace its usage with registerSingletonClass/bindSingletonFunction for binding singleton classes
* Fix a bug in lua binder where calling functions with bil object would make the client crash
* More fixes to compile with clang
2012-06-17 12:21:46 -03:00
Eduardo Bart
83f86eac64
experimental map shaders
2012-06-14 15:26:55 -03:00
Henrique Santiago
52333f5d28
progress rect
2012-06-10 03:09:37 -03:00
Eduardo Bart
95cf7eb788
graphics optimizations/fixes/features
...
* cache text vertex for StaticText, AnimatedText and Creature names
* improved outfit rendering
* fully compatible with OpenGL 1.1
* enable mipmaping for game sprites again
* Ctrl+W hotkey clean game texts
2012-06-08 21:40:41 -03:00
Eduardo Bart
2dde63d2bc
more changes in container API
2012-06-06 00:44:17 -03:00
Henrique Santiago
3cb5216858
protocol login working
2012-06-05 18:27:37 -03:00
Henrique Santiago
6b9943447a
protocol login at lua
2012-06-05 16:16:57 -03:00
Eduardo Bart
8ef4716d71
some APi changes in Container
2012-06-05 14:00:39 -03:00
Eduardo Bart
023a4ebef6
performance improvements
2012-06-05 12:36:27 -03:00
Eduardo Bart
296f2a17c4
many modules fixes
2012-06-03 21:28:19 -03:00
Eduardo Bart
946ec64e7f
new protocol system fixes
2012-05-14 21:04:04 -03:00
Eduardo Bart
2478809945
add lua flexibility for protocol
...
* use shared_ptr for InputMessage and OutputMessage and bind them
* allow sending network messages from lua
* implement extended opcode
* use own OS type for otclient to allow server side detection
* fixes in input event bot protection
* move RSA to input/output network messages
* allow to capture opcodes before GameProtocol parsing with the event GameProtocol.onOpcode
* fixes in lua std::string pop/push to allow byte buffering
2012-05-14 18:39:31 -03:00
Eduardo Bart
ae2a476872
more bindings/sends for 870-953
2012-05-12 08:55:22 -03:00
Eduardo Bart
fa9c942471
basic protocol 953 support, logging in real tibia!
2012-05-12 01:52:16 -03:00
Eduardo Bart
6495d74edd
restore outfit colors
...
* rework sprite manager and ThingType
* render colored outfits again compatible with OpenGL 1
2012-05-09 17:26:34 -03:00
Eduardo Bart
5b352ac999
add missing lua functions
2012-04-30 19:30:54 -03:00
Eduardo Bart
42ba5b7a2a
bind rule violations/bug report functions
2012-04-30 19:25:43 -03:00
Eduardo Bart
008fa85635
revert windows and line ending sh*t
2012-04-28 22:07:47 -03:00
Cayan
6ed0e099db
Added support for exporting the sprites as PNG files.
2012-04-28 20:47:34 -03:00
Eduardo Bart
53bbde0b48
add missing protocol 8.6 optbyte
2012-04-28 12:12:02 -03:00
Eduardo Bart
ceb051cb75
finally reloadable vip, skills, inventory, chat and minimap
2012-04-27 03:30:54 -03:00
Henrique Santiago
60495174a4
bot traceback, moveup function, chat setting default ongamestart
2012-04-25 21:15:48 -03:00
Eduardo Bart
cb7bd521d2
fix compilation on win32
2012-04-13 21:14:25 -03:00
AndreFaramir
9c038e2f39
implement npc trade interface
2012-04-08 17:13:51 -03:00
Eduardo Bart
2835a66bab
experimental minimap
...
* a lot of rework in MapView
* new APIs for UIMap
2012-04-06 20:15:52 -03:00
Eduardo Bart
43e2aeec73
fix far zoomout
2012-04-06 01:01:30 -03:00
Eduardo Bart
90d3acce2a
restore containers
...
* implemente Container class
* restore module containers
* add lua bindings for std::map
* improve grid layout
* fixes in UIItem rendering
* changes in miniwindow design
2012-04-02 20:09:47 -03:00
Eduardo Bart
a475384b73
ui fixes
...
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
2012-03-29 16:25:04 -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
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
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
175f97b98f
reaname and cleanup many stuff
2012-02-08 19:23:15 -02:00
AndreFaramir
b56a7e3029
bind more needs for battle window
2012-02-08 11:05:31 -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
ee1357a848
add combat controls
2012-02-07 21:06:52 -02:00
Eduardo Bart
e9411aa244
some cleanup
2012-02-07 01:33:50 -02:00
Eduardo Bart
46df3c7dbe
some window moving
2012-02-06 22:41:53 -02:00
Eduardo Bart
496efc44ce
bind all channels/chat lua functions
2012-02-02 20:29:44 -02:00
Eduardo Bart
2eec08d091
fix drawing of hangable objects
2012-02-02 14:55:42 -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
edeee80631
speedup sprite loading
2012-02-02 12:07:02 -02:00
Eduardo Bart
4584ce5b86
bind Game.turn
2012-02-02 00:38:46 -02:00
Eduardo Bart
289efe34cf
fix tcp congestion
2012-02-01 20:46:31 -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
3e841cd7b6
fix covered issues
2012-02-01 01:47:00 -02:00
Eduardo Bart
9db7bd2602
rework map rendering
2012-01-29 22:00:12 -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
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
a1cee1e855
rename useHotkey to useInventoryItem
2012-01-17 20:53:06 -02:00
Eduardo Bart
cb1e833e6e
use items on creatures
2012-01-17 20:48:31 -02:00
Eduardo Bart
cc5b36b1cb
Game.useOnCreature lua api
2012-01-17 20:28:55 -02:00
Eduardo Bart
a21b4dc4f1
merge pull request #2 from AndreFaramir/otclient
2012-01-16 07:37:02 -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
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
eb308997d4
fix chat and grid layout
2012-01-13 04:32:47 -02:00
Eduardo Bart
4590c1b894
move network lua bindings to the correct place
2012-01-13 00:07:14 -02:00
Andre (Notebook)
8f466b432c
add lua functions to support packet manipulation/send
2012-01-13 09:51:43 +08: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
Henrique Santiago
c1787c2a50
use with
2012-01-11 21:10:59 -02:00
Henrique Santiago
e714f9e149
party improvements, still need to fix shared exp
2012-01-10 21:38:44 -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
Henrique Santiago
4bfd335c98
remove code from uimap to lua
2012-01-09 16:06:16 -02:00
Eduardo Bart
81e378cc22
some rework on gameprotocol class
2012-01-09 03:23:55 -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
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
Henrique Santiago
14c517d7a6
skulls, shields and emblems are now rendered, thanks to joao
2012-01-06 21:54:30 -02:00
Eduardo Bart
aca082f228
check spr and dat signatures
2012-01-06 18:28:57 -02:00
Eduardo Bart
028441831d
save window position and size
2012-01-06 06:49:23 -02:00
Eduardo Bart
0cb5facd7a
lua binder improvments
2012-01-06 01:29:52 -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
Henrique Santiago
9fbdf3f5cb
look on items
2012-01-02 22:10:39 -02:00
Henrique Santiago
7c28297397
menu open or use for backpacks
2012-01-02 21:08:17 -02:00