… | |
… | |
6 | 12:17 <@schmorp> i do list all libs manually for pclient |
6 | 12:17 <@schmorp> i do list all libs manually for pclient |
7 | 12:17 <@schmorp> will have to do that for gce too |
7 | 12:17 <@schmorp> will have to do that for gce too |
8 | 12:17 <@schmorp> remind me of it |
8 | 12:17 <@schmorp> remind me of it |
9 | 12:17 <@schmorp> qwhen i next bundle it |
9 | 12:17 <@schmorp> qwhen i next bundle it |
10 | |
10 | |
11 | - IMPORTANT: invite (and maybe others) _need_ to be documented |
11 | - IMPORTANT: password-entry dialog (query!) not hidden, should be fixed |
12 | - IMPORTANT: message log window often loses contents after refreshes/res switches |
12 | together with removing query dialog altogether. |
13 | (m,aybe not, maybe after loging out and in again?) |
13 | - IMPORTANT: toggle stats/messgae log window to visible while character creation is active. |
14 | - IMPORTANT: toplevel geometry is not respected on moves. |
|
|
15 | - IMPORTANT: learning spells does not make them show up automatically in the completer? |
|
|
16 | - IMPORTANT: statusbox update timer |
|
|
17 | - IMPORTANT: statusbox tooltip must not go away on updates |
|
|
18 | - IMPORTANT: history for completer (cursor-up) |
14 | - IMPORTANT: history for completer (cursor-up) |
19 | - IMPORTANT: toggle stats/messgae log window to visible while character creation is active. |
|
|
20 | - IMPORTANT:_ map feedback... e.g. when clicking on it |
|
|
21 | - IMPORTANT: stats window looks like shit initially (widget allocation?) |
|
|
22 | |
15 | |
23 | - binding window and editor layout broken for long recordings |
16 | - binding window and editor layout broken for long recordings |
24 | - sorted spell dialog + second spell bind dialog with checkboxes: invoke and cast distinction |
17 | - sorted spell dialog + second spell bind dialog with checkboxes: invoke and cast distinction |
25 | - minor: skill list which shows XP and lets u bind stuff |
18 | - minor: skill list which shows XP and lets u bind stuff |
26 | |
19 | |
… | |
… | |
29 | and add column titles (also for other tables like inventory and bindings) |
22 | and add column titles (also for other tables like inventory and bindings) |
30 | - log messages received and commands sent to ~/.crossfire/log.$ip |
23 | - log messages received and commands sent to ~/.crossfire/log.$ip |
31 | - the binding editor should have a append-record mode or something like that |
24 | - the binding editor should have a append-record mode or something like that |
32 | - rethink message display in lower left corner |
25 | - rethink message display in lower left corner |
33 | - cairo/win32 looks like shit (premultiplied alpha bug?) |
26 | - cairo/win32 looks like shit (premultiplied alpha bug?) |
|
|
27 | (despite horrendous efforts, this is likely not fixable except by building a custom |
|
|
28 | libcairo for win32). |
34 | - Attempt to free unreferenced scalar: SV 0x11f5d98 during global destruction. |
29 | - Attempt to free unreferenced scalar: SV 0x11f5d98 during global destruction. |
35 | (after starting, press quit) |
30 | (after starting, press quit) |
36 | - flopper/menu imrpovement: |
|
|
37 | * things that are menus should act more like menus |
|
|
38 | - better focus management: put focus onto active windows, remove it again later |
31 | - better focus management: put focus onto active windows, remove it again later |
|
|
32 | (mainly to speed up gui interaction when map isn't important). |
39 | - add menu itemds for inventory items for UNcommon actions: mark/inscribe etc. |
33 | - add menu itemds for inventory items for UNcommon actions: mark/inscribe etc. |
40 | - enter runmode when cursor-key repeats (maybe not?) |
34 | - enter runmode when cursor-key repeats (maybe not?) |
41 | - mapmap (overview) - scroll visible area by clicking/dragging |
35 | - mapmap (overview) - scroll visible area by clicking/dragging |
42 | - split up gauges into: head, body and foot, so that contents begin in the interior of gauges |
36 | - split up gauges into: head, body and foot, so that contents begin in the interior of gauges |
43 | - maybe move window managing functionality into toplevel |
37 | - maybe move window managing functionality into toplevel |
… | |
… | |
95 | allocating id 73 |
89 | allocating id 73 |
96 | OK |
90 | OK |
97 | set_face 4784 => 73 |
91 | set_face 4784 => 73 |
98 | libpng warning: Ignoring gAMA chunk with gamma=0 |
92 | libpng warning: Ignoring gAMA chunk with gamma=0 |
99 | |
93 | |
|
|
94 | 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. |
|
|
95 | /*first pass*/ |
|
|
96 | glColorMask(TRUE, TRUE, TRUE, FALSE); /*disable alpha channel*/ |
|
|
97 | glDepthMask(FALSE); /*disable Z buffer*/ |
|
|
98 | if (premultpliedTransparency) |
|
|
99 | glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); |
|
|
100 | else |
|
|
101 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |
|
|
102 | /*render the object here*/ |
|
|
103 | |
|
|
104 | 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: |
|
|
105 | /*second pass*/ |
|
|
106 | glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/ |
|
|
107 | glDepthMask(FALSE); /*disable Z buffer*/ |
|
|
108 | glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO); |
|
|
109 | /*render the object with alpha replaced with 1-a*/ |
|
|
110 | |
|
|
111 | 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: |
|
|
112 | /*third pass*/ |
|
|
113 | glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/ |
|
|
114 | glDepthMask(TRUE); /*enable Z buffer*/ |
|
|
115 | glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO); |
|
|
116 | /*render the object with alpha replaced with 1*/ |
|
|
117 | |
|
|
118 | |