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
Eduardo Bart
efd17361f8
non relevant drawing changes
12 years ago
Eduardo Bart
dc08ba2e17
fix F10 hotkey on Windows
12 years ago
Henrique Santiago
dcefeb134c
remove print, fix creature name position
12 years ago
Eduardo Bart
dcb196d45a
minor opengl1 optimization
12 years ago
Eduardo Bart
affcd03e06
don't use hardware buffers by default
12 years ago
Eduardo Bart
d006e52c78
support for non power of two textures
12 years ago
Eduardo Bart
f14706206a
continue implementing new graphics engine
...
* implement OpenGL ES 1.1 and OpenGL ES 2.0 support
* new framebuffer that can run on any opengl implementation
* fixes in outfit size rendering
12 years ago
Eduardo Bart
58d76e255d
begin implementing OpenGL 1.0 engine
...
* option to pass -opengl1 or -opengl2 as argument
* note that with this commit there are a lot of graphics regressions and the master will remaing unstable for a while
* shaders disabled for a while
12 years ago
Eduardo Bart
a4a00a49fe
cmake option to use luajit
12 years ago
Eduardo Bart
1d558bc412
make precompiled header work again
12 years ago
Eduardo Bart
fe33614c3a
fix memory leak in sound stream
12 years ago
Henrique Santiago
341898f1d0
add cmake toolchain for crosscompiling with w64-minwg32
12 years ago
Eduardo Bart
c3eae3ba06
bind sound functions and add sample startup music
12 years ago
Eduardo Bart
8e679f2da7
get stereo audo working on linux
12 years ago
Eduardo Bart
ae67c6adbc
drop usage of threads in sound system
12 years ago
Eduardo Bart
cb7bd521d2
fix compilation on win32
12 years ago
Eduardo Bart
c4525059ce
implement basic sound engine using OpenAL
12 years ago
Eduardo Bart
9b4115a7e5
fix EGL compilation
12 years ago
Eduardo Bart
0b8d8b4595
enable ogl debug with ifdefs
12 years ago
Eduardo Bart
879827bdbc
enable opengl debugging on x11
12 years ago
Eduardo Bart
a46a16738c
performance improvement, lock free render
12 years ago
Eduardo Bart
0fe5491635
fix display of stackable items in shop
12 years ago
Eduardo Bart
4c67e57dd4
fix cmake error
12 years ago
Eduardo Bart
1d2f6c7e9f
enable text-auto-resize for width
12 years ago
Eduardo Bart
48d2027327
use counter for disabling layout updates
12 years ago
Eduardo Bart
5425d344ba
optimize widget destruction
12 years ago
Eduardo Bart
353aa5215e
fix drawing of 2x2 items on UIItem
12 years ago
Eduardo Bart
2017fb366e
some optimizations
12 years ago
Eduardo Bart
db00792351
update compile options
12 years ago
Henrique Santiago
2f3c83e858
textedit maxlength, fix charlist status height
12 years ago
AndreFaramir
9c038e2f39
implement npc trade interface
12 years ago
Eduardo Bart
92bd1aba54
optimize graphics performance
12 years ago
Henrique Santiago
c93732a44a
close channel event
12 years ago
Henrique Santiago
9c88c525fb
fixed channels list size
12 years ago
Eduardo Bart
2e43a77d64
change mouse press behaviour
12 years ago
Eduardo Bart
2835a66bab
experimental minimap
...
* a lot of rework in MapView
* new APIs for UIMap
12 years ago
Eduardo Bart
43e2aeec73
fix far zoomout
12 years ago
Eduardo Bart
218f2e4994
add API to remove widget anchors
12 years ago
Eduardo Bart
248ea9e8bc
fix rare crash in containers
12 years ago
Eduardo Bart
4f15da695c
optimizations
12 years ago
Eduardo Bart
49727c573f
platform fixes
...
* fix black cursor on win32
* fix front buffer refresh on some x11 platforms
* fix outfit framebuffer glitch
* display entergame by default
* change some icons
12 years ago
Eduardo Bart
f1fda8050a
fix use with for bottom items
...
* fix hangables
12 years ago
Eduardo Bart
f8d4ef60d9
fixes in x11 platform
...
* fix clipboard paste on x11
* fix alt tab and keyboard issues
12 years ago
Eduardo Bart
16acfebe3b
move clipping to painter
12 years ago
Eduardo Bart
1410031e02
fix issues in ctrl/shift/alt states on win32
12 years ago
Eduardo Bart
c4693fb7b9
improve map framebuffer clear
12 years ago
Eduardo Bart
79b4136a8d
...
12 years ago
Eduardo Bart
b5a4d31fa7
more graphics optimizations
...
* avoid buffers clears
* use scisors testing instead of stencil testing for clipping
* remove stencil buffers
12 years ago
Eduardo Bart
53d56259c7
fix compile error no ARM platforms
...
* and some improvements
12 years ago
Eduardo Bart
2c38dfb397
fix dumbfounding issue on win32 that caused HUGE lags
12 years ago
Eduardo Bart
034fce9147
improve clipping performance
12 years ago
Eduardo Bart
8b184d3ce8
compile fixes for gcc 4.7 in 32bit platforms
12 years ago
Eduardo Bart
27e24bda28
fixes to compile on gcc 4.7
12 years ago
Eduardo Bart
11ad1f5c5b
performance improvements
12 years ago
Eduardo Bart
c250bfcf42
fix issue
12 years ago
Eduardo Bart
dd875fc925
support for GL_EXT_framebuffer_object
12 years ago
Eduardo Bart
cb890e8cb1
prevent some protocol crashs
12 years ago
Eduardo Bart
c33741d324
display unsupported extensions
12 years ago
Eduardo Bart
d4afb71263
clean containers when relogging
12 years ago
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
12 years ago
Eduardo Bart
231ba17ba1
remove old unused game files
...
* and fix minor allocation leak
12 years ago
Eduardo Bart
8450f1f896
add FileStream class
...
* minimize memory consumption by using FileStream for loading sprites
12 years ago
Eduardo Bart
7e6fe71b5e
new build types
...
* and remove uneeded files
12 years ago
Eduardo Bart
0ddaa234af
rework on UILineEdit
...
* allow multiline text editing
* rename UILineEdit to UITextEdit
12 years ago
Eduardo Bart
595cdc1bb4
fix some win32 hotkeys and change zoom hotkeys
12 years ago
Eduardo Bart
95e0a41b55
remove debug message, minor battle fix
12 years ago
Eduardo Bart
fa3d60a00a
minor fixes
12 years ago
Eduardo Bart
c13a5b5dab
fix crash and focus bug
12 years ago
Eduardo Bart
959d9a87b0
fix focus bug, change battle events
12 years ago
Eduardo Bart
6ace984440
fix combobox
12 years ago
Eduardo Bart
a475384b73
ui fixes
...
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
12 years ago
Eduardo Bart
47e7eef716
implement more functionality
...
* update TODO
* rework UISpinBox
* restore move of stackable items and with horizontal scrollbar
* implement classic control look
12 years ago
Eduardo Bart
0e46df3f29
fix useWith mouse conflict with resize borders
12 years ago
Eduardo Bart
5201071707
fiz rare logging crash
12 years ago
Eduardo Bart
58d9426be8
small changes
...
* show protocol version on background
* make 860 the default protocol
* avoid more crashes on mapview
* activa crash handler by default
12 years ago
Eduardo Bart
a4cef0d390
fix possible mapview crash
12 years ago
Eduardo Bart
4743763d48
remvoe blur, fix scroll issue on win32
12 years ago
Eduardo Bart
8c2a84b6be
motion blur for fun
12 years ago
Eduardo Bart
56d6cc2cc0
testing bloom and motion blur
12 years ago
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
12 years ago
Eduardo Bart
e2ea267703
rework mouse events propagation
12 years ago
Eduardo Bart
92d535f981
improve scrolling
12 years ago
Eduardo Bart
668c4d98d9
win32 fixes
12 years ago
Eduardo Bart
8ea154016b
fix and changes
...
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
12 years ago
Eduardo Bart
060c1cf8e7
ui changes
...
* create UIResizeBorder
* restore miniwindow
* scroll fixes
12 years ago
Eduardo Bart
ee869bb279
side panel splitter
12 years ago
Eduardo Bart
9309d6e7f3
some rework in UIWidget input
12 years ago
Eduardo Bart
532e8e3e39
chat line wrapping
...
* rework UIWidget text wrapping
* implement auto wrap
* fixes in console
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Eduardo Bart
efa9811342
dragging fixes
12 years ago
Eduardo Bart
3aacd9d43c
console fixes
12 years ago
Eduardo Bart
fe86dc8050
real autowalking
...
* smart autowalking using A* path finding algorithm
12 years ago
Eduardo Bart
8bc63e25df
simplistic autowalk
...
* add simple and stupid autowalk algorithm
* fix issue in classic control
12 years ago
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
12 years ago
Eduardo Bart
b301aa1a2b
rework splitter implementation
12 years ago
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
12 years ago
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
12 years ago
Eduardo Bart
159eb98df2
introduce startup options
...
* startup options with -help and -version
* many startup options for graphics
12 years ago