(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)

This commit is contained in:
smatz
2009-09-22 13:54:54 +00:00
parent 499b6df23b
commit ad2c641bca
12 changed files with 281 additions and 132 deletions

View File

@@ -9,9 +9,13 @@
/** @file townname_func.h Town name generator stuff. */
#ifndef NAMEGEN_FUNC_H
#define NAMEGEN_FUNC_H
#ifndef TOWNNAME_FUNC_H
#define TOWNNAME_FUNC_H
char *GenerateTownNameString(char *buf, const char *last, size_t lang, uint32 seed);
char *GetTownName(char *buff, const struct TownNameParams *par, uint32 townnameparts, const char *last);
char *GetTownName(char *buff, const struct Town *t, const char *last);
bool VerifyTownName(uint32 r, const struct TownNameParams *par);
bool GenerateTownName(uint32 *townnameparts);
#endif /* NAMEGEN_FUNC_H */
#endif /* TOWNNAME_FUNC_H */