Eduardo Bart
139f389d88
fix infinite loop while saving empty minimap
12 years ago
Eduardo Bart
0c14a8e602
fix minor cmake issue
12 years ago
Eduardo Bart
170236f822
add missings files
12 years ago
Eduardo Bart
d39cf361ab
improve minimap
12 years ago
Eduardo Bart
aed779a2c8
doc and luabinder changes
12 years ago
Eduardo Bart
c5674d10ba
some refactoring
12 years ago
Henrique Santiago
a7c17cec2e
Save miniwindows states
12 years ago
Eduardo Bart
96c363d997
changes for otb compability
12 years ago
Eduardo Bart
f3499efe83
Adjust fallen changes
...
* Restore old map load() used in minimap
* Change tabs to 4 spaces
* Add missing cmake file
12 years ago
otfallen
6b0d922dd9
missing files
12 years ago
otfallen
d139c3738b
map stuff
12 years ago
Eduardo Bart
9d5d400f7a
Fix cmake issue
12 years ago
Henrique
db4ced65eb
Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option
12 years ago
Eduardo Bart
eb457bf9cd
Fix error when exiting in win32
12 years ago
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
12 years ago
Eduardo Bart
9e72860178
fix compile issue
12 years ago
Henrique Santiago
4bdcae2f8b
improvements to skins
12 years ago
Eduardo Bart
5a048eb7ea
Minor graphics fixes
12 years ago
Eduardo Bart
cb58d2dcfa
Compile fixes for mingw32
12 years ago
Eduardo Bart
dff1564395
Fix bad usage of glDrawArrays that could lead to crash in some specific cases
12 years ago
Eduardo Bart
1c7bbaea89
Fix memory leaks
...
* Fix recursive reference memory leak in UIWidget
* Make Event/ScheduledEvent memory-leak safe
* Fix exit crashs by freeing graphics resources before destroying GL context
* Add many asserts to avoid any leak regression
12 years ago
Eduardo Bart
f650b0e5bb
Restore and fix compile warnings
12 years ago
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
12 years ago
Eduardo Bart
10b33c6124
Compile with clang and add cotire
...
* Add cotire cmake module to speedup compilation https://github.com/sakra/cotire
* Fix clang error and warnings
* Rename Font to BitmapFont to fix conflict with Xlib.g Font typedef
* Remove legacy PCH support
* Improve Position hash
12 years ago
Eduardo Bart
4813b7eb4b
many changes
...
* Fixes in WIN32 platform
* Remove unused files
* Make StaticText work more like tibia
* Fix WIN32 compilation
* Fix regression in framebuffers that caused battle to disappear
* Shader fixes for DX9
* Add two new shaders: noise and heat
12 years ago
Eduardo Bart
10b60a3871
fix high CPU usage under low framerate limit
12 years ago
Eduardo Bart
cae4d46a7d
implement style priority with # syntax
12 years ago
Eduardo Bart
0a6470eac4
...
12 years ago
Eduardo Bart
fb36ff2da3
fix freezes from server talks spam
12 years ago
Eduardo Bart
83f86eac64
experimental map shaders
12 years ago
Eduardo Bart
318109158a
changes to make development easier in QtCreator
12 years ago
Eduardo Bart
72f569c250
improve walk animation on low end hardware
12 years ago
Eduardo Bart
8cef6463b3
improve miniwindow moving
12 years ago
Eduardo Bart
e91f822f62
fixes in WIN32-EGL
12 years ago
Eduardo Bart
29dadb849e
add EGL to win32
12 years ago
Henrique Santiago
db59c73ed2
changes to progressrect
12 years ago
Henrique Santiago
52333f5d28
progress rect
12 years ago
Eduardo Bart
1a2e97bb5e
show private message on screen
...
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
12 years ago
Eduardo Bart
205aefe12f
add missing file
12 years ago
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
12 years ago
Eduardo Bart
1a7f2a44fc
graphics fixes and improvements
12 years ago
Henrique Santiago
4f9ca15ef0
bind clock, fixes to waiting list
12 years ago
Henrique Santiago
587db0d89f
changes to uiitem
12 years ago
Eduardo Bart
486837a61d
minor fixes
...
* change chase mode while walking and attacking
* avoid lua errors in frame counter when starting
12 years ago
Eduardo Bart
a8b9dcbf17
bind new system information functions
12 years ago
Eduardo Bart
321c09e471
fix compiler flags
12 years ago
Eduardo Bart
e698383538
fix addons search path
12 years ago
Eduardo Bart
70ea0361b6
new useful function, cycleEvent
12 years ago
Eduardo Bart
bb1fb939c4
just fixes
...
* fix battle rendering
* fix rendering glitch when following creatures
* properly throw exceptions from C++ to lua and avoid exception crashs
* fixes rendering states in framebuffer
12 years ago
Eduardo Bart
7a529d23be
check lua stack size to avoid possible overflows
12 years ago
Eduardo Bart
2dde63d2bc
more changes in container API
12 years ago
Henrique Santiago
86cade0aa9
waiting list, u16 effects feature, protocolsend uses clientversion
12 years ago
Henrique Santiago
3cb5216858
protocol login working
12 years ago
Henrique Santiago
6b9943447a
protocol login at lua
12 years ago
Eduardo Bart
8ef4716d71
some APi changes in Container
12 years ago
Eduardo Bart
023a4ebef6
performance improvements
12 years ago
Eduardo Bart
4de9787198
new gcc compile optimizations
12 years ago
Eduardo Bart
e5000fa577
encrypt password and account number
...
* the encryption uses a unique machine key, this means that if anyone steals config.otml with a saved password,
he will not be able to decrypt the password without the machine UUID key
* the encrypt uses a simple XOR encryption method, encoded with base64 and adler32 summing
12 years ago
Eduardo Bart
296f2a17c4
many modules fixes
12 years ago
Eduardo Bart
cfa7db77da
fix possible crash in older opengl driver implementations
12 years ago
Henrique Santiago
3f95d62467
fix draw square
12 years ago
Eduardo Bart
576e775494
fix initialization opengl glitch
12 years ago
Eduardo Bart
75f8b255ec
fix initialization opengl glitch
12 years ago
Henrique Santiago
fda3ae6809
fix scroll, container item size, tradewindow scroll, questlog window alignment, stop attacking same creature
12 years ago
Eduardo Bart
e4cb9b27db
fix crash in grid layout
12 years ago
Eduardo Bart
250e9ac238
more autowalk rework
12 years ago
Eduardo Bart
05d6e8c3e1
autowalk improvement, but still needs to be reworked
12 years ago
Eduardo Bart
d49cad31e2
fixes in EGL platform
12 years ago
Eduardo Bart
3a6f326a8a
attack moving creatures
12 years ago
Eduardo Bart
079b7a5c41
allow to change graphics engine in options
12 years ago
Eduardo Bart
e6d2e877f0
remove testing code
12 years ago
Eduardo Bart
257f652bb7
more opengl graphics fixes
12 years ago
Eduardo Bart
cde81666b8
fix opengl regressions
12 years ago
Eduardo Bart
1c5b906b5b
some optimizations
12 years ago
Eduardo Bart
4c143f4a33
fix splash colors regression
12 years ago
Eduardo Bart
59a80ffaf9
scroll when focusing widgets
12 years ago
Eduardo Bart
ba01909088
fix alpha blending issues
12 years ago
Henrique Santiago
6fce78d519
compile error, lua const
12 years ago
Eduardo Bart
14db1066fc
change logger
12 years ago
Eduardo Bart
bd2faabe99
graphics optimization feature inspirated by diablo3 engine
...
* the rendering now consits of two panes
- the background pane (for animated stuff like the map)
- the foreground pane (for steady stuff, like UI)
each pane has it own max FPS and works idependently
this may increase graphics performance on many platforms
12 years ago
Eduardo Bart
c01b32b032
rework log function and protocol
...
* remove some protocol ifdefs, replace with game features system
12 years ago
Eduardo Bart
4c80d783d6
rewrite and reoganize tools functions
...
* create stdext namespace which contains additional C++ algorithms
* organize stdext in string, math, cast and exception utilities
12 years ago
Henrique Santiago
2676eb4da3
fix crash with outfits
12 years ago
Henrique Santiago
b0fd5b3ec8
removed extended ifdef, its now activated serverside
12 years ago
Henrique Santiago
4f90783789
extended opcode disabled by default. current locale is sent to server on login, bot protection exception
12 years ago
Eduardo Bart
946ec64e7f
new protocol system fixes
12 years ago
Eduardo Bart
7bca3de8eb
allow usage of network messages in extended opcode
12 years ago
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
12 years ago
Eduardo Bart
e7030a4995
...
12 years ago
Henrique Santiago
b9b9e47bba
isOnBotton draw changes, fixed items like mountains
12 years ago
Henrique Santiago
d33d0c2ee8
fix missiles, mapzoom, restore relwithdeb, replace 32 with tilepixels
12 years ago
Henrique Santiago
1203756baf
items draw rework, npc trade fix
12 years ago
Eduardo Bart
7b512bfa9f
fix minor bug in opengl1 framebuffer
12 years ago
Eduardo Bart
e2dd71185b
fixes for OpenGL ES platforms
12 years ago
Eduardo Bart
5e176ca6d1
fix in cmake configuration for LuaJIT and OpenGL ES
12 years ago
Eduardo Bart
b7a70dd1e3
protocol compability fixes
12 years ago
Eduardo Bart
ffa94f10b6
fix wrong RSA
12 years ago
Eduardo Bart
ee5b00c1a6
fix compile for 862
12 years ago
Eduardo Bart
469e0bbbca
make dat reader more compatible with malformed dats
12 years ago
Eduardo Bart
ae2a476872
more bindings/sends for 870-953
12 years ago
Eduardo Bart
fa9c942471
basic protocol 953 support, logging in real tibia!
12 years ago
Eduardo Bart
abbd15b1c2
basic protocol 910 support
12 years ago
Eduardo Bart
cc261931be
more otserv compatibilities fixes
12 years ago
Eduardo Bart
d586bb5e93
some protocol changes for more compatibility
12 years ago
Eduardo Bart
5584bfdd99
support for protocol854
12 years ago
Eduardo Bart
5a47e9d8a9
support for protocol 810
...
* change in protocol/network classes to make compatible with older protocols
* use filestream for reading dat
* add many ifdefs for multi-protocol support
12 years ago
Eduardo Bart
f9bae92bff
fix walk bug
12 years ago
Eduardo Bart
3f2071d097
fix possible walk crash
12 years ago
Eduardo Bart
9abac474dd
style adjustment and fixes
...
* style adjustments, now window and button style
* fix bug when logging on a tile with too many creatures
* remove deprecated onLogin and onLogout events
12 years ago
Henrique Santiago
a20a56a66c
tile max things
12 years ago
Eduardo Bart
16f991e2ed
fix float precision issue for comparing colors
12 years ago
Eduardo Bart
04eca969fa
fix compile issue for win32
12 years ago
Eduardo Bart
606fc38109
fixes and missing file
...
* fix walking on tile that has too many creatures
* add missing file
* some walk rework
12 years ago
Eduardo Bart
6495d74edd
restore outfit colors
...
* rework sprite manager and ThingType
* render colored outfits again compatible with OpenGL 1
12 years ago
Eduardo Bart
fea34a41ea
trade working
...
* use only mouse left release in checkboxes
* remvoe duplicated code in radiogroup
* implement player trade
12 years ago
Eduardo Bart
2afa80b1cd
slowly adding documentation..
12 years ago
Eduardo Bart
44cf5e20d3
begin some documentation in styles
12 years ago
Eduardo Bart
02c5e7b8ff
missing files
...
* add questlog icon
* add playertrade otui
* some protocol changes for extended messages
12 years ago
Eduardo Bart
788a831f24
bug report module
...
* change modules authors and website
* avoid anchors recursivity crash
* update README
12 years ago
Eduardo Bart
4f08a288ca
fix compile error, rebind trade functions
12 years ago
Eduardo Bart
2f0a151fed
questlog module complete
12 years ago
Eduardo Bart
f290d821f1
textbooks module complete
12 years ago
Eduardo Bart
00740b56f3
begin playertrade, questlog and textbooks modules
12 years ago
Eduardo Bart
5b352ac999
add missing lua functions
12 years ago
Eduardo Bart
42ba5b7a2a
bind rule violations/bug report functions
12 years ago
Eduardo Bart
beaba25af1
UI tweaks
12 years ago
Eduardo Bart
3f689e0edf
optimize UIWidget for largers NPC trades
12 years ago
Eduardo Bart
dc0ade2bd0
fix teleport incompability with some servers
12 years ago
Eduardo Bart
008fa85635
revert windows and line ending sh*t
12 years ago
Eduardo Bart
df0147cf64
remove usage of libpng with custom save_png
12 years ago
Cayan
6ed0e099db
Added support for exporting the sprites as PNG files.
12 years ago
Eduardo Bart
cc965bb77b
add libpng as dependency
...
* NOTE: you will need to download the new required libraries
12 years ago
Eduardo Bart
d3665efbb2
fix some items not being rendered in npc trade
12 years ago
Eduardo Bart
53bbde0b48
add missing protocol 8.6 optbyte
12 years ago
Eduardo Bart
47bd619273
more fixes in count/subtypes
12 years ago
Eduardo Bart
519a52910e
fix in npc trade
12 years ago
Eduardo Bart
f589e6a786
fix in npc trade
12 years ago
Eduardo Bart
b75483e9bf
fixes
...
* fix filestream read
* fix transparent minimap
12 years ago
Eduardo Bart
d3c484938d
why so many readme updates?
12 years ago
Eduardo Bart
7b81a0cf3b
fix possible crash when trading and using containers
12 years ago
Eduardo Bart
ceb051cb75
finally reloadable vip, skills, inventory, chat and minimap
12 years ago
Eduardo Bart
d0b839a4eb
fix warnings and some reloading issues
12 years ago
Eduardo Bart
34091bc48e
implement all needed tr() for localization
...
* implement some pt-BR translations
* remove legacy about module
12 years ago
Eduardo Bart
fae2cc6481
new scripting functionality
...
* dofiles functions to run all scripts inside a directory
* new style option ! that evaluates its value from a lua code
12 years ago
Eduardo Bart
243bd3a930
fix rendering of quotes
12 years ago
Henrique Santiago
60495174a4
bot traceback, moveup function, chat setting default ongamestart
12 years ago
Eduardo Bart
9aa12acc22
performance improvements
...
* no more freezes because of file IO from hard disk, now we cache sound/spr file buffers
* more opengl painter tweaks
12 years ago
Eduardo Bart
ee664657fb
avoid some opengl redundant calls
12 years ago
Eduardo Bart
70f14b5ac3
improve performance on linux by removing glFinish()
12 years ago
Eduardo Bart
9cf40d7f53
fix repeated texture allocation bug
12 years ago