src/namegen.h
author peter1138
Tue, 29 Jan 2008 17:09:00 +0000
changeset 8941 f93c669d3ca6
parent 8844 b4f9ff470b85
permissions -rw-r--r--
(svn r12015) -Fix [FS#1716] (Revert r11422): Patch in FS#1430 avoided instead of fixed the problem. GetStringWithArgs() discards information that SCC_GENDER_LIST needs to work. Now use pointers to retrieve GRF strings, so that GetStringPtr() will work correctly. This is advantageous as now no buffer copy is made when using all GRF strings.
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     2
8844
b4f9ff470b85 (svn r11914) -Documentation: fix some @file statement
glx
parents: 6913
diff changeset
     3
/** @file namegen.h Town name generator stuff. */
6674
64f4781b4653 (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.
belugas
parents: 5726
diff changeset
     4
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
#ifndef NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     6
#define NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     7
4919
8ac0256c6009 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators.
peter1138
parents: 2436
diff changeset
     8
typedef byte TownNameGenerator(char *buf, uint32 seed, const char *last);
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     9
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
    10
extern TownNameGenerator * const _town_name_generators[];
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
    11
2436
177cb6a8339f (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents: 2186
diff changeset
    12
#endif /* NAMEGEN_H */