plan9fox/sys
cinap_lenrek f369fa9d46 games/doom: fix gamma correction and key translation (thanks qu7uux)
KEY_F11 and KEY_F12 are not KEY_F1+11 and KEY_F1+12 as it is assumed in
runetokey(), which prevents these keystrokes from being used. rather than
change runetokey(), it seems better to just change the key definitions in
doomdef.h (the new values don't correspond to any other keys anyway).

F11 is the gamma correction key. to make gamma correction actually work,
i_video.c:I_SetPalette must also take into account usegamma (this was just
never ported). cf i_video.c:UploadNewPalette in source code release.

F12 is the spycam key. the spycam switches the renderview to a different player
during a coop game, or when watching a multiplayer demo. this feature only
changes the renderview; sounds, palette effects, status bar, etc. are still
from the first player's perspective.
2015-08-16 22:09:46 +02:00
..
doc
games/lib fortunes: If you want to do the work, I will review the results. 2015-08-09 00:36:10 -04:00
include ape: implement altzone for tzset() 2015-08-04 02:01:41 +02:00
lib acid -k: fix intrcount() for amd64 2015-08-09 22:43:53 +02:00
man rio(4): document "delete" wctl message (thanks mischief) 2015-08-16 02:54:23 +02:00
src games/doom: fix gamma correction and key translation (thanks qu7uux) 2015-08-16 22:09:46 +02:00