diff options
author | peter1138 <peter1138@openttd.org> | 2005-10-01 17:38:48 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-10-01 17:38:48 +0000 |
commit | adc5c1230fa62ff4ae3f6a2a2f13c5eb4908209d (patch) | |
tree | 5ad5ec4ad11a7d9c1ad81b43fe378e6f3be0276d /bridge.h | |
parent | 0cc45ecd8edb44a860470cd906f89ccb3fcd6203 (diff) | |
download | openttd-adc5c1230fa62ff4ae3f6a2a2f13c5eb4908209d.tar.xz |
(svn r3004) -Feature, NewGRF: Support loading of bridge attributes and tables from GRF. Currently drawing tall pillars uses old data.
Diffstat (limited to 'bridge.h')
-rw-r--r-- | bridge.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |