namegen.h
author hackykid
Mon, 06 Jun 2005 14:26:15 +0000
changeset 1917 03e113481a62
parent 1307 74a20969a884
child 2186 db48cf29b983
permissions -rw-r--r--
(svn r2423) - CodeChange: Include first_engine in the train cache, instead of calculating it all over the place.
- Fix: Also recalculate the train cache values for 'wagon chains' (in the depot without an engine), to avoid possible desyncs later.
- Fix: Make CmdMoveRailVehicle update the caches of the correct trains in all cases.
#ifndef NAMEGEN_H
#define NAMEGEN_H

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

extern TownNameGenerator * const _town_name_generators[];

#endif