summaryrefslogtreecommitdiffhomepage
path: root/src/demorec.h
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-07-20 18:12:00 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-07-23 19:07:03 +0100
commit4721f53cb21dfa18dc787581fac0d2a25f0a9690 (patch)
tree1a79f1c5da25be0832ca986c97fb6455299ffffd /src/demorec.h
parentb53b780e1b14e174204457765b4a0a72b6d2924f (diff)
Split custom demo data into its own file/feature
Copyright note: the stuff Bill wrote is all still in the other file.
Diffstat (limited to 'src/demorec.h')
-rw-r--r--src/demorec.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/demorec.h b/src/demorec.h
index a18bea4..7306c0a 100644
--- a/src/demorec.h
+++ b/src/demorec.h
@@ -20,20 +20,12 @@
#include <stdbool.h>
+/* For internal use by democustom */
+extern void *demorecorder;
+
bool demorec_init(void);
void demorec_end(void);
-bool demorec_custom_init(void);
-
-/* maximum length of a custom demo message, in bytes */
-#define DEMOREC_CUSTOM_MSG_MAX 253
-
-/*
- * Write a block of up to DEMOWRITER_MSG_MAX bytes into the currently recording
- * demo - NOT bounds checked, caller MUST ensure length is okay!
- */
-void demorec_writecustom(void *buf, int len);
-
#endif
// vi: sw=4 ts=4 noet tw=80 cc=80