From adc5c1230fa62ff4ae3f6a2a2f13c5eb4908209d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 1 Oct 2005 17:38:48 +0000 Subject: (svn r3004) -Feature, NewGRF: Support loading of bridge attributes and tables from GRF. Currently drawing tall pillars uses old data. --- bridge.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bridge.h') diff --git a/bridge.h b/bridge.h index 6b16dac18..c3a2f4c57 100644 --- a/bridge.h +++ b/bridge.h @@ -15,8 +15,11 @@ typedef struct Bridge { uint16 speed; ///< maximum travel speed PalSpriteID sprite; ///< the sprite which is used in the GUI (possibly with a recolor sprite) StringID material; ///< the string that contains the bridge description + PalSpriteID **sprite_table; ///< table of sprites for drawing the bridge + byte flags; ///< bit 0 set: disable drawing of far pillars. } Bridge; -extern const Bridge _bridge[MAX_BRIDGES]; +extern const Bridge orig_bridge[MAX_BRIDGES]; +Bridge _bridge[MAX_BRIDGES]; #endif /* BRIDGE_H */ -- cgit v1.2.3-70-g09d2