src/newgrf_townname.h
changeset 9111 48ce04029fe4
parent 8264 b1e85998c7d3
equal deleted inserted replaced
9110:9c48301b2e19 9111:48ce04029fe4
     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