a.m32: add some commented out example code for the screenshot functionality.

git-svn-id: https://svn.eduke32.com/eduke32@2820 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-07-08 21:49:31 +00:00
parent 98f7be1ace
commit 6bafc7d176

View file

@ -1330,9 +1330,29 @@ ends
// key settings
defstate userkeys_3d
/*
ifge searchwall 0 ifl searchwall MAXWALLS
ifholdkey KEY_KP5
{
add wall[searchwall].ypanning 1
set DOSCRSHOT 1
}
*/
ifholdkey KEY_SEMI ifhitkey KEY_C state chselshade
ends
gamevar scrshot 0 1
/*
onevent EVENT_DRAW3DSCREEN
ifge searchwall 0, ifl searchwall MAXWALLS
{
qsprintf TQUOTE "y panning = %d" wall[searchwall].ypanning
printext256 TQUOTE 30 30 -15 0 0
}
endevent
*/
// convenience rebindings for notebooks:
// Alt-F11 --> SCROLL LOCK (set first position)
// Alt-arrows --> KP arrows (change pan/repeat in 3D mode)