summaryrefslogtreecommitdiff
path: root/src/sars.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-14 00:25:32 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-14 00:25:32 -0700
commit3e6bcb386cc9df28990b9cd570f6df7617e91f91 (patch)
tree0f5c01f4a98727b0adb9b733c8ff631117e473df /src/sars.h
parent723dc1a9bd275bb314a5e2d2673ed0ea84fee330 (diff)
sars,hungrycat: add --wait flag
This tells sars to just wait indefinitely until an ESC is pressed pre-fadein during the opening hungrycat context. The --delay [seconds] flag was added to facilitate screen captures, but it's actually rather annoying to use. This way the sars window will just sit there ignoring any spurious events waiting for an ESC to proceed onto DELAY->FADEIN... Probably not useful but technically this composes with --delay as well, such that if you have --delay and --wait specified, once you hit ESC to leave the WAIT state, the delay will then begin.
Diffstat (limited to 'src/sars.h')
-rw-r--r--src/sars.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sars.h b/src/sars.h
index b83ffb5..5156112 100644
--- a/src/sars.h
+++ b/src/sars.h
@@ -44,6 +44,7 @@ typedef struct sars_t {
unsigned window_width, window_height;
sars_winmode_t winmode;
unsigned cheat:1;
+ unsigned wait:1;
unsigned delay_seconds;
m4f_t projection_x;
© All Rights Reserved