ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/TODO
Revision: 1.192
Committed: Tue Jul 4 23:23:31 2006 UTC (17 years, 10 months ago) by root
Branch: MAIN
Changes since 1.191: +3 -0 lines
Log Message:
Get rid of cairo completely (yay!) and of ft2 factually (still need the
library as it included pangofc), by introducing a custom pango opengl
renderer.

Text rendering now no longer requires the distinction between rgba and
grayscale modes, requires much less texture space and memory, and is
faster on accelerated hardware (and possibly with software rendering, too).

All at the cost of only 1200 lines or so.

File Contents

# Content
1 http://www.vionline.com/sound.html
2 http://www.stonewashed.net/2.html
3
4 http://pyopengl.sourceforge.net/documentation/manual/glutEnterGameMode.3GLUT.html
5
6 12:17 <@schmorp> i do list all libs manually for pclient
7 12:17 <@schmorp> will have to do that for gce too
8 12:17 <@schmorp> remind me of it
9 12:17 <@schmorp> qwhen i next bundle it
10
11 - IMPORTANT: Event: '?? cfplus:1856' died and then $Event::DIED died with: Can't use an undefined value as a HASH reference at /localvol/root/src/CFClient/blib/lib/CFClient/Protocol.pm line 579.
12 - IMPORTANT: re-design inventory (sort order, _sense magic_ and _cursed_ should be shown visually!)
13 => either using bg attribute, or something else. neither way is currently implementable, imho
14 => or maybe using an extra icon for curses/magic items?)
15 maybe drag&drop, otherwise two containers side-by-side makes little sense.
16 show player weight/max weight in inventory
17 offer common options such as use_skill sense xxx etc. in inventory via menu?
18 maybe always use categories (locked etc.) and let drag&drop decide wether an item is locked or not
19 - notebook should provide a visual feedback (support form button class?)
20 - store decoded graphics in database, not the png (also: do not store them in memory, re-fetch them on use)
21 - skill page in playerbook
22 - enable autopickup/disable in right-click menĂ¼ for map
23 - help window close button
24 - floorbox should show currently open container
25 - make simple inventory filters: most recently added/changed, normal, only unlocked
26 - binding keys is too complicated in the general case => disucss!!!!!!!!!!!!!!!!!!
27 - minor: skill list which shows XP and lets u bind stuff
28 - Attempt to free unreferenced scalar: SV 0x11f5d98 during global destruction.
29 (after starting, press quit)
30 - use more graphical frames/separators to make dialogs more eye-pleasing/clean, esp. the sorted inventory
31
32 should be solved/investigated before 1.0 release:
33 - mapmap (overview) - scroll visible area by clicking/dragging
34 - binding window and editor layout broken for long recordings
35 - maybe open the help viewer on the first start, or a simple dialog that
36 initially lists keybidings for gcfclient converts.
37 - maybe support mb4/mb5 on selected widgets to facilitate scrolling
38 (inventory, spell list, messge log...) => marc
39 - maybe the topmost fancyframe border should be larger (for close button and title to be more visible?)
40 - but fullscreen => minimize (alt-esc) => no way to go back [windows]
41 - spell list => scroll down => "Pickup" => scrollbar not updated
42 - what happened to the dialog being shown when modifiera are pressed, showing
43 keybindings for this modifier?
44 - add menu itemds for inventory items for UNcommon actions: mark/inscribe etc.
45
46 post-1.0:
47 - currently the font texture cache lacks "memory" (see texcache.c:tc_put)
48 - when mipmapping upstream data files, run a fatten pass so pixels with alpha=0 don't negatively
49 affect neighbouring visible pixels (border bleeding).
50 - examine etc., should use extendeddrawinfo or sth. similar
51 - player list from server for tell etc. commands
52 - save only dirty cached maps, and save dirty maps != current map
53 - look into extendedmapinfo
54 - completer should know more about arguments, e.g. cast summon pet monster,
55 or that some commands do not take arguments ("drop all").
56 - sliders do not change size after reconfigure.
57 - enter runmode when cursor-key repeats (maybe not?)
58 - cairo/win32 looks like shit (premultiplied alpha bug?)
59 (despite horrendous efforts, this is likely not fixable except by building a custom
60 libcairo for win32).
61 (update: disabled antialiasing, this looks bad, but much better than antialiasing)
62 - maybe use outline fonts/effect for statusbox and floorbox (and health gauge stats etc.).
63 - performance: use texture collections for upstream server data instead if gobs
64 of small textures.
65
66 TEMPORARY SERVER TODO:
67 - palyer peaceful setting should be independen of game peaceful setting
68 (i.e. one should be able to become hostile against guards but still
69 be peaceful - the palyer peaceful would be toggled by priests and shown
70 in who, the game peaceful steting would be toggled by the peaceful command
71 but not otherwise shown).
72 - pippij wants playerstealing to work between hostile players
73 - attempt_jump tries to kick jumped-into monster,s but doesn't work
74 - 1) If you hide, and someone can see you trying to hide, you'll get a
75 message, even when you can't see that other person.
76 - 2) hiding exp is always 1, independant of how difficult it is to hide
77 - 3) jumping into monsters does no damage, even though it's supposed to
78 be an attack (mentioned before). You also get no exp for this
79 - 10) (feature request): bug/typo/idea commands to automatically log
80 your comments, with the mentioning of the current map (and perhaps an
81 item, if you do 'bug <item>').
82
83 set_face 4783 => 70
84 libpng warning: Ignoring gAMA chunk with gamma=0
85 allocating id 71
86 OK
87 set_face 4782 => 71
88 libpng warning: Ignoring gAMA chunk with gamma=0
89 allocating id 72
90 OK
91 set_face 4781 => 72
92 libpng warning: Ignoring gAMA chunk with gamma=0
93 allocating id 73
94 OK
95 set_face 4784 => 73
96 libpng warning: Ignoring gAMA chunk with gamma=0
97
98 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.
99 /*first pass*/
100 glColorMask(TRUE, TRUE, TRUE, FALSE); /*disable alpha channel*/
101 glDepthMask(FALSE); /*disable Z buffer*/
102 if (premultpliedTransparency)
103 glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
104 else
105 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
106 /*render the object here*/
107
108 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:
109 /*second pass*/
110 glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/
111 glDepthMask(FALSE); /*disable Z buffer*/
112 glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO);
113 /*render the object with alpha replaced with 1-a*/
114
115 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:
116 /*third pass*/
117 glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/
118 glDepthMask(TRUE); /*enable Z buffer*/
119 glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO);
120 /*render the object with alpha replaced with 1*/
121
122