summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/commands.h3
1 files changed, 3 insertions, 0 deletions
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