namegen.h
author peter1138
Mon, 16 Oct 2006 10:29:29 +0000
changeset 4863 c178519a8627
parent 2436 7d5df545bd5d
child 4919 9a5b9becf31e
permissions -rw-r--r--
(svn r6789) - Codechange: Tidy up VehicleNameSorter() to use no global vars, and match the style of EngineNameSorter(). This also removes a bug where _internal_name_sorter_id was never set properly for anything other than trains.
2186
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     1
/* $Id$ */
db48cf29b983 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     2
1306
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
#ifndef NAMEGEN_H
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     4
#define NAMEGEN_H
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
1307
74a20969a884 (svn r1811) Use char for string handling in namegen.[ch]
tron
parents: 1306
diff changeset
     6
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
     7
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     8
extern TownNameGenerator * const _town_name_generators[];
7768d8361d88 (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     9
2436
7d5df545bd5d (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents: 2186
diff changeset
    10
#endif /* NAMEGEN_H */