src/namegen.h
author peter1138
Sat, 10 Mar 2007 09:23:33 +0000
changeset 6606 2e867a1c6b7f
parent 5726 8f399788f6c9
child 6303 84c215fc8eb8
permissions -rw-r--r--
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
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
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
#ifndef NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     4
#define NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
4919
8ac0256c6009 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators.
peter1138
parents: 2436
diff changeset
     6
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
     7
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     8
extern TownNameGenerator * const _town_name_generators[];
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     9
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
    10
#endif /* NAMEGEN_H */