equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
|
2 |
|
3 /** @file newgrf_townname.h |
|
4 * Header of Action 0F "universal holder" structure and functions |
|
5 */ |
|
6 |
2 #ifndef NEWGRF_TOWNNAME_H |
7 #ifndef NEWGRF_TOWNNAME_H |
3 #define NEWGRF_TOWNNAME_H |
8 #define NEWGRF_TOWNNAME_H |
4 |
9 |
5 #include "strings_type.h" |
10 #include "strings_type.h" |
6 |
|
7 /** @file newgrf_townname.h |
|
8 * Header of Action 0F "universal holder" structure and functions |
|
9 */ |
|
10 |
11 |
11 struct NamePart { |
12 struct NamePart { |
12 byte prob; ///< The relative probablity of the following name to appear in the bottom 7 bits. |
13 byte prob; ///< The relative probablity of the following name to appear in the bottom 7 bits. |
13 union { |
14 union { |
14 char *text; ///< If probability bit 7 is clear |
15 char *text; ///< If probability bit 7 is clear |