summaryrefslogtreecommitdiffhomepage
path: root/src/fastfwd.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-12-05 23:57:19 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2023-12-05 23:57:19 +0000
commit9a853e73eff07b687508f14e80608c8b1c0909f3 (patch)
tree2f3e7723afd304b014f28d7390ad0c5944afa547 /src/fastfwd.h
parent006279ab18968fc4e4e4314cc2687d59d5a236b0 (diff)
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.
Diffstat (limited to 'src/fastfwd.h')
-rw-r--r--src/fastfwd.h7
1 files changed, 7 insertions, 0 deletions
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