From 9a853e73eff07b687508f14e80608c8b1c0909f3 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 5 Dec 2023 23:57:19 +0000 Subject: Add fast-forward gaps for checking item spawns This complicates things greatly! Therefore, it's a separate commit to the baseline fast-forward functionality, to keep the confusing stuff relatively contained. --- src/fastfwd.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/fastfwd.h') diff --git a/src/fastfwd.h b/src/fastfwd.h index b24cfef..7102268 100644 --- a/src/fastfwd.h +++ b/src/fastfwd.h @@ -24,6 +24,13 @@ */ void fastfwd(float seconds, float timescale); +/* + * Extends the length of an ongoing fast-forward (or otherwise does the same as + * fastfwd() above). Overrides the existing timescale speed, for lack of better + * idea of what to do. + */ +void fastfwd_add(float seconds, float timescale); + #endif // vi: sw=4 ts=4 noet tw=80 cc=80 -- cgit v1.2.3