diff options
| author | johannes <johannes.herman@gmail.com> | 2024-02-10 20:08:33 +0100 |
|---|---|---|
| committer | johannes <johannes.herman@gmail.com> | 2024-02-10 20:08:33 +0100 |
| commit | cb4a7637943d407187184b28d602b750c9547fa5 (patch) | |
| tree | 2c08a8f0220fe03397baccec909eeda41033c2c9 /inc | |
| parent | ed4d43d281e92b28bbed5c730440b428fe0b171e (diff) | |
finalized changemap
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/commands.h | 3 |
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 |
