bridge.h
changeset 4293 4b7006c1b5eb
parent 3977 513433ebd092
child 5385 3868f2e6db9b
equal deleted inserted replaced
4292:26d8405bb931 4293:4b7006c1b5eb
    10 };
    10 };
    11 
    11 
    12 /** Struct containing information about a single bridge type
    12 /** Struct containing information about a single bridge type
    13  */
    13  */
    14 typedef struct Bridge {
    14 typedef struct Bridge {
    15 	byte avail_year;     ///< the year in which the bridge becomes available
    15 	Year avail_year;     ///< the year in which the bridge becomes available
    16 	byte min_length;     ///< the minimum length of the bridge (not counting start and end tile)
    16 	byte min_length;     ///< the minimum length of the bridge (not counting start and end tile)
    17 	byte max_length;     ///< the maximum length of the bridge (not counting start and end tile)
    17 	byte max_length;     ///< the maximum length of the bridge (not counting start and end tile)
    18 	uint16 price;        ///< the relative price of the bridge
    18 	uint16 price;        ///< the relative price of the bridge
    19 	uint16 speed;        ///< maximum travel speed
    19 	uint16 speed;        ///< maximum travel speed
    20 	PalSpriteID sprite;  ///< the sprite which is used in the GUI (possibly with a recolor sprite)
    20 	PalSpriteID sprite;  ///< the sprite which is used in the GUI (possibly with a recolor sprite)