diff options
| author | johannes <johannes.herman@gmail.com> | 2024-04-06 13:09:04 +0200 |
|---|---|---|
| committer | johannes <johannes.herman@gmail.com> | 2024-04-06 13:09:04 +0200 |
| commit | 8de23299d96c642ec39ec73d12322cc78865136c (patch) | |
| tree | c0daa8d95e97890f22d33c8ae6139ecd8a2e5149 /inc | |
| parent | 150790c84f1773cfc82b13953d7894cd25474a83 (diff) | |
implemented extract map
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 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 |
