diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-11 13:00:06 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-11 13:00:06 +0000 |
commit | 96e794be2d2dadfeb98244daaaea993c92a46eb5 (patch) | |
tree | 23b61f781c681567c927de43017d5085cbb9d230 /newgrf_station.h | |
parent | 64a237b192161878e9bab2f3f4da62ab0c8d81a3 (diff) | |
download | openttd-96e794be2d2dadfeb98244daaaea993c92a46eb5.tar.xz |
(svn r4356) - NewGRF: Load more newstation properties.
Diffstat (limited to 'newgrf_station.h')
-rw-r--r-- | newgrf_station.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/newgrf_station.h b/newgrf_station.h index 12515c5af..2463d2a26 100644 --- a/newgrf_station.h +++ b/newgrf_station.h @@ -27,12 +27,12 @@ typedef struct stationspec { * Bitmask of number of platforms available for the station. * 0..6 correpsond to 1..7, while bit 7 corresponds to >7 platforms. */ - byte allowed_platforms; + byte disallowed_platforms; /** * Bitmask of platform lengths available for the station. * 0..6 correpsond to 1..7, while bit 7 corresponds to >7 tiles long. */ - byte allowed_lengths; + byte disallowed_lengths; /** Number of tile layouts. * A minimum of 8 is required is required for stations. @@ -44,6 +44,21 @@ typedef struct stationspec { int tiles; DrawTileSprites *renderdata; ///< Array of tile layouts. + /** Cargo threshold for choosing between little and lots of cargo + * @note little/lots are equivalent to the moving/loading states for vehicles + */ + uint16 cargo_threshold; + + uint32 cargo_triggers; ///< Bitmask of cargo types which cause trigger re-randomizing + + byte callbackmask; ///< Bitmask of callbacks to use, @see newgrf_callbacks.h + + byte flags; ///< Bitmask of flags, bit 0: use different sprite set; bit 1: divide cargo about by station size + + byte pylons; ///< Bitmask of base tiles (0 - 7) which should contain elrail pylons + byte wires; ///< Bitmask of base tiles (0 - 7) which should contain elrail wires + byte blocked; ///< Bitmask of base tiles (0 - 7) which are blocked to trains + byte lengths; byte *platforms; StationLayout **layouts; |