(svn r3004) -Feature, NewGRF: Support loading of bridge attributes and tables from GRF. Currently drawing tall pillars uses old data.

This commit is contained in:
2005-10-01 17:38:48 +00:00
parent 0cc45ecd8e
commit adc5c1230f
3 changed files with 125 additions and 18 deletions

View File

@@ -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 */