namegen.h
author rubidium
Mon, 19 Mar 2007 20:38:26 +0000
branch0.5
changeset 5468 10836820b2bc
parent 4919 8ac0256c6009
permissions -rw-r--r--
(svn r9351) [0.5] -Backport from trunk (r9147, r9205, r9251, r9298):
- Fix: when loadin games, enroute_from was updated in the wrong place, causing issues with TTD savegames/scenarios (r9147)
- Fix: when you started openttd with '-g' you got the same map every run (r9205)
- Fix: use a less CPU-intensive algorithm to find a random industry for the AI to prevent it slowing down the game (r9251)
- Fix: A34-1000, Z-Shuttle, and Kelling K1 are now listed as small aircraft (r9298)
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 1307
diff changeset
     2
1306
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     3
#ifndef NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     4
#define NAMEGEN_H
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     5
4919
8ac0256c6009 (svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators.
peter1138
parents: 2436
diff changeset
     6
typedef byte TownNameGenerator(char *buf, uint32 seed, const char *last);
1306
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
extern TownNameGenerator * const _town_name_generators[];
40038dfdf3ba (svn r1810) Move town name generation declarations into a header of their own
tron
parents:
diff changeset
     9
2436
177cb6a8339f (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 */