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
12 years ago
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
12 years ago
Eduardo Bart
83f86eac64
experimental map shaders
12 years ago
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
12 years ago
Eduardo Bart
1a7f2a44fc
graphics fixes and improvements
12 years ago
Eduardo Bart
cde81666b8
fix opengl regressions
12 years ago
Eduardo Bart
1c5b906b5b
some optimizations
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
Henrique Santiago
1203756baf
items draw rework, npc trade fix
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
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
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
92bd1aba54
optimize graphics performance
12 years ago
Eduardo Bart
2e43a77d64
change mouse press behaviour
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
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
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
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
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
619f751371
fixes in uicreature rendering
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
bb768f43c0
improvments for shaders
12 years ago
Eduardo Bart
a1374baee1
major UIWidget rewrite with new features
12 years ago
Eduardo Bart
9104305f37
update copyright notice
13 years ago
Eduardo Bart
3abbf5255e
introduce matrix class and use it
13 years ago
Eduardo Bart
1339e18202
...
13 years ago
Eduardo Bart
1a3dcb215e
use vertex buffers
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
f548825faf
too many changes to list, many regressions were made, master will be UNSTABLE for a few days
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
18c122c71e
add glext.h, remove GLU dependency
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
05edcc218d
add some typedefs
13 years ago
Eduardo Bart
f7eac377e7
restore copyright notice
13 years ago
Eduardo Bart
38529ea837
lua console and some changes
13 years ago
Eduardo Bart
2e1a96c2df
rework on dat and spr loader
13 years ago