src/waypoint.h
changeset 8579 db463f9c0256
parent 8258 9fa31acb07bc
child 8769 b554c4996eb1
equal deleted inserted replaced
8578:80b5c7d84399 8579:db463f9c0256
    14 
    14 
    15 struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
    15 struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
    16 	TileIndex xy;      ///< Tile of waypoint
    16 	TileIndex xy;      ///< Tile of waypoint
    17 
    17 
    18 	TownID town_index; ///< Town associated with the waypoint
    18 	TownID town_index; ///< Town associated with the waypoint
    19 	byte town_cn;      ///< The Nth waypoint for this town (consecutive number)
    19 	uint16 town_cn;    ///< The Nth waypoint for this town (consecutive number)
    20 	StringID string;   ///< C000-C03F have special meaning in old games
    20 	StringID string;   ///< C000-C03F have special meaning in old games
    21 	char *name;        ///< Custom name. If not set, town + town_cn is used for naming
    21 	char *name;        ///< Custom name. If not set, town + town_cn is used for naming
    22 
    22 
    23 	ViewportSign sign; ///< Dimensions of sign (not saved)
    23 	ViewportSign sign; ///< Dimensions of sign (not saved)
    24 	Date build_date;   ///< Date of construction
    24 	Date build_date;   ///< Date of construction