Added version information to generated stratagus maps
This commit is contained in:
parent
fac628a1b4
commit
4324fb88f4
1 changed files with 2 additions and 2 deletions
|
@ -181,7 +181,7 @@ static int WriteMapPresentation(const std::string &mapname, CMap *map, char *)
|
|||
#endif
|
||||
f = CreateFileWriter(mapname);
|
||||
f->printf("-- Stratagus Map Presentation\n");
|
||||
f->printf("-- File generated by the stratagus builtin editor.\n");
|
||||
f->printf("-- File generated by the Stratagus V" VERSION " builtin map editor.\n");
|
||||
// MAPTODO Copyright notice in generated file
|
||||
f->printf("-- File licensed under the GNU GPL version 2.\n\n");
|
||||
|
||||
|
@ -237,7 +237,7 @@ int WriteMapSetup(const char *mapSetup, CMap *map, int writeTerrain)
|
|||
f = CreateFileWriter(mapSetup);
|
||||
|
||||
f->printf("-- Stratagus Map Setup\n");
|
||||
f->printf("-- File generated by the stratagus builtin editor.\n");
|
||||
f->printf("-- File generated by the Stratagus V" VERSION " builtin map editor.\n");
|
||||
// MAPTODO Copyright notice in generated file
|
||||
f->printf("-- File licensed under the GNU GPL version 2.\n\n");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue