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
2f0a151fed
questlog module complete
2012-04-30 23:00:07 -03:00
Eduardo Bart
00740b56f3
begin playertrade, questlog and textbooks modules
2012-04-30 21:20:27 -03:00
Eduardo Bart
beaba25af1
UI tweaks
2012-04-30 16:30:37 -03:00
Eduardo Bart
3f689e0edf
optimize UIWidget for largers NPC trades
2012-04-30 03:34:29 -03:00
Eduardo Bart
008fa85635
revert windows and line ending sh*t
2012-04-28 22:07:47 -03:00
Eduardo Bart
df0147cf64
remove usage of libpng with custom save_png
2012-04-28 21:16:22 -03:00
Cayan
6ed0e099db
Added support for exporting the sprites as PNG files.
2012-04-28 20:47:34 -03:00
Eduardo Bart
cc965bb77b
add libpng as dependency
...
* NOTE: you will need to download the new required libraries
2012-04-28 19:02:57 -03:00
Eduardo Bart
b75483e9bf
fixes
...
* fix filestream read
* fix transparent minimap
2012-04-27 19:17:51 -03:00
Eduardo Bart
d0b839a4eb
fix warnings and some reloading issues
2012-04-27 01:54:14 -03:00
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
2012-04-26 12:11:03 -03:00
Eduardo Bart
243bd3a930
fix rendering of quotes
2012-04-26 00:34:32 -03:00
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
2012-04-24 18:05:46 -03:00
Eduardo Bart
ee664657fb
avoid some opengl redundant calls
2012-04-24 13:37:46 -03:00
Eduardo Bart
70f14b5ac3
improve performance on linux by removing glFinish()
2012-04-24 13:23:33 -03:00
Eduardo Bart
9cf40d7f53
fix repeated texture allocation bug
2012-04-24 13:18:45 -03:00
Eduardo Bart
efd17361f8
non relevant drawing changes
2012-04-24 09:21:48 -03:00
Eduardo Bart
dc08ba2e17
fix F10 hotkey on Windows
2012-04-24 09:21:48 -03:00
Eduardo Bart
dcb196d45a
minor opengl1 optimization
2012-04-20 10:32:21 -03:00
Eduardo Bart
affcd03e06
don't use hardware buffers by default
2012-04-20 10:18:33 -03:00
Eduardo Bart
d006e52c78
support for non power of two textures
2012-04-20 09:07:47 -03:00
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
2012-04-20 07:16:03 -03:00
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
2012-04-18 20:03:43 -03:00
Eduardo Bart
a4a00a49fe
cmake option to use luajit
2012-04-16 10:57:24 -03:00
Eduardo Bart
1d558bc412
make precompiled header work again
2012-04-15 08:00:13 -03:00
Eduardo Bart
fe33614c3a
fix memory leak in sound stream
2012-04-15 08:00:13 -03:00
Henrique Santiago
341898f1d0
add cmake toolchain for crosscompiling with w64-minwg32
2012-04-14 20:00:04 -03:00
Eduardo Bart
c3eae3ba06
bind sound functions and add sample startup music
2012-04-14 11:19:58 -03:00
Eduardo Bart
8e679f2da7
get stereo audo working on linux
2012-04-14 10:15:51 -03:00
Eduardo Bart
ae67c6adbc
drop usage of threads in sound system
2012-04-14 06:53:32 -03:00
Eduardo Bart
cb7bd521d2
fix compilation on win32
2012-04-13 21:14:25 -03:00
Eduardo Bart
c4525059ce
implement basic sound engine using OpenAL
2012-04-13 16:54:08 -03:00
Eduardo Bart
9b4115a7e5
fix EGL compilation
2012-04-12 17:00:51 -03:00
Eduardo Bart
0b8d8b4595
enable ogl debug with ifdefs
2012-04-12 16:56:05 -03:00
Eduardo Bart
879827bdbc
enable opengl debugging on x11
2012-04-12 16:24:00 -03:00
Eduardo Bart
a46a16738c
performance improvement, lock free render
2012-04-12 11:26:56 -03:00
Eduardo Bart
0fe5491635
fix display of stackable items in shop
2012-04-11 00:37:46 -03:00
Eduardo Bart
4c67e57dd4
fix cmake error
2012-04-11 00:07:14 -03:00
Eduardo Bart
1d2f6c7e9f
enable text-auto-resize for width
2012-04-10 23:59:05 -03:00
Eduardo Bart
48d2027327
use counter for disabling layout updates
2012-04-09 18:44:33 -03:00
Eduardo Bart
5425d344ba
optimize widget destruction
2012-04-09 17:53:45 -03:00
Eduardo Bart
2017fb366e
some optimizations
2012-04-09 09:36:40 -03:00
Eduardo Bart
db00792351
update compile options
2012-04-09 09:36:40 -03:00
Henrique Santiago
2f3c83e858
textedit maxlength, fix charlist status height
2012-04-08 19:10:07 -03:00
Eduardo Bart
92bd1aba54
optimize graphics performance
2012-04-08 16:31:36 -03:00
Eduardo Bart
2e43a77d64
change mouse press behaviour
2012-04-07 00:37:29 -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
218f2e4994
add API to remove widget anchors
2012-04-05 19:46:53 -03:00
Eduardo Bart
4f15da695c
optimizations
2012-04-05 16:08:46 -03:00
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
2012-04-05 09:18:25 -03:00
Eduardo Bart
f8d4ef60d9
fixes in x11 platform
...
* fix clipboard paste on x11
* fix alt tab and keyboard issues
2012-04-04 21:02:42 -03:00
Eduardo Bart
16acfebe3b
move clipping to painter
2012-04-04 19:46:49 -03:00
Eduardo Bart
1410031e02
fix issues in ctrl/shift/alt states on win32
2012-04-04 19:35:56 -03:00
Eduardo Bart
79b4136a8d
...
2012-04-04 17:32:43 -03:00
Eduardo Bart
b5a4d31fa7
more graphics optimizations
...
* avoid buffers clears
* use scisors testing instead of stencil testing for clipping
* remove stencil buffers
2012-04-04 17:18:24 -03:00
Eduardo Bart
53d56259c7
fix compile error no ARM platforms
...
* and some improvements
2012-04-04 16:02:43 -03:00
Eduardo Bart
2c38dfb397
fix dumbfounding issue on win32 that caused HUGE lags
2012-04-04 13:21:02 -03:00
Eduardo Bart
034fce9147
improve clipping performance
2012-04-04 12:19:17 -03:00
Eduardo Bart
8b184d3ce8
compile fixes for gcc 4.7 in 32bit platforms
2012-04-04 12:12:25 -03:00
Eduardo Bart
27e24bda28
fixes to compile on gcc 4.7
2012-04-04 10:16:33 -03:00
Eduardo Bart
11ad1f5c5b
performance improvements
2012-04-04 09:56:22 -03:00
Eduardo Bart
c250bfcf42
fix issue
2012-04-03 23:54:56 -03:00
Eduardo Bart
dd875fc925
support for GL_EXT_framebuffer_object
2012-04-03 23:41:12 -03:00
Eduardo Bart
cb890e8cb1
prevent some protocol crashs
2012-04-03 19:24:15 -03:00
Eduardo Bart
c33741d324
display unsupported extensions
2012-04-03 17:12:05 -03:00
Eduardo Bart
d4afb71263
clean containers when relogging
2012-04-03 11:15:11 -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
8450f1f896
add FileStream class
...
* minimize memory consumption by using FileStream for loading sprites
2012-04-02 12:51:03 -03:00
Eduardo Bart
7e6fe71b5e
new build types
...
* and remove uneeded files
2012-04-02 09:49:43 -03:00
Eduardo Bart
0ddaa234af
rework on UILineEdit
...
* allow multiline text editing
* rename UILineEdit to UITextEdit
2012-03-31 10:43:01 -03:00
Eduardo Bart
595cdc1bb4
fix some win32 hotkeys and change zoom hotkeys
2012-03-30 07:21:24 -03:00
Eduardo Bart
c13a5b5dab
fix crash and focus bug
2012-03-30 04:40:13 -03:00
Eduardo Bart
959d9a87b0
fix focus bug, change battle events
2012-03-29 19:47:12 -03:00
Eduardo Bart
6ace984440
fix combobox
2012-03-29 17:21:59 -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
47e7eef716
implement more functionality
...
* update TODO
* rework UISpinBox
* restore move of stackable items and with horizontal scrollbar
* implement classic control look
2012-03-29 10:45:40 -03:00
Eduardo Bart
0e46df3f29
fix useWith mouse conflict with resize borders
2012-03-28 19:25:00 -03:00
Eduardo Bart
5201071707
fiz rare logging crash
2012-03-28 16:59:51 -03:00
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
2012-03-28 16:32:18 -03:00
Eduardo Bart
a4cef0d390
fix possible mapview crash
2012-03-28 16:09:45 -03:00
Eduardo Bart
4743763d48
remvoe blur, fix scroll issue on win32
2012-03-28 15:10:59 -03:00
Eduardo Bart
8c2a84b6be
motion blur for fun
2012-03-28 14:34:07 -03:00
Eduardo Bart
56d6cc2cc0
testing bloom and motion blur
2012-03-28 14:18:21 -03:00
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
2012-03-28 11:10:21 -03:00
Eduardo Bart
e2ea267703
rework mouse events propagation
2012-03-28 08:46:15 -03:00
Eduardo Bart
92d535f981
improve scrolling
2012-03-27 21:33:35 -03:00
Eduardo Bart
668c4d98d9
win32 fixes
2012-03-27 18:33:58 -03:00
Eduardo Bart
8ea154016b
fix and changes
...
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
2012-03-27 15:14:40 -03:00
Eduardo Bart
060c1cf8e7
ui changes
...
* create UIResizeBorder
* restore miniwindow
* scroll fixes
2012-03-26 19:24:01 -03:00
Eduardo Bart
ee869bb279
side panel splitter
2012-03-26 15:33:00 -03:00
Eduardo Bart
9309d6e7f3
some rework in UIWidget input
2012-03-26 10:34:43 -03:00
Eduardo Bart
532e8e3e39
chat line wrapping
...
* rework UIWidget text wrapping
* implement auto wrap
* fixes in console
2012-03-25 19:14:09 -03:00
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
2012-03-25 14:10:19 -03:00
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
2012-03-25 11:10:15 -03:00
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
2012-03-24 12:22:40 -03:00
Eduardo Bart
efa9811342
dragging fixes
2012-03-23 19:48:18 -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
b301aa1a2b
rework splitter implementation
2012-03-23 00:06:00 -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
159eb98df2
introduce startup options
...
* startup options with -help and -version
* many startup options for graphics
2012-03-22 13:10:12 -03:00
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)
2012-03-22 09:57:43 -03:00
Eduardo Bart
28633a9e20
fixes
...
* dont use realtime mipmaps by default
* fix void rendering
* fix max Z rendering
2012-03-21 14:30:57 -03:00
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
2012-03-21 12:31:34 -03:00
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
2012-03-21 09:41:43 -03:00
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
2012-03-20 19:26:07 -03:00
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
2012-03-20 16:10:04 -03:00
Eduardo Bart
b4261a8c7b
bunch of optimizations
2012-03-20 12:17:10 -03:00
Eduardo Bart
3cd31bcd1e
rework Color to optimize render
2012-03-19 18:56:07 -03:00
Eduardo Bart
f62f507813
just fixes
...
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
2012-03-19 14:54:47 -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
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
2012-03-16 10:31:21 -03:00
Eduardo Bart
b46d4c4d5f
non relevant changes
2012-03-16 10:31:21 -03:00
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
2012-02-20 11:10:54 -02:00
Eduardo Bart
ba24e7ce39
fix compile issue
2012-02-20 00:40:01 -02: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
96358b317d
drag fixes
2012-02-09 16:38:50 -02:00
Eduardo Bart
c707f990bf
fix popupmenu, fix mouserelease events, fix connect
2012-02-09 04:42:07 -02:00
Eduardo Bart
d4ce3c5354
fix issue on onMouseRelease
2012-02-08 18:46:25 -02:00
Eduardo Bart
f056131ae1
fix possible crash when reading border style, fix onLogin event
2012-02-08 11:44:06 -02:00
Eduardo Bart
619f751371
fixes in uicreature rendering
2012-02-07 23:33:08 -02:00
Eduardo Bart
e51789378a
make hover, dragging, press and mouse release work in a proper way
2012-02-07 17:21:53 -02:00
Eduardo Bart
e2203799dc
clean table fields on widget destruction
2012-02-07 04:33:20 -02:00
Eduardo Bart
37f3f904c7
some fixes in MainWindow move
2012-02-07 02:55:20 -02:00
Eduardo Bart
71c706157a
drag fixes
2012-02-07 00:06:48 -02:00
Eduardo Bart
46df3c7dbe
some window moving
2012-02-06 22:41:53 -02:00
Eduardo Bart
88301c329a
a lot of changes in modules
2012-02-06 17:19:47 -02:00
Eduardo Bart
add8505a5b
implement auto repeat configuration for key press events, to give more flexibility
2012-02-06 10:53:28 -02:00
Eduardo Bart
f97104f12e
replace require with dofile, rename Hotkeys to Keyboard
2012-02-06 02:39:52 -02:00
Eduardo Bart
64c9e4f1d5
add modulemanager module
2012-02-05 23:44:47 -02:00
Eduardo Bart
a55e138002
some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while
2012-02-05 20:42:35 -02:00
Eduardo Bart
cc081d8151
update TODO, rename onMouseDoubleClick to onDoubleClick
2012-02-04 15:04:44 -02:00
Eduardo Bart
2b206a74a9
some key codes changes
2012-02-04 00:43:43 -02:00
Eduardo Bart
aafe219532
fix numpad keys on win32
2012-02-04 00:11:18 -02:00
Eduardo Bart
d83804f2cb
fiz win32 window positioning/moving issues
2012-02-03 22:43:51 -02:00
Eduardo Bart
3277c050c5
fix in OpenGL ES code
2012-02-03 12:02:59 -02:00
Henrique Santiago
d931b03fed
spinbox improvements
2012-02-03 09:59:55 -02:00
Eduardo Bart
1340699b01
implement onMouseDoubleClick event in UIWidget
2012-02-03 03:47:26 -02:00
Eduardo Bart
411ac72fdc
change some comments
2012-02-03 02:18:54 -02:00
Eduardo Bart
f1cba66b1e
fix possible issue when disconnecting from the server
2012-02-03 00:54:33 -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
5f6dd5aff1
remove dump line
2012-02-01 22:40:43 -02:00
Eduardo Bart
e88774728e
otml node cast fixes
2012-02-01 22:38:42 -02:00
Eduardo Bart
34f9ecb6c8
fixes in Settings/g_configs
2012-02-01 22:10:55 -02:00
Eduardo Bart
98ef0e4574
allow setting/getting nodes in g_configs
2012-02-01 21:37:40 -02:00
Eduardo Bart
289efe34cf
fix tcp congestion
2012-02-01 20:46:31 -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
51b0822267
zoom out much more smoother
2012-01-31 15:06:55 -02:00