waypoint.h
changeset 3346 96c5db77aa83
parent 3239 45396b9950aa
child 3347 d5d8ace1bb13
equal deleted inserted replaced
3345:40dc834caa24 3346:96c5db77aa83
     8 
     8 
     9 struct Waypoint {
     9 struct Waypoint {
    10 	TileIndex xy;      ///< Tile of waypoint
    10 	TileIndex xy;      ///< Tile of waypoint
    11 	uint16 index;      ///< Index of waypoint
    11 	uint16 index;      ///< Index of waypoint
    12 
    12 
    13 	uint16 town_index; ///< Town associated with the waypoint
    13 	TownID town_index; ///< Town associated with the waypoint
    14 	byte town_cn;      ///< The Nth waypoint for this town (consecutive number)
    14 	byte town_cn;      ///< The Nth waypoint for this town (consecutive number)
    15 	StringID string;   ///< If this is zero (i.e. no custom name), town + town_cn is used for naming
    15 	StringID string;   ///< If this is zero (i.e. no custom name), town + town_cn is used for naming
    16 
    16 
    17 	ViewportSign sign; ///< Dimensions of sign (not saved)
    17 	ViewportSign sign; ///< Dimensions of sign (not saved)
    18 	uint16 build_date; ///< Date of construction
    18 	uint16 build_date; ///< Date of construction