From 8de23299d96c642ec39ec73d12322cc78865136c Mon Sep 17 00:00:00 2001 From: johannes Date: Sat, 6 Apr 2024 13:09:04 +0200 Subject: implemented extract map --- inc/commands.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/commands.h') diff --git a/inc/commands.h b/inc/commands.h index 9761151..b48b28c 100644 --- a/inc/commands.h +++ b/inc/commands.h @@ -23,6 +23,9 @@ int setskinbyname(char *name, char *skin, demo *demo); /* Will fail if mapname >= 31, or map is not a teeworlds datafile */ int changemap(FILE *map, char *mapname, demo *demo); +/* Writes the map in demo to out */ +int exportmap(FILE *out, demo *demo); + void runcommand(cmdinput *cmd, demo *demo); #endif // COMMANDS_H -- cgit v1.2.3