mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Add description for 'remap' to mapster32.cfg, add 'setstartpos' to a.m32.
The latter is commented out, since it has to be *compiled* with script_expertmode enabled. git-svn-id: https://svn.eduke32.com/eduke32@2808 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
caa36c9d77
commit
39e944dffe
2 changed files with 29 additions and 4 deletions
|
@ -557,9 +557,18 @@ int32_t writesetup(const char *fn)
|
|||
#endif
|
||||
// "; Console key scancode, in hex\n"
|
||||
"keyconsole = %X\n"
|
||||
"; example: make KP0 function as KP5 (counters inability\n"
|
||||
"; inability to pan using Shift-KP5-KP8/2 in 3D mode)\n"
|
||||
"; remap = 52-4C\n"
|
||||
"\n"
|
||||
"; This option allows you to remap keys in case some of them are not available\n"
|
||||
"; (like on a notebook). It has to be a comma-separated list of SOURCE-TARGET\n"
|
||||
"; scancode values, looked up in the keyboard map above. This also means that\n"
|
||||
"; the key positions count, not their labels for non-US keyboards.\n"
|
||||
";\n"
|
||||
"; Example:\n"
|
||||
"; 1. Map the backslash key (0x2B) to KPENTER (9C), since portable devices\n"
|
||||
"; often don't have the latter\n"
|
||||
"; 2. make KP0 (0x52) function as KP5 (0x4C), countering the inability to pan\n"
|
||||
"; using Shift-KP5-KP8/2 in 3D mode\n"
|
||||
"; remap = 2B-9C,52-4C\n"
|
||||
"remap = ",
|
||||
|
||||
forcesetup, fullscreen, xdim2d, ydim2d, xdimgame, ydimgame, bppgame, vsync,
|
||||
|
|
|
@ -70,7 +70,7 @@ gamevar drawcol 9 0
|
|||
define TQUOTE 0
|
||||
definequote TQUOTE >>> write on me! <<<
|
||||
|
||||
//light
|
||||
//light
|
||||
define LIGHTQUOTE 1
|
||||
// x y z r g b mins maxs
|
||||
definequote LIGHTQUOTE light %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d
|
||||
|
@ -1310,6 +1310,22 @@ defstate listusedtags
|
|||
}
|
||||
ends
|
||||
|
||||
// This must be *compiled* with script_expertmode
|
||||
/*
|
||||
defstate setstartpos
|
||||
"Set start pos. from spr."
|
||||
var spr
|
||||
getnumberfromuser spr "sprite number: " MAXSPRITES 8
|
||||
|
||||
seti spr
|
||||
set startposx .x
|
||||
set startposy .y
|
||||
set startposz .z
|
||||
set startsector .sectnum
|
||||
set startang .ang
|
||||
ends
|
||||
*/
|
||||
|
||||
////////// USER AREA //////////
|
||||
|
||||
// key settings
|
||||
|
|
Loading…
Reference in a new issue