Commit Graph

97 Commits

Author SHA1 Message Date
Eduardo Bart 1a2e97bb5e show private message on screen
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
2012-06-09 10:00:08 -03:00
Eduardo Bart 1a7f2a44fc graphics fixes and improvements 2012-06-08 21:40:41 -03:00
Henrique Santiago 587db0d89f changes to uiitem 2012-06-08 00:02:06 -03:00
Eduardo Bart 023a4ebef6 performance improvements 2012-06-05 12:36:27 -03:00
Eduardo Bart 59a80ffaf9 scroll when focusing widgets 2012-06-01 21:38:26 -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
Eduardo Bart 4c80d783d6 rewrite and reoganize tools functions
* create stdext namespace which contains additional C++ algorithms
* organize stdext in string, math, cast and exception utilities
2012-05-28 10:06:26 -03:00
Henrique Santiago 1203756baf items draw rework, npc trade fix 2012-05-13 12:05:30 -03:00
Eduardo Bart 469e0bbbca make dat reader more compatible with malformed dats 2012-05-12 09:30:51 -03:00
Eduardo Bart beaba25af1 UI tweaks 2012-04-30 16:30:37 -03:00
Eduardo Bart ceb051cb75 finally reloadable vip, skills, inventory, chat and minimap 2012-04-27 03:30:54 -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 353aa5215e fix drawing of 2x2 items on UIItem 2012-04-09 16:33:40 -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 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 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 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 79a1d66f3f add splitter widget
* add horizontal/vertical cursor
* possibildiade to resize game map with the new splitter widget
* fix reload warnings in textmessage
2012-03-22 22:52:31 -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 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 9bff1aa6ea changes in creature drawing for battle list 2012-02-08 03:13:52 -02:00
Eduardo Bart 619f751371 fixes in uicreature rendering 2012-02-07 23:33:08 -02:00
Eduardo Bart d6ade5a8e0 fix draw of uicreature 2012-02-07 05:59:20 -02:00
Eduardo Bart 53ead20de5 restore map clicking 2012-02-06 23:35:46 -02:00
Eduardo Bart 46df3c7dbe some window moving 2012-02-06 22:41:53 -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
AndreFaramir 1615bf7a36 -add tibia chat commands like #w, #y and private command.
-fixed redundant onEnter/onReturn on chat panel
2012-02-03 07:59:04 -02:00
Eduardo Bart 411ac72fdc change some comments 2012-02-03 02:18:54 -02:00
Eduardo Bart a4546942d2 draw yells outside screen range 2012-02-02 19:28:53 -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 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 266917cc3c introduce virtual items for UIItem 2012-02-01 05:36:32 -02:00
Eduardo Bart aa1a10afbc improve map far view rendering 2012-01-31 18:50:35 -02:00
Eduardo Bart deedef235d resize changes 2012-01-31 02:12:54 -02:00
Eduardo Bart 9db7bd2602 rework map rendering 2012-01-29 22:00:12 -02:00
Henrique Santiago e3096c1648 fix move on different floors, dragqueen border on uiitem 2012-01-20 23:01:11 -02:00
Henrique Santiago bd63bde722 fix dragqueen and containers 2012-01-20 00:33:19 -02:00
Eduardo Bart 759b7f43b3 dran and drop for UIWidget 2012-01-19 23:16:22 -02:00
Henrique Santiago 733039e50e init move items 2012-01-19 23:12:26 -02:00
Eduardo Bart 452d1a76b0 fix key events for win32 2012-01-17 04:24:58 -02:00
Eduardo Bart 186e3dc86b add numpad keys in lua const 2012-01-16 03:54:53 -02:00
Eduardo Bart 44a20222bb walk and key event system rework with some regressions 2012-01-15 19:19:52 -02:00
Eduardo Bart 5e5ddae167 some UI changes 2012-01-14 17:31:20 -02:00
Eduardo Bart aae784468b fix some keyboard issues, chat tab, fix loadScript exception 2012-01-13 18:37:44 -02:00
Eduardo Bart a1374baee1 major UIWidget rewrite with new features 2012-01-10 20:13:40 -02:00
Eduardo Bart bc7f22d395 fix map padding, parse rule violations protocol opts 2012-01-10 00:46:20 -02:00
Henrique Santiago 4de5e45d52 rework and classic controls 2012-01-09 18:54:37 -02:00
Henrique Santiago 4bfd335c98 remove code from uimap to lua 2012-01-09 16:06:16 -02:00
Eduardo Bart fdc9087870 implement chat colors, rework on UI layout update system 2012-01-08 20:32:55 -02:00