(svn r26313) -Codechange: use a set for finding unique town names instead of iterating all just created town names (MJP)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
char *GenerateTownNameString(char *buf, const char *last, size_t lang, uint32 seed);
|
||||
char *GetTownName(char *buff, const TownNameParams *par, uint32 townnameparts, const char *last);
|
||||
char *GetTownName(char *buff, const Town *t, const char *last);
|
||||
bool VerifyTownName(uint32 r, const TownNameParams *par);
|
||||
bool GenerateTownName(uint32 *townnameparts);
|
||||
bool VerifyTownName(uint32 r, const TownNameParams *par, TownNames *town_names = NULL);
|
||||
bool GenerateTownName(uint32 *townnameparts, TownNames *town_names = NULL);
|
||||
|
||||
#endif /* TOWNNAME_FUNC_H */
|
||||
|
Reference in New Issue
Block a user