From 6bafc7d176bfeeb1574c1aeca250708a0c67ecf4 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 8 Jul 2012 21:49:31 +0000 Subject: [PATCH] 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 --- polymer/eduke32/samples/a.m32 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/polymer/eduke32/samples/a.m32 b/polymer/eduke32/samples/a.m32 index 9053984a7..5803cffa5 100644 --- a/polymer/eduke32/samples/a.m32 +++ b/polymer/eduke32/samples/a.m32 @@ -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)