namegen.h
author tron
Sat, 02 Apr 2005 18:33:53 +0000
changeset 1627 f365c96e74a4
parent 1307 74a20969a884
child 2186 db48cf29b983
permissions -rw-r--r--
(svn r2131) -Fix: Rewrite CmdBuildSingleRail(), this addresses several issues:
- Check input parameters for validity
- Adhere patch settings - you were able to build foundations under bridges even if foundations where deactivated
- Charge for foundations in all cases - foundations under bridges were for free
- Make the control flow more clear
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