namegen.h
author matthijs
Mon, 02 May 2005 23:59:11 +0000
changeset 1752 cdbfb2f23e72
parent 1307 e009b42d00b4
child 2186 461a2aff3486
permissions -rw-r--r--
(svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
- Add: GetVehicleTrackdir() helper function.
- Codechange: Moved SortStruct from vehicle_gui.h to ttd.h, so the dependency from vehicle.h on vehicle_gui.h could be removed.
- Codechange: Typedeffed the VehicleTypes struct so it can be used as the type for Vehicle.type instead of "byte".
- Codechange: Removed prototype for VehicleSorter(), which had no implementation anymore and was never called.
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     1
#ifndef NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     2
#define NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
1307
e009b42d00b4 (svn r1811) Use char for string handling in namegen.[ch]
tron
parents: 1306
diff changeset
     4
typedef byte TownNameGenerator(char *buf, uint32 seed);
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     6
extern TownNameGenerator * const _town_name_generators[];
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
#endif