Eduardo Bart
96c363d997
changes for otb compability
2012-06-21 14:54:20 -03:00
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
2012-06-18 05:13:52 -03:00
Eduardo Bart
72f569c250
improve walk animation on low end hardware
2012-06-11 16:03:36 -03:00
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
2012-06-08 21:40:41 -03:00
Eduardo Bart
bb1fb939c4
just fixes
...
* fix battle rendering
* fix rendering glitch when following creatures
* properly throw exceptions from C++ to lua and avoid exception crashs
* fixes rendering states in framebuffer
2012-06-06 11:10:35 -03:00
Eduardo Bart
023a4ebef6
performance improvements
2012-06-05 12:36:27 -03:00
Henrique Santiago
3f95d62467
fix draw square
2012-06-03 17:35:07 -03:00
Eduardo Bart
1c5b906b5b
some optimizations
2012-06-02 11:43:27 -03:00
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
2012-06-01 16:39:09 -03:00
Henrique Santiago
2676eb4da3
fix crash with outfits
2012-05-18 22:41:22 -03:00
Henrique Santiago
1203756baf
items draw rework, npc trade fix
2012-05-13 12:05:30 -03:00
Eduardo Bart
cc261931be
more otserv compatibilities fixes
2012-05-11 18:40:40 -03:00
Eduardo Bart
d586bb5e93
some protocol changes for more compatibility
2012-05-11 16:39:54 -03:00
Eduardo Bart
3f2071d097
fix possible walk crash
2012-05-11 06:17:46 -03:00
Eduardo Bart
606fc38109
fixes and missing file
...
* fix walking on tile that has too many creatures
* add missing file
* some walk rework
2012-05-09 19:19:05 -03:00
Eduardo Bart
6495d74edd
restore outfit colors
...
* rework sprite manager and ThingType
* render colored outfits again compatible with OpenGL 1
2012-05-09 17:26:34 -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
92bd1aba54
optimize graphics performance
2012-04-08 16:31:36 -03:00
Eduardo Bart
16acfebe3b
move clipping to painter
2012-04-04 19:46:49 -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
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
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
b46d4c4d5f
non relevant changes
2012-03-16 10:31:21 -03: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
55fbb5f1a6
improvment in connect
2012-02-08 20:58:27 -02:00
Eduardo Bart
9bff1aa6ea
changes in creature drawing for battle list
2012-02-08 03:13:52 -02:00
Eduardo Bart
1013ae279b
fix messagebox and rename some stuff
2012-02-08 00:11:57 -02:00
Eduardo Bart
fa915e088c
animate idle creatures
2012-02-02 21:23:51 -02:00
Eduardo Bart
82dc42dc26
restore drawing elevation for creature names
2012-02-02 19:20:34 -02:00
Eduardo Bart
614d34b382
fix corpses drawing
2012-02-02 18:10:14 -02:00
Eduardo Bart
ef96215421
rename item count to countOrSubType, rework and improve things animation/drawing
2012-02-02 14:37:52 -02:00
Eduardo Bart
7b965a27af
render walking creatures in the correct way
2012-01-30 19:28:08 -02:00
Eduardo Bart
437f515e7c
fix outfit problems
2012-01-30 04:27:21 -02:00
Eduardo Bart
9db7bd2602
rework map rendering
2012-01-29 22:00:12 -02:00
Eduardo Bart
cfcc3fd428
fix death issues, improve text messages
2012-01-25 12:56:17 -02:00
Eduardo Bart
24aab00431
fix use with, improve move, change icons, improve topbar
2012-01-24 16:39:16 -02:00
Eduardo Bart
820f94a1d9
fix stop walk
2012-01-20 14:48:26 -02:00
Eduardo Bart
ad310e2baf
fix diagonal walking regression
2012-01-19 02:50:48 -02:00
Eduardo Bart
950730a77f
fix walk interval regression
2012-01-19 02:32:37 -02:00
Eduardo Bart
6ce92a1a64
rework walk
2012-01-19 02:12:53 -02:00
Eduardo Bart
de0e4a1acf
fix release keys on x11, remove ping addon, fix minor issue in outfit render, fix emblem updates
2012-01-15 23:55:14 -02:00
Eduardo Bart
44a20222bb
walk and key event system rework with some regressions
2012-01-15 19:19:52 -02:00
Henrique Santiago
5bc939a091
fix viplist sort, shared exp blink
2012-01-11 20:31:23 -02:00
Henrique Santiago
ab4dc91d90
invisible creatures
2012-01-09 22:36:30 -02:00
Henrique Santiago
14c517d7a6
skulls, shields and emblems are now rendered, thanks to joao
2012-01-06 21:54:30 -02:00
Henrique Santiago
1b83126ed5
separator fix, fix draw outside map
2012-01-05 16:34:53 -02:00
Henrique Santiago
7e7050929d
attack and follow
2012-01-05 12:24:38 -02:00