namegen.h
author tron
Tue, 18 Oct 2005 07:01:00 +0000
changeset 2529 429ac415da43
parent 2436 7d5df545bd5d
child 4919 9a5b9becf31e
permissions -rw-r--r--
(svn r3058) The default AI may not build dual headed trains under certain circumstances.
Simplify this check by testing the rail vehicle info flags instead of passing a global variable around.
Note: This is not exactly the original behaviour, because the Lev4 was always allowed to be built, but i guess that was a glitch.
/* $Id$ */

#ifndef NAMEGEN_H
#define NAMEGEN_H

typedef byte TownNameGenerator(char *buf, uint32 seed);

extern TownNameGenerator * const _town_name_generators[];

#endif /* NAMEGEN_H */