Eduardo Bart
efd17361f8
non relevant drawing changes
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
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
2017fb366e
some optimizations
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
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
16acfebe3b
move clipping to painter
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
034fce9147
improve clipping performance
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
0ddaa234af
rework on UILineEdit
...
* allow multiline text editing
* rename UILineEdit to UITextEdit
12 years ago
Eduardo Bart
c13a5b5dab
fix crash and focus bug
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
8ea154016b
fix and changes
...
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
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
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
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
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
619f751371
fixes in uicreature rendering
12 years ago
Eduardo Bart
88301c329a
a lot of changes in modules
12 years ago
Eduardo Bart
3277c050c5
fix in OpenGL ES code
12 years ago
Eduardo Bart
edeee80631
speedup sprite loading
12 years ago
Eduardo Bart
437f515e7c
fix outfit problems
12 years ago
Eduardo Bart
9db7bd2602
rework map rendering
12 years ago
Eduardo Bart
4276bd680d
allow use of mipmaps in framebuffers
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
9450fab9e7
fix walk freeze, fix some texts displaying in pink
12 years ago
Eduardo Bart
7bcf7f536e
cache rendering of UILabel
13 years ago
Eduardo Bart
44a20222bb
walk and key event system rework with some regressions
13 years ago
Eduardo Bart
bb768f43c0
improvments for shaders
13 years ago
Eduardo Bart
a1374baee1
major UIWidget rewrite with new features
13 years ago
Eduardo Bart
fb20ad1ba1
improve combobox and menu design
13 years ago
Eduardo Bart
30ce5e2ba9
reorganize some stuff
13 years ago
Eduardo Bart
b8150d160e
implement combobox and do some ui rework
13 years ago
Eduardo Bart
9104305f37
update copyright notice
13 years ago
Eduardo Bart
7c0ad7a356
fix EGL
13 years ago
Eduardo Bart
d597335135
make work on win32 again using GLEW
13 years ago
Eduardo Bart
400afa9981
fix outfit glitches, init combobox, move shaders, remove unused particles files, create timer utility
13 years ago
Henrique Santiago
df0f2febe6
more rework
13 years ago
Henrique Santiago
37a6a38ca6
some reworks
13 years ago
Eduardo Bart
3abbf5255e
introduce matrix class and use it
13 years ago
Henrique Santiago
e6d1252b34
creature names font fix
13 years ago
Eduardo Bart
2b25ffd86b
changes to compile on gcc 4.7
13 years ago
Henrique Santiago
56a392f681
particle system with exori flam
13 years ago
Henrique Santiago
ab9efe5a95
particles test
13 years ago
Henrique Santiago
e3e6770957
particles start final size
13 years ago
Henrique Santiago
6973e1639a
particles colors
13 years ago
Henrique Santiago
eed6fab4b1
particles afectors upgrade and timer rework
13 years ago
Henrique Santiago
bb0860c5d0
particles on center
13 years ago
Henrique Santiago
bf28a92e31
affectors attract
13 years ago
Henrique Santiago
26eb3b42a6
some changes to particles
13 years ago
Henrique Santiago
ad38dad227
particle affectors
13 years ago
Henrique Santiago
435161df62
emitter delay and system deletion
13 years ago
Henrique Santiago
9a5be9c4d8
add missing files
13 years ago
Henrique Santiago
2643de367a
remove particles from emitter
13 years ago
Henrique Santiago
4f905da009
particles ptr fixes
13 years ago
Eduardo Bart
16bb12011a
rework particles math
13 years ago
Eduardo Bart
1339e18202
...
13 years ago
Henrique Santiago
8926f33679
particles fixes
13 years ago
Henrique Santiago
f67770ed00
particles from file
13 years ago
Henrique Santiago
24022317be
particles improvements
13 years ago
Eduardo Bart
2030a4da29
Merge branch 'revgraphics'
...
Conflicts:
src/framework/CMakeLists.txt
src/framework/application.cpp
src/framework/graphics/graphics.cpp
13 years ago
Henrique Santiago
a679f258ee
particles improve
13 years ago
Eduardo Bart
04ee85dc92
experiment shaders in outfit
13 years ago
Henrique Santiago
7233e4e039
particles duration
13 years ago
Henrique Santiago
34617091bc
particles works, but really early state, need pointers fix
13 years ago
Eduardo Bart
5ec386b35f
bloom shader
13 years ago
Henrique Santiago
262f54ce3b
init particles, still not working
13 years ago
Eduardo Bart
b5cf4ad2c4
test shader effect
13 years ago
Eduardo Bart
1a3dcb215e
use vertex buffers
13 years ago
Eduardo Bart
cc7c334d73
...
13 years ago
Eduardo Bart
b37a34219d
fix shaders for OpenGL ES
13 years ago
Eduardo Bart
f89bc352d5
fix shaders for OpenGL ES
13 years ago
Eduardo Bart
203d5768cb
fix compile issues on n900
13 years ago
Eduardo Bart
7eead50806
use GLSL shaders
13 years ago
Eduardo Bart
cf0aab6d4d
reorganize modules
13 years ago
Eduardo Bart
f548825faf
too many changes to list, many regressions were made, master will be UNSTABLE for a few days
13 years ago
Eduardo Bart
d5e15d1f06
add clock, change exceptions, add network exceptions, fix some crashes
13 years ago
Eduardo Bart
4afbe43e6f
changes to prepare revgraphics
13 years ago
Eduardo Bart
9ca1637677
fix bug running in virtualbox
13 years ago
Eduardo Bart
1386064d71
add framebuffer support for old video cards
13 years ago
Eduardo Bart
18c122c71e
add glext.h, remove GLU dependency
13 years ago
Eduardo Bart
5c654f685c
make styles closer to CSS syntax
13 years ago
Eduardo Bart
b66cf3373f
fix font glyph width calculation
13 years ago
Eduardo Bart
d2e8e1d774
add command completion to console
13 years ago
Eduardo Bart
999fa731c0
new font files, fixed some font issues
13 years ago
Eduardo Bart
ae6cd41819
remove unused allocator
13 years ago
Eduardo Bart
e35a2e4c79
fix some graphics issues on Windows virtualbox
13 years ago
Eduardo Bart
4c5d1d0ca5
make work on Windows again
13 years ago
Eduardo Bart
f4f0d7e960
fixed ratio image drawing support
13 years ago
Eduardo Bart
9aa87da074
small fix, thx darone
13 years ago
Eduardo Bart
4d10b0dd49
render improvments using some cache
13 years ago
Eduardo Bart
ba8f8b889e
simplify outfit render
13 years ago
Eduardo Bart
05edcc218d
add some typedefs
13 years ago
Eduardo Bart
e87297c1b5
reorganize all constants and place them into namespaces
13 years ago
Eduardo Bart
f7eac377e7
restore copyright notice
13 years ago
Eduardo Bart
62871d8060
nothing, really
13 years ago
Eduardo Bart
67e3cfcb07
focus last logged character in charlist
13 years ago
Eduardo Bart
7359370251
new layout system, new UI state/styles system
13 years ago
Eduardo Bart
38529ea837
lua console and some changes
13 years ago
Eduardo Bart
033f14780d
make otml simpler and easier to use, improve error handling/exceptions
13 years ago
Eduardo Bart
c6dd25ed99
outfit colors
13 years ago
Eduardo Bart
be15b1820d
more refactoring
13 years ago
Eduardo Bart
2e1a96c2df
rework on dat and spr loader
13 years ago
Eduardo Bart
d8cc37afdb
reorganize sources
13 years ago
Eduardo Bart
92b54b6f55
fix map render
13 years ago
Eduardo Bart
afc197f2dc
rework on graphics.cpp, implement some GFX with lua
13 years ago
Eduardo Bart
09af50c990
remake ui event system and reimplement line edit
13 years ago
Eduardo Bart
55862b07ad
merge total remake
13 years ago
Eduardo Bart
7cf188a67d
fix framebuffer
13 years ago
Eduardo Bart
1a81d1520f
framebuffer
13 years ago
Henrique
651315d4cd
map draw working with lil bugs
13 years ago
Eduardo Bart
70f0b0dace
new script engine, and things maybe be bugged for a while
13 years ago
Eduardo Bart
ab7394f357
add a new folder structure redesign organized by packages
13 years ago
Eduardo Bart
571801ae39
some refactoring
13 years ago
Eduardo Bart
8ef1b28546
many changes and refactoring
13 years ago
Eduardo Bart
3f0a0cb9de
allocator with leak detecting capabilities
13 years ago
Eduardo Bart
d7bc083014
use exceptions in FML
13 years ago
Eduardo Bart
46485d0d76
improvements
13 years ago
Eduardo Bart
80e42b0f96
replace YAML with custom made library for reading text files named FML
13 years ago
Eduardo Bart
ab6c52a3ee
rework on resources system
13 years ago