--- deliantra/Deliantra-Client/TODO 2006/04/25 12:14:09 1.36 +++ deliantra/Deliantra-Client/TODO 2006/06/28 21:43:14 1.181 @@ -1,3 +1,6 @@ +http://www.vionline.com/sound.html +http://www.stonewashed.net/2.html + http://pyopengl.sourceforge.net/documentation/manual/glutEnterGameMode.3GLUT.html 12:17 <@schmorp> i do list all libs manually for pclient @@ -5,35 +8,74 @@ 12:17 <@schmorp> remind me of it 12:17 <@schmorp> qwhen i next bundle it - -- IMPORTANT: slider should clip to valid range properly -- IMPORTANT: user interface (window positions etc.) should be saved, but - a) switching modes clears/recreates all widgets (has to, as parameters - are not resolution-independent) - b) widget layout is nontrivial as to not obscure map - c) need better way to center map then middle-button, maybe map overview - (but updates will be slow UPDATE updates are not at all slow). - -- enter runmode when cursor-key repeats -- mapmap (overview) - - convetr to real window - - draw rectangle around visible area - - scroll visible area - - make size configurable/reesizable -- use real mapmap size in map caching, not hardcoded 250 size +- IPORTANT³: server crashes +>In the ruins of Narcopin lies the tomb of Aljwaf. +... +.. +many dangers, great rew< +- IMPORTANT: running over or pickung up large stacks is etxremely slow + = it still takes "long", but is orders of magnitude faster +- IMPORTANT: please look over the whole keybinding thing, there are myriads of little bugs (elmex: which bugs for example?) +- IMPORTANT: texture reload not working on scaras machine (maybe now) + tetxure reload works. but fullscreen => minimize => no way to go back +- IMPORTANT: gauge size adjustment wreaks havoc, probably needs reconfigure calls +- IMPORTANT: discuss topmost menu, minor issues + +should be solved/investitaged before BETA release: +- floorbox should show currently open container +- make simple inventory filters: most recently added/changed, normal, only unlocked +- binding keys is too complicated in the general case => disucss +- maybe the topmost fancyframe border should be larger (for close button and title to be more visible?) +- maybe support mb4/mb5 on selected widgets to facilitate scrolling + (inventory, spell list, messge log...) => marc +- add lmb mouse = cast, mmb2 = invoke or so to spell list. +- maybe open the help viewer on the first start, or a simple dialog that + initially lists keybidings for gcfclient converts. +- binding window and editor layout broken for long recordings +- minor: skill list which shows XP and lets u bind stuff +- Attempt to free unreferenced scalar: SV 0x11f5d98 during global destruction. + (after starting, press quit) +- mapmap (overview) - scroll visible area by clicking/dragging +- maybe move window managing functionality into toplevel: better window management (graphical feedback) + +should be solved/investigated before 1.0 release: +- spell list => scroll down => "Pickup" => scrollbar not updated +- what happened to the dialog being shown when modifiera are pressed, showing + keybindings for this modifier? +- add menu itemds for inventory items for UNcommon actions: mark/inscribe etc. +- split up gauges into: head, body and foot, so that contents begin in the interior of gauges +- enter runmode when cursor-key repeats (maybe not?) +- better focus management: put focus onto active windows, remove it again later + (mainly to speed up gui interaction when map isn't important). +- cairo/win32 looks like shit (premultiplied alpha bug?) + (despite horrendous efforts, this is likely not fixable except by building a custom + libcairo for win32). + (update: disabled antialiasing, this looks bad, but much better than antialiasing) +- the binding editor should have a append-record mode or something like that +- make a real "table" for the spell list (not long strings like lvl: xxx sp: xx) + and add column titles (also for other tables like inventory and bindings) +- sliders do not change size after reconfigure. +- use more graphical frames/separators to make dialogs more eye-pleasing/clean. +- investigate fill widget option. +- win32, fow_tetxure sometimes nukes other textures + (mostly fixed, but still there: displays list and texture uploads do not go well together) +- get rid of ScrolledWindow special case and use draw_xywh rectangle inside TextView for optimisation. +- completer should know more about arguments, e.g. cast summon pet monster, + or that some commands do not take arguments ("drop all"). +- textview should not snap to bottom on resize. +- alt+cursor == diagonal +- look into extendedmapinfo - save only dirty cached maps, and save dirty maps != current map -- elmex: split up gauges into: head, body and foot, so that fillings begin in the interior of gauges -- the stats for the gauges which get into the stats_update function are somehow weird +- try to synchronize local animation speed with server updates to save on screen refreshes. +- player list from server for tell etc. commands +- examine etc., should use extendeddrawinfo or sth. similar +- maybe use outline fonts/effect for statusbox and floorbox (and health gauge stats etc.). - fow intensity => fow color (greyscale, just rename), add fow darkness slider, too -- message window layout broken (entry too small). -- mesa-rendering of textview shows only garbage and/or another texture -- label needs "expected char width" -- toplevel should enforce that windows always be partially visible -- maybe move window managing functionality into toplevel -- look into extendeddrawinfo and extendedmapinfo -- add extenstive tooltips to stats window, basically like a manual :) (resistances missing?) +- performance: use texture collections for upstream server data instead if gobs + of small textures. - when mipmapping upstream data files, run a fatten pass so pixels with alpha=0 don't negatively affect neighbouring visible pixels (border bleeding). +- pango fontsize measure and decrease to achieve real pixel height TEMPORARY SERVER TODO: - palyer peaceful setting should be independen of game peaceful setting @@ -41,12 +83,7 @@ be peaceful - the palyer peaceful would be toggled by priests and shown in who, the game peaceful steting would be toggled by the peaceful command but not otherwise shown). -- run flawfinder on cf -- disable old socket mode in server -- implement suicide command for server -- cavehippo wants hashstring to be changed to hash name - pippij wants playerstealing to work between hostile players -- schmorp wants to rework the who output format - attempt_jump tries to kick jumped-into monster,s but doesn't work - 1) If you hide, and someone can see you trying to hide, you'll get a message, even when you can't see that other person. @@ -57,10 +94,6 @@ your comments, with the mentioning of the current map (and perhaps an item, if you do 'bug '). -"workarounded" but not solved: -(- IMPORTANT: move widgets to integer coordinates - fix containers!) -(- pango fontsize measure and decrease to achieve real pixel height) - set_face 4783 => 70 libpng warning: Ignoring gAMA chunk with gamma=0 allocating id 71 @@ -76,3 +109,28 @@ set_face 4784 => 73 libpng warning: Ignoring gAMA chunk with gamma=0 + To achieve a more complete blending, you can have your drawing engine rasterize each transparent object more than once, altering in each pass the blending mode, object alpha channel, and buffer write masks. The first pass should perform RGB blending. Accordingly, you should disable writing any alpha channel or z buffer data during this pass. + /*first pass*/ + glColorMask(TRUE, TRUE, TRUE, FALSE); /*disable alpha channel*/ + glDepthMask(FALSE); /*disable Z buffer*/ + if (premultpliedTransparency) + glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); + else + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + /*render the object here*/ + + On the second pass, you should set the frame buffer alpha channel value to (1- a s )(1- a d ). To do this, you need to render the object again, with a different alpha value, as follows: + /*second pass*/ + glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/ + glDepthMask(FALSE); /*disable Z buffer*/ + glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO); + /*render the object with alpha replaced with 1-a*/ + + Finally, the third pass should replace the value in the alpha channel with the final value 1-((1- a s )(1- a d )). To do this, you need to render the object again, with its alpha value set to 1, as follows: + /*third pass*/ + glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/ + glDepthMask(TRUE); /*enable Z buffer*/ + glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO); + /*render the object with alpha replaced with 1*/ + +