From cb4a7637943d407187184b28d602b750c9547fa5 Mon Sep 17 00:00:00 2001 From: johannes Date: Sat, 10 Feb 2024 20:08:33 +0100 Subject: finalized changemap --- inc/commands.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc') diff --git a/inc/commands.h b/inc/commands.h index 53d17f7..654d8b7 100644 --- a/inc/commands.h +++ b/inc/commands.h @@ -9,6 +9,9 @@ int setnamebyname(char *oldname, char *newname, demo *demo); int setskinbyid(int id, char *skin, demo *demo); int setskinbyname(char *name, char *skin, demo *demo); +/* Changes demos map to given map */ +/* Changes demo version to 5 if it is 6 */ +/* Will fail if mapname >= 31, or map is not a teeworlds datafile */ int changemap(FILE *map, char *mapname, demo *demo); #endif // COMMANDS_H -- cgit v1.2.3