summaryrefslogtreecommitdiff
path: root/inc/commands.h
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2024-04-06 13:09:04 +0200
committerjohannes <johannes.herman@gmail.com>2024-04-06 13:09:04 +0200
commit8de23299d96c642ec39ec73d12322cc78865136c (patch)
treec0daa8d95e97890f22d33c8ae6139ecd8a2e5149 /inc/commands.h
parent150790c84f1773cfc82b13953d7894cd25474a83 (diff)
implemented extract map
Diffstat (limited to 'inc/commands.h')
-rw-r--r--inc/commands.h3
1 files changed, 3 insertions, 0 deletions
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