diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 19:14:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 19:14:12 +0000 |
commit | 1a515e6344028854c855671c19f49d8f869eb18f (patch) | |
tree | e1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/townname.cpp | |
parent | b27dd1dcd7375dae63724879eb0f56dd703e5312 (diff) | |
download | openttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz |
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/townname.cpp')
-rw-r--r-- | src/townname.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/townname.cpp b/src/townname.cpp index 042ede98d..ef6cd2603 100644 --- a/src/townname.cpp +++ b/src/townname.cpp @@ -989,6 +989,13 @@ static char *MakeCatalanTownName(char *buf, const char *last, uint32 seed) } +/** + * Type for all town name generator functions. + * @param buf The buffer to write the name to. + * @param last The last element of the buffer. + * @param seed The seed of the town name. + * @return The end of the filled buffer. + */ typedef char *TownNameGenerator(char *buf, const char *last, uint32 seed); /** Contains pointer to generator and minimum buffer size (not incl. terminating '\0') */ |