tron@2268: /* $Id$ */ celestar@2262: celestar@2262: /** @file bridge.h Header file for bridges */ celestar@2262: celestar@2262: #ifndef BRIDGE_H celestar@2262: #define BRIDGE_H celestar@2262: celestar@2262: /** Struct containing information about a single bridge type celestar@2262: */ celestar@2262: typedef struct Bridge { celestar@2262: byte avail_year; ///< the year in which the bridge becomes available celestar@2262: byte min_length; ///< the minimum length of the bridge (not counting start and end tile) celestar@2262: byte max_length; ///< the maximum length of the bridge (not counting start and end tile) celestar@2262: uint16 price; ///< the relative price of the bridge celestar@2262: uint16 speed; ///< maximum travel speed celestar@2262: PalSpriteID sprite; ///< the sprite which is used in the GUI (possibly with a recolor sprite) celestar@2262: StringID material; ///< the string that contains the bridge description celestar@2262: } Bridge; celestar@2262: celestar@2262: extern const Bridge _bridge[MAX_BRIDGES]; celestar@2262: celestar@2262: #endif /* BRIDGE_H */