From 4721f53cb21dfa18dc787581fac0d2a25f0a9690 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 20 Jul 2022 18:12:00 +0100 Subject: Split custom demo data into its own file/feature Copyright note: the stuff Bill wrote is all still in the other file. --- src/demorec.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/demorec.h') 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 +/* 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 -- cgit v1.2.3