Eduardo Bart
31612036fb
Fix issue #23
2012-07-09 10:30:41 -03:00
BeniS
902ce06e88
Fixed an issue with the battle list filter.
...
More work on the minimap, interface changes, fixed direction controls, fixed reseting, fixed some draw things (needs some more work to finish).
Fixed a bug in the battle list causing Battle.onFollow(creature) to execute when there was no follow.
2012-07-09 09:19:02 -03:00
otfallen
c8d9833444
woops, added new type to gitignore aswellas commit changes to init.lua
2012-07-09 08:56:18 +02:00
otfallen
42971b10f8
backing up at OTBM loading, if someone can continue working on it until I'm available again, I would appreciate it much, here is current progress: http://pastebin.com/qEfC9ftv
2012-07-09 08:46:11 +02:00
Eduardo Bart
1e8491cdcd
fix possible compile issue in Os X
2012-07-08 14:05:29 -03:00
Eduardo Bart
4ac3ec8344
Minor fixes for releasing otclient
2012-07-08 13:46:09 -03:00
BeniS
4453242bee
Adjusted chase modes to work correctly, added new option for auto chase override. Fixed NPC speak messages to appear in the correct position.
2012-07-08 02:09:50 +12:00
Henrique Santiago
6a85c31a77
Some particle stuff, far from done
2012-07-06 02:01:13 -03:00
Eduardo Bart
8cc14c2d2d
Save graphics options
2012-07-05 15:49:10 -03:00
Eduardo Bart
6bce0bd680
Imrove lua engine
...
* Allow bound C++ functions to return multiples values to lua with tuples
2012-07-05 09:38:48 -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
2c6b83b476
Fix issue #14 , pre animate autowalks
2012-07-05 01:10:01 -03:00
Eduardo Bart
71bed49f80
Fixed issue #15 that caused lua stack to grow indefinitely
2012-07-04 09:10:05 -03:00
Henrique Santiago
cfd31ef4c0
Change uiitem draw
2012-07-02 17:30:15 -03:00
Eduardo Bart
16d4729f06
Check wrong slot/skill to avoid leaks
2012-06-25 20:48:36 -03:00
Eduardo Bart
472e78d368
Make C++ exception works for lua
...
* Throw exception when open a file fails
2012-06-25 19:42:38 -03:00
Eduardo Bart
98a1b611bf
Refactor for documentation
2012-06-25 19:19:17 -03:00
Eduardo Bart
2c7ae6e521
Now otb reader is properly working
2012-06-24 12:44:33 -03:00
Eduardo Bart
e65a8456e9
Add binary tree class for reading otb
2012-06-24 10:06:02 -03:00
Eduardo Bart
dbf5e8266b
Rename crash file
2012-06-24 10:06:02 -03:00
Eduardo Bart
eec6114b2d
Optimize lua object push
...
* Optimize position hash
* Fix minimap reload
2012-06-24 08:20:39 -03:00
Eduardo Bart
79532cd612
Optimize minimap save/load
2012-06-23 18:30:54 -03:00
Eduardo Bart
fcd6d3cfe9
Minimap fixes
...
* Fix infinite loop while loading minimap
* Fix errors in FileStream class
* Remake OTCM map format
* Fixes in UIMap
2012-06-23 12:03:28 -03:00
Eduardo Bart
4515e360e4
A lot of cmake changes, fix compile on win32
2012-06-22 16:04:03 -03:00
Eduardo Bart
139f389d88
fix infinite loop while saving empty minimap
2012-06-22 14:26:12 -03:00
Eduardo Bart
0c14a8e602
fix minor cmake issue
2012-06-22 13:02:16 -03:00
Eduardo Bart
170236f822
add missings files
2012-06-22 02:28:13 -03:00
Eduardo Bart
d39cf361ab
improve minimap
2012-06-22 02:26:22 -03:00
Eduardo Bart
aed779a2c8
doc and luabinder changes
2012-06-22 00:14:13 -03:00
Eduardo Bart
c5674d10ba
some refactoring
2012-06-21 20:58:18 -03:00
Henrique Santiago
a7c17cec2e
Save miniwindows states
2012-06-21 16:31:36 -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
otfallen
6b0d922dd9
missing files
2012-06-21 04:39:40 +02:00
otfallen
d139c3738b
map stuff
2012-06-21 04:31:29 +02:00
Eduardo Bart
9d5d400f7a
Fix cmake issue
2012-06-20 04:13:19 -03:00
Henrique
db4ced65eb
Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option
2012-06-20 03:31:52 -03:00
Eduardo Bart
eb457bf9cd
Fix error when exiting in win32
2012-06-20 02:41:00 -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
9e72860178
fix compile issue
2012-06-19 11:18:22 -03:00
Henrique Santiago
4bdcae2f8b
improvements to skins
2012-06-19 05:46:49 -03:00
Eduardo Bart
5a048eb7ea
Minor graphics fixes
2012-06-18 20:58:56 -03:00
Eduardo Bart
cb58d2dcfa
Compile fixes for mingw32
2012-06-18 13:05:16 -03:00
Eduardo Bart
dff1564395
Fix bad usage of glDrawArrays that could lead to crash in some specific cases
2012-06-18 11:15:44 -03:00
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
2012-06-18 05:13:52 -03:00
Eduardo Bart
f650b0e5bb
Restore and fix compile warnings
2012-06-17 18:47:05 -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
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
2012-06-16 20:20:22 -03:00
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
2012-06-15 21:46:36 -03:00
Eduardo Bart
10b60a3871
fix high CPU usage under low framerate limit
2012-06-15 08:46:55 -03:00
Eduardo Bart
cae4d46a7d
implement style priority with # syntax
2012-06-14 21:30:46 -03:00
Eduardo Bart
0a6470eac4
...
2012-06-14 20:51:11 -03:00
Eduardo Bart
fb36ff2da3
fix freezes from server talks spam
2012-06-14 19:27:57 -03:00
Eduardo Bart
83f86eac64
experimental map shaders
2012-06-14 15:26:55 -03:00
Eduardo Bart
318109158a
changes to make development easier in QtCreator
2012-06-12 13:50:43 -03:00
Eduardo Bart
72f569c250
improve walk animation on low end hardware
2012-06-11 16:03:36 -03:00
Eduardo Bart
8cef6463b3
improve miniwindow moving
2012-06-11 11:10:03 -03:00
Eduardo Bart
e91f822f62
fixes in WIN32-EGL
2012-06-10 20:48:53 -03:00
Eduardo Bart
29dadb849e
add EGL to win32
2012-06-10 15:52:08 -03:00
Henrique Santiago
db59c73ed2
changes to progressrect
2012-06-10 04:46:00 -03:00
Henrique Santiago
52333f5d28
progress rect
2012-06-10 03:09:37 -03:00
Eduardo Bart
1a2e97bb5e
show private message on screen
...
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
2012-06-09 10:00:08 -03:00
Eduardo Bart
205aefe12f
add missing file
2012-06-08 22:15:58 -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
1a7f2a44fc
graphics fixes and improvements
2012-06-08 21:40:41 -03:00
Henrique Santiago
4f9ca15ef0
bind clock, fixes to waiting list
2012-06-08 17:58:24 -03:00
Henrique Santiago
587db0d89f
changes to uiitem
2012-06-08 00:02:06 -03:00
Eduardo Bart
486837a61d
minor fixes
...
* change chase mode while walking and attacking
* avoid lua errors in frame counter when starting
2012-06-07 08:52:17 -03:00
Eduardo Bart
a8b9dcbf17
bind new system information functions
2012-06-06 22:01:49 -03:00
Eduardo Bart
321c09e471
fix compiler flags
2012-06-06 21:12:07 -03:00
Eduardo Bart
e698383538
fix addons search path
2012-06-06 19:39:42 -03:00
Eduardo Bart
70ea0361b6
new useful function, cycleEvent
2012-06-06 17:14:53 -03:00
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
2012-06-06 11:10:35 -03:00
Eduardo Bart
7a529d23be
check lua stack size to avoid possible overflows
2012-06-06 00:44:17 -03:00
Eduardo Bart
2dde63d2bc
more changes in container API
2012-06-06 00:44:17 -03:00
Henrique Santiago
86cade0aa9
waiting list, u16 effects feature, protocolsend uses clientversion
2012-06-05 20:46:36 -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
4de9787198
new gcc compile optimizations
2012-06-05 09:39:45 -03:00
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
2012-06-04 09:38:25 -03:00
Eduardo Bart
296f2a17c4
many modules fixes
2012-06-03 21:28:19 -03:00
Eduardo Bart
cfa7db77da
fix possible crash in older opengl driver implementations
2012-06-03 20:12:32 -03:00
Henrique Santiago
3f95d62467
fix draw square
2012-06-03 17:35:07 -03:00
Eduardo Bart
576e775494
fix initialization opengl glitch
2012-06-03 17:25:12 -03:00
Eduardo Bart
75f8b255ec
fix initialization opengl glitch
2012-06-03 17:06:05 -03:00
Henrique Santiago
fda3ae6809
fix scroll, container item size, tradewindow scroll, questlog window alignment, stop attacking same creature
2012-06-03 17:05:35 -03:00
Eduardo Bart
e4cb9b27db
fix crash in grid layout
2012-06-03 16:42:22 -03:00
Eduardo Bart
250e9ac238
more autowalk rework
2012-06-03 16:28:17 -03:00
Eduardo Bart
05d6e8c3e1
autowalk improvement, but still needs to be reworked
2012-06-03 12:49:48 -03:00
Eduardo Bart
d49cad31e2
fixes in EGL platform
2012-06-03 11:10:34 -03:00
Eduardo Bart
3a6f326a8a
attack moving creatures
2012-06-02 21:00:09 -03:00
Eduardo Bart
079b7a5c41
allow to change graphics engine in options
2012-06-02 18:41:20 -03:00
Eduardo Bart
e6d2e877f0
remove testing code
2012-06-02 16:16:50 -03:00
Eduardo Bart
257f652bb7
more opengl graphics fixes
2012-06-02 15:58:30 -03:00
Eduardo Bart
cde81666b8
fix opengl regressions
2012-06-02 12:54:35 -03:00
Eduardo Bart
1c5b906b5b
some optimizations
2012-06-02 11:43:27 -03:00
Eduardo Bart
4c143f4a33
fix splash colors regression
2012-06-01 22:52:40 -03:00
Eduardo Bart
59a80ffaf9
scroll when focusing widgets
2012-06-01 21:38:26 -03:00
Eduardo Bart
ba01909088
fix alpha blending issues
2012-06-01 20:22:10 -03:00
Henrique Santiago
6fce78d519
compile error, lua const
2012-06-01 17:53:04 -03:00
Eduardo Bart
14db1066fc
change logger
2012-06-01 17:39:23 -03:00
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
2012-06-01 16:39:09 -03:00
Eduardo Bart
c01b32b032
rework log function and protocol
...
* remove some protocol ifdefs, replace with game features system
2012-05-28 19:04:44 -03:00
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
2012-05-28 10:06:26 -03:00
Henrique Santiago
2676eb4da3
fix crash with outfits
2012-05-18 22:41:22 -03:00
Henrique Santiago
b0fd5b3ec8
removed extended ifdef, its now activated serverside
2012-05-17 12:24:41 -03:00
Henrique Santiago
4f90783789
extended opcode disabled by default. current locale is sent to server on login, bot protection exception
2012-05-16 17:09:37 -03:00
Eduardo Bart
946ec64e7f
new protocol system fixes
2012-05-14 21:04:04 -03:00
Eduardo Bart
7bca3de8eb
allow usage of network messages in extended opcode
2012-05-14 20:13:48 -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
e7030a4995
...
2012-05-14 09:29:16 -03:00
Henrique Santiago
b9b9e47bba
isOnBotton draw changes, fixed items like mountains
2012-05-14 01:33:27 -03:00
Henrique Santiago
d33d0c2ee8
fix missiles, mapzoom, restore relwithdeb, replace 32 with tilepixels
2012-05-13 13:05:09 -03:00
Henrique Santiago
1203756baf
items draw rework, npc trade fix
2012-05-13 12:05:30 -03:00
Eduardo Bart
7b512bfa9f
fix minor bug in opengl1 framebuffer
2012-05-13 11:45:32 -03:00
Eduardo Bart
e2dd71185b
fixes for OpenGL ES platforms
2012-05-13 09:48:19 -03:00
Eduardo Bart
5e176ca6d1
fix in cmake configuration for LuaJIT and OpenGL ES
2012-05-13 09:15:30 -03:00
Eduardo Bart
b7a70dd1e3
protocol compability fixes
2012-05-12 17:16:33 -03:00
Eduardo Bart
ffa94f10b6
fix wrong RSA
2012-05-12 11:45:20 -03:00
Eduardo Bart
ee5b00c1a6
fix compile for 862
2012-05-12 11:10:47 -03:00
Eduardo Bart
469e0bbbca
make dat reader more compatible with malformed dats
2012-05-12 09:30:51 -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
abbd15b1c2
basic protocol 910 support
2012-05-11 22:44:13 -03:00
Eduardo Bart
cc261931be
more otserv compatibilities fixes
2012-05-11 18:40:40 -03:00
Eduardo Bart
d586bb5e93
some protocol changes for more compatibility
2012-05-11 16:39:54 -03:00
Eduardo Bart
5584bfdd99
support for protocol854
2012-05-11 15:35:17 -03:00
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
2012-05-11 15:02:57 -03:00
Eduardo Bart
f9bae92bff
fix walk bug
2012-05-11 06:17:46 -03:00
Eduardo Bart
3f2071d097
fix possible walk crash
2012-05-11 06:17:46 -03:00
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
2012-05-11 06:17:46 -03:00
Henrique Santiago
a20a56a66c
tile max things
2012-05-10 09:09:44 -03:00
Eduardo Bart
16f991e2ed
fix float precision issue for comparing colors
2012-05-09 22:50:48 -03:00
Eduardo Bart
04eca969fa
fix compile issue for win32
2012-05-09 20:04:09 -03:00
Eduardo Bart
606fc38109
fixes and missing file
...
* fix walking on tile that has too many creatures
* add missing file
* some walk rework
2012-05-09 19:19:05 -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
fea34a41ea
trade working
...
* use only mouse left release in checkboxes
* remvoe duplicated code in radiogroup
* implement player trade
2012-05-09 09:24:35 -03:00
Eduardo Bart
2afa80b1cd
slowly adding documentation..
2012-05-02 20:20:25 -03:00
Eduardo Bart
44cf5e20d3
begin some documentation in styles
2012-05-02 15:31:07 -03:00
Eduardo Bart
02c5e7b8ff
missing files
...
* add questlog icon
* add playertrade otui
* some protocol changes for extended messages
2012-05-01 21:41:42 -03:00
Eduardo Bart
788a831f24
bug report module
...
* change modules authors and website
* avoid anchors recursivity crash
* update README
2012-05-01 10:06:38 -03:00
Eduardo Bart
4f08a288ca
fix compile error, rebind trade functions
2012-04-30 23:59:17 -03:00
Eduardo Bart
2f0a151fed
questlog module complete
2012-04-30 23:00:07 -03:00
Eduardo Bart
f290d821f1
textbooks module complete
2012-04-30 21:53:02 -03:00
Eduardo Bart
00740b56f3
begin playertrade, questlog and textbooks modules
2012-04-30 21:20:27 -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
beaba25af1
UI tweaks
2012-04-30 16:30:37 -03:00