1 | http://www.vionline.com/sound.html |
1 | http://www.vionline.com/sound.html |
2 | http://www.stonewashed.net/2.html |
2 | http://www.stonewashed.net/2.html |
3 | |
3 | |
4 | http://pyopengl.sourceforge.net/documentation/manual/glutEnterGameMode.3GLUT.html |
4 | http://pyopengl.sourceforge.net/documentation/manual/glutEnterGameMode.3GLUT.html |
5 | |
5 | |
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: inventory: drop should be shift-click, or aply should be shift click, normal click should no drop |
11 | - IMPORTANT: please look over the whole keybinding thing, there are myriads of little bugs (elmex: which bugs for example?) |
12 | (maybe also for floorbox) |
12 | bind action stays open when closing theamcro recorder |
13 | - IMPORTANT: quit-button, somewhere! |
13 | - IMPORTANT: discuss topmost menu, minor issues |
14 | * dialog, der warnt ein savebed aufzusuchen. |
14 | - enable autopickup/disable in right-click menĂ¼ for map |
15 | - IMPORTANT: win32, fow_tetxure sometimes nukes other textures |
15 | - help window close button |
16 | - IMPORTANT: lose/regain mapping might clear messgae log |
16 | - floorbox should show currently open container |
17 | (maybe this happens when its being updated when the window isn't mapped => no |
17 | - make simple inventory filters: most recently added/changed, normal, only unlocked |
18 | window context?) |
18 | - binding keys is too complicated in the general case => disucss!!!!!!!!!!!!!!!!!! |
19 | (this might be fixed now, watch out for it) |
19 | - minor: skill list which shows XP and lets u bind stuff |
20 | - IMPORTANT: ogg-vorbis not available - crash at startup, handle this better. |
20 | - Attempt to free unreferenced scalar: SV 0x11f5d98 during global destruction. |
21 | - IMPORTANT:_ map feedback... e.g. when clicking on it |
21 | (after starting, press quit) |
22 | - IMPORTANT: online documentation for the client (rig up a podviewer with textview) |
22 | - use more graphical frames/separators to make dialogs more eye-pleasing/clean. |
23 | - IMPORTANT: '.' in map should repeat last command |
|
|
24 | - important: center and improve dialogs (create cFClient::UI::Dialog) |
|
|
25 | - IMPORTANT: user interface (window positions etc.) should be saved, but |
|
|
26 | b) widget layout is nontrivial as to not obscure map |
|
|
27 | c) need better way to center map then middle-button, maybe map overview |
|
|
28 | (but updates will be slow UPDATE updates are not at all slow). |
|
|
29 | - IMPORTANT: verify and correct connection-dependent texture management |
|
|
30 | - IMPORTANT: force mapscaling to 2**n values, can give nasty borders otherwise |
|
|
31 | - IMPORTANT: message log slider goes too far down. |
|
|
32 | - IMPORTANT: focus mapwidget on login |
|
|
33 | - IMPORTANT: font reconfigure works very badly. |
|
|
34 | |
23 | |
35 | should be solved/investitaged before release: |
24 | should be solved/investigated before 1.0 release: |
36 | - widgets need to know about their visibility. the inventory |
25 | - mapmap (overview) - scroll visible area by clicking/dragging |
37 | completely redraws itself on every animation change, even when its not visible. |
26 | - binding window and editor layout broken for long recordings |
|
|
27 | - maybe open the help viewer on the first start, or a simple dialog that |
|
|
28 | initially lists keybidings for gcfclient converts. |
|
|
29 | - maybe support mb4/mb5 on selected widgets to facilitate scrolling |
|
|
30 | (inventory, spell list, messge log...) => marc |
|
|
31 | - maybe the topmost fancyframe border should be larger (for close button and title to be more visible?) |
|
|
32 | - but fullscreen => minimize (alt-esc) => no way to go back [windows] |
|
|
33 | - spell list => scroll down => "Pickup" => scrollbar not updated |
|
|
34 | - what happened to the dialog being shown when modifiera are pressed, showing |
|
|
35 | keybindings for this modifier? |
|
|
36 | - add menu itemds for inventory items for UNcommon actions: mark/inscribe etc. |
|
|
37 | |
|
|
38 | post-1.0: |
|
|
39 | - when mipmapping upstream data files, run a fatten pass so pixels with alpha=0 don't negatively |
|
|
40 | affect neighbouring visible pixels (border bleeding). |
|
|
41 | - examine etc., should use extendeddrawinfo or sth. similar |
|
|
42 | - player list from server for tell etc. commands |
|
|
43 | - save only dirty cached maps, and save dirty maps != current map |
|
|
44 | - look into extendedmapinfo |
|
|
45 | - completer should know more about arguments, e.g. cast summon pet monster, |
|
|
46 | or that some commands do not take arguments ("drop all"). |
|
|
47 | - sliders do not change size after reconfigure. |
|
|
48 | - enter runmode when cursor-key repeats (maybe not?) |
38 | - cairo/win32 looks like shit (premultiplied alpha bug?) |
49 | - cairo/win32 looks like shit (premultiplied alpha bug?) |
39 | - Attempt to free unreferenced scalar: SV 0x11f5d98 during global destruction. |
50 | (despite horrendous efforts, this is likely not fixable except by building a custom |
40 | (after starting, pressing login with connection refused, then close window) |
51 | libcairo for win32). |
41 | - flopper/menu imrpovement: |
52 | (update: disabled antialiasing, this looks bad, but much better than antialiasing) |
42 | * things that are menus should act more like menus |
|
|
43 | * inmventory etc. should fade-in automatically when used |
|
|
44 | - add menu itemds for inventory items: mark/inscribe etc. |
|
|
45 | - remove wrap_mode hack from texture and make it a per-texture operation |
|
|
46 | - enter runmode when cursor-key repeats |
|
|
47 | - mapmap (overview) - scroll visible area by clicking/dragging |
|
|
48 | - elmex: split up gauges into: head, body and foot, so that contents begin in the interior of gauges |
|
|
49 | - maybe move window managing functionality into toplevel |
|
|
50 | - better window management (graphical feedback) |
|
|
51 | |
|
|
52 | low priority: |
|
|
53 | - look into extendedmapinfo |
|
|
54 | - save only dirty cached maps, and save dirty maps != current map |
|
|
55 | - inventory update must be incremental (too slow) (really? check) |
|
|
56 | - try to synchronize local animation speed with server updates to save on screen refreshes. |
|
|
57 | - player list from server for tell etc. commands |
|
|
58 | - examine etc., should use extendeddrawinfo or sth. similar |
|
|
59 | - maybe use outline fonts/effect for statusbox and floorbox (and health gauge stats etc.). |
53 | - maybe use outline fonts/effect for statusbox and floorbox (and health gauge stats etc.). |
60 | - fow intensity => fow color (greyscale, just rename), add fow darkness slider, too |
|
|
61 | - performance: use texture collections for upstream server data instead if gobs |
54 | - performance: use texture collections for upstream server data instead if gobs |
62 | of small textures. |
55 | of small textures. |
63 | - when mipmapping upstream data files, run a fatten pass so pixels with alpha=0 don't negatively |
|
|
64 | affect neighbouring visible pixels (border bleeding). |
|
|
65 | - pango fontsize measure and decrease to achieve real pixel height |
|
|
66 | |
56 | |
67 | TEMPORARY SERVER TODO: |
57 | TEMPORARY SERVER TODO: |
68 | - palyer peaceful setting should be independen of game peaceful setting |
58 | - palyer peaceful setting should be independen of game peaceful setting |
69 | (i.e. one should be able to become hostile against guards but still |
59 | (i.e. one should be able to become hostile against guards but still |
70 | be peaceful - the palyer peaceful would be toggled by priests and shown |
60 | be peaceful - the palyer peaceful would be toggled by priests and shown |
… | |
… | |
94 | allocating id 73 |
84 | allocating id 73 |
95 | OK |
85 | OK |
96 | set_face 4784 => 73 |
86 | set_face 4784 => 73 |
97 | libpng warning: Ignoring gAMA chunk with gamma=0 |
87 | libpng warning: Ignoring gAMA chunk with gamma=0 |
98 | |
88 | |
|
|
89 | 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. |
|
|
90 | /*first pass*/ |
|
|
91 | glColorMask(TRUE, TRUE, TRUE, FALSE); /*disable alpha channel*/ |
|
|
92 | glDepthMask(FALSE); /*disable Z buffer*/ |
|
|
93 | if (premultpliedTransparency) |
|
|
94 | glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); |
|
|
95 | else |
|
|
96 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |
|
|
97 | /*render the object here*/ |
|
|
98 | |
|
|
99 | 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: |
|
|
100 | /*second pass*/ |
|
|
101 | glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/ |
|
|
102 | glDepthMask(FALSE); /*disable Z buffer*/ |
|
|
103 | glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO); |
|
|
104 | /*render the object with alpha replaced with 1-a*/ |
|
|
105 | |
|
|
106 | 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: |
|
|
107 | /*third pass*/ |
|
|
108 | glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/ |
|
|
109 | glDepthMask(TRUE); /*enable Z buffer*/ |
|
|
110 | glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO); |
|
|
111 | /*render the object with alpha replaced with 1*/ |
|
|
112 | |
|
|
113 | |