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
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
Eduardo Bart
92bd1aba54
optimize graphics performance
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
218f2e4994
add API to remove widget anchors
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
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
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
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
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
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
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
Eduardo Bart
3ad97c9eab
crash handler, logger and oengles changes
...
* save log messages to otclient.txt
* fixes in FrameBuffer and HardwareBuffer to work with OpenGLES
* possibility to get compilation information from lua (compiler version, build date, build revision, build type)
* make crash handler more informatave
* handle assert crash signals (SIGABRT)
12 years ago
Eduardo Bart
28633a9e20
fixes
...
* dont use realtime mipmaps by default
* fix void rendering
* fix max Z rendering
12 years ago
Eduardo Bart
57adcb38bd
rework windows crash handler
...
* use -Ofast -fomit-frame-pointer for release
* new windows crash handler that can generate backtraces reports
* fix crash after fatal errors
12 years ago
Eduardo Bart
c7469e4454
graphics fixes
...
* zooming without real FBOs kinda works, but with lower quality
* hardware detection for glGenerateMipmaps
* possibility to disable bilinear filtering, mipmaps, framebuffers, and realtime mipmap generation in g_graphics
* otclient works well using 3D acceleration in VirtualBox again
* many fixes regarding FBOs fallback implementation
12 years ago
Eduardo Bart
01d5fad315
support for OpenGL 2.0
...
* use OpenGL 2.0 auxiliary buffers when FBO is not supported, thus this means that OpenGL 3 is not a requirement anymore, so otclient might work in older video cards
* map zooming will never work well with Opengl 2.0 because of glCopyTexSubImage2D limitation
12 years ago
Eduardo Bart
5c35938a92
many graphics performance tweaks
...
* use hardware vertex buffers (video memory)
* cache text drawing with vertex buffers instead of framebuffers
* avoid recalculating texture transformation matrix
12 years ago
Eduardo Bart
b4261a8c7b
bunch of optimizations
12 years ago
Eduardo Bart
3cd31bcd1e
rework Color to optimize render
12 years ago
Eduardo Bart
f62f507813
just fixes
...
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
12 years ago
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
12 years ago
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
12 years ago
Eduardo Bart
b46d4c4d5f
non relevant changes
12 years ago
Eduardo Bart
27b83fa722
some optimizations and compilation changes
...
* speedup render of widget images on low end devices using mipmaps
* changes in CMakeLists.txt to allow usage of distcc and crosscompiling
12 years ago
Eduardo Bart
ba24e7ce39
fix compile issue
12 years ago
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...
12 years ago
Eduardo Bart
96358b317d
drag fixes
12 years ago
Eduardo Bart
c707f990bf
fix popupmenu, fix mouserelease events, fix connect
12 years ago
Eduardo Bart
d4ce3c5354
fix issue on onMouseRelease
12 years ago
Eduardo Bart
f056131ae1
fix possible crash when reading border style, fix onLogin event
12 years ago
Eduardo Bart
619f751371
fixes in uicreature rendering
12 years ago
Eduardo Bart
e51789378a
make hover, dragging, press and mouse release work in a proper way
12 years ago
Eduardo Bart
e2203799dc
clean table fields on widget destruction
12 years ago
Eduardo Bart
37f3f904c7
some fixes in MainWindow move
12 years ago
Eduardo Bart
71c706157a
drag fixes
12 years ago
Eduardo Bart
46df3c7dbe
some window moving
12 years ago
Eduardo Bart
88301c329a
a lot of changes in modules
12 years ago
Eduardo Bart
add8505a5b
implement auto repeat configuration for key press events, to give more flexibility
12 years ago
Eduardo Bart
f97104f12e
replace require with dofile, rename Hotkeys to Keyboard
12 years ago
Eduardo Bart
64c9e4f1d5
add modulemanager module
12 years ago
Eduardo Bart
a55e138002
some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while
12 years ago
Eduardo Bart
cc081d8151
update TODO, rename onMouseDoubleClick to onDoubleClick
12 years ago
Eduardo Bart
2b206a74a9
some key codes changes
12 years ago
Eduardo Bart
aafe219532
fix numpad keys on win32
12 years ago
Eduardo Bart
d83804f2cb
fiz win32 window positioning/moving issues
12 years ago
Eduardo Bart
3277c050c5
fix in OpenGL ES code
12 years ago
Henrique Santiago
d931b03fed
spinbox improvements
12 years ago
Eduardo Bart
1340699b01
implement onMouseDoubleClick event in UIWidget
12 years ago
Eduardo Bart
411ac72fdc
change some comments
12 years ago
Eduardo Bart
f1cba66b1e
fix possible issue when disconnecting from the server
12 years ago
Eduardo Bart
edeee80631
speedup sprite loading
12 years ago
Eduardo Bart
4584ce5b86
bind Game.turn
12 years ago
Eduardo Bart
5f6dd5aff1
remove dump line
12 years ago
Eduardo Bart
e88774728e
otml node cast fixes
12 years ago
Eduardo Bart
34f9ecb6c8
fixes in Settings/g_configs
12 years ago
Eduardo Bart
98ef0e4574
allow setting/getting nodes in g_configs
12 years ago
Eduardo Bart
289efe34cf
fix tcp congestion
12 years ago
Eduardo Bart
2a62159a61
rename item data to count, add function to get current class name in lua
12 years ago
Eduardo Bart
51b0822267
zoom out much more smoother
12 years ago
Eduardo Bart
437f515e7c
fix outfit problems
12 years ago
Eduardo Bart
87236ee780
add missing shader
12 years ago
Eduardo Bart
7d8d214324
simpli map load/save
12 years ago
Eduardo Bart
9db7bd2602
rework map rendering
12 years ago
Eduardo Bart
4276bd680d
allow use of mipmaps in framebuffers
12 years ago
Henrique Santiago
1983a08cbe
move window
12 years ago
Eduardo Bart
cfcc3fd428
fix death issues, improve text messages
12 years ago
Eduardo Bart
99ff5ce24c
implement line wrap for text messages
12 years ago
Eduardo Bart
24aab00431
fix use with, improve move, change icons, improve topbar
12 years ago
Eduardo Bart
d500de9aa0
change in topmenu and some fixes
13 years ago
Henrique Santiago
e3096c1648
fix move on different floors, dragqueen border on uiitem
13 years ago
Eduardo Bart
a5b4ee2c19
fix walk up/down with parcels
13 years ago
Eduardo Bart
f21927e8d9
implement cursor change for win32
13 years ago
Eduardo Bart
9b9e837e97
fix drag bug
13 years ago
Eduardo Bart
759b7f43b3
dran and drop for UIWidget
13 years ago
Eduardo Bart
380a13ef83
fix dup wheel events on x11
13 years ago
Eduardo Bart
490eae7814
fix paste of text with accents in win32
13 years ago
Eduardo Bart
9b8043cf31
fix paste oftexts with accents in x11
13 years ago
Henrique Santiago
3a4ed78b30
borders fix
13 years ago
Eduardo Bart
9450fab9e7
fix walk freeze, fix some texts displaying in pink
13 years ago
Eduardo Bart
6ce92a1a64
rework walk
13 years ago
Eduardo Bart
4491ee8bdd
fix realese crash on win32
13 years ago
Eduardo Bart
dddfdbc0d5
fix realese crash on win32
13 years ago
Eduardo Bart
0b08552bbc
fix a loading error crash, command to debug containers items ids
13 years ago
Eduardo Bart
9997b258b9
fix combobox style
13 years ago
Eduardo Bart
452d1a76b0
fix key events for win32
13 years ago
Eduardo Bart
7bcf7f536e
cache rendering of UILabel
13 years ago
Eduardo Bart
e701cce5fd
fire onTextChange for UILineEdit
13 years ago
Eduardo Bart
e6cb3de637
add options style for UIComboBox, fix push values of otml nodes
13 years ago
Eduardo Bart
de0e4a1acf
fix release keys on x11, remove ping addon, fix minor issue in outfit render, fix emblem updates
13 years ago
Eduardo Bart
44a20222bb
walk and key event system rework with some regressions
13 years ago
Eduardo Bart
9ec40f016d
implement API to save lists in configs file and terminal history
13 years ago
Eduardo Bart
a238111c07
add horizontal box layout, enter keypress fix
13 years ago
Eduardo Bart
61aa710d1c
some chat functionality
13 years ago
Eduardo Bart
aae784468b
fix some keyboard issues, chat tab, fix loadScript exception
13 years ago
Eduardo Bart
f57d46de0e
fix minor connection leak
13 years ago
Eduardo Bart
eb308997d4
fix chat and grid layout
13 years ago
Eduardo Bart
4590c1b894
move network lua bindings to the correct place
13 years ago
Andre (Notebook)
8f466b432c
add lua functions to support packet manipulation/send
13 years ago
Eduardo Bart
8cace32ce7
fix win32 error
13 years ago
Eduardo Bart
c1cf53829e
implement grid layout
13 years ago
Eduardo Bart
34af633b47
implement mouse cursor set in x11 platform
13 years ago
Eduardo Bart
bb768f43c0
improvments for shaders
13 years ago
Eduardo Bart
8ad88c4070
move UIWindow to lua
13 years ago
Eduardo Bart
a1374baee1
major UIWidget rewrite with new features
13 years ago
Eduardo Bart
911584e816
fix x11 keyboard modifiers
13 years ago
Eduardo Bart
3230095cea
add ui padding
13 years ago
Eduardo Bart
ada5c031d6
fix critial network delay issue
13 years ago
Eduardo Bart
81e378cc22
some rework on gameprotocol class
13 years ago
Eduardo Bart
90900e44a7
console options
13 years ago
Eduardo Bart
fdc9087870
implement chat colors, rework on UI layout update system
13 years ago
Eduardo Bart
e46f5fcb69
fix resource path priority
13 years ago
Eduardo Bart
c7619316bb
display 'you are dead message' on death, support speak/text messages in multiprotocol
13 years ago
Eduardo Bart
ef0c625c41
add option custom user script, otclientrc.lua
13 years ago
Eduardo Bart
c4b2dd18d6
restore terminal, rework console
13 years ago
Eduardo Bart
a3721b3a11
handle close event in lua
13 years ago
Eduardo Bart
b0f8e495c9
changes in number conversion
13 years ago
Eduardo Bart
5d0d1432ed
lua fixes
13 years ago
Eduardo Bart
3c62ce97db
fixes in Settings
13 years ago
Eduardo Bart
cd0d2cb642
fix win32 key input and implement fullscreen/maximize/minsize
13 years ago
Eduardo Bart
acd720e249
add missing lua casts
13 years ago
Eduardo Bart
aca082f228
check spr and dat signatures
13 years ago
Eduardo Bart
f41e1e75cd
fix fatal error messages
13 years ago
Eduardo Bart
f3c0260ea2
change bot protection
13 years ago
Eduardo Bart
d25228fc1c
organize TODO file
13 years ago
Eduardo Bart
7206f7aad9
implement fullscreen for x11
13 years ago
Eduardo Bart
028441831d
save window position and size
13 years ago
Eduardo Bart
0cb5facd7a
lua binder improvments
13 years ago
Eduardo Bart
0230540c07
fix dead keys on x11
13 years ago
Henrique Santiago
1b83126ed5
separator fix, fix draw outside map
13 years ago
Eduardo Bart
fb20ad1ba1
improve combobox and menu design
13 years ago
Henrique Santiago
320b67e292
copy name, invite to party
13 years ago
Eduardo Bart
c9280ecf9d
invert widget event propagation order
13 years ago