namegen.h
author pasky
Sat, 05 Mar 2005 13:49:43 +0000
changeset 1421 0532cbf429f1
parent 1307 74a20969a884
child 2186 db48cf29b983
permissions -rw-r--r--
(svn r1925) Fixed an infinite loop if the town generator runs out of town names. The number of generated towns is then limited by the number of available names.
1306
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     1
#ifndef NAMEGEN_H
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     2
#define NAMEGEN_H
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
1307
74a20969a884 (svn r1811) Use char for string handling in namegen.[ch]
tron
parents: 1306
diff changeset
     4
typedef byte TownNameGenerator(char *buf, uint32 seed);
1306
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     6
extern TownNameGenerator * const _town_name_generators[];
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     7
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     8
#endif