Added version information to generated stratagus maps

This commit is contained in:
Pali Rohár 2010-11-13 14:39:16 +01:00
parent fac628a1b4
commit 4324fb88f4

View file

@ -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");