(svn r1531) -Feature: [1039061] Swiss town-names (vulvulune)

This commit is contained in:
darkvater
2005-01-15 21:41:49 +00:00
parent 971d844266
commit 6e07bad728
7 changed files with 141 additions and 2 deletions

View File

@@ -386,6 +386,12 @@ static byte MakeHungarianTownName(byte *buf, uint32 seed)
return 0;
}
static byte MakeSwissTownName(byte *buf, uint32 seed)
{
strcpy(buf, name_swiss_real[SeedChance(0, lengthof(name_swiss_real), seed)]);
return 0;
}
TownNameGenerator * const _town_name_generators[] =
{
MakeEnglishOriginalTownName,
@@ -404,6 +410,7 @@ TownNameGenerator * const _town_name_generators[] =
MakeAustrianTownName,
MakeRomanianTownName,
MakeCzechTownName,
MakeSwissTownName,
};
// DO WE NEED THIS ANY MORE?