(svn r27343) -Feature [FS#6315]: [NewGRF] Allow railtype NewGRF to define separate sprites for the fences on either track side.

This commit is contained in:
frosch
2015-07-26 12:28:34 +00:00
parent 730c2177bf
commit 13a726b18f
2 changed files with 109 additions and 82 deletions

View File

@@ -89,14 +89,22 @@ enum RailTrackBridgeOffset {
* the sprites in the original data files.
*/
enum RailFenceOffset {
RFO_FLAT_X,
RFO_FLAT_Y,
RFO_FLAT_VERT,
RFO_FLAT_HORZ,
RFO_SLOPE_SW,
RFO_SLOPE_SE,
RFO_SLOPE_NE,
RFO_SLOPE_NW,
RFO_FLAT_X_NW, //!< Slope FLAT, Track X, Fence NW
RFO_FLAT_Y_NE, //!< Slope FLAT, Track Y, Fence NE
RFO_FLAT_LEFT, //!< Slope FLAT, Track LEFT, Fence E
RFO_FLAT_UPPER, //!< Slope FLAT, Track UPPER, Fence S
RFO_SLOPE_SW_NW, //!< Slope SW, Track X, Fence NW
RFO_SLOPE_SE_NE, //!< Slope SE, Track Y, Fence NE
RFO_SLOPE_NE_NW, //!< Slope NE, Track X, Fence NW
RFO_SLOPE_NW_NE, //!< Slope NW, Track Y, Fence NE
RFO_FLAT_X_SE, //!< Slope FLAT, Track X, Fence SE
RFO_FLAT_Y_SW, //!< Slope FLAT, Track Y, Fence SW
RFO_FLAT_RIGHT, //!< Slope FLAT, Track RIGHT, Fence W
RFO_FLAT_LOWER, //!< Slope FLAT, Track LOWER, Fence N
RFO_SLOPE_SW_SE, //!< Slope SW, Track X, Fence SE
RFO_SLOPE_SE_SW, //!< Slope SE, Track Y, Fence SW
RFO_SLOPE_NE_SE, //!< Slope NE, Track X, Fence SE
RFO_SLOPE_NW_SW, //!< Slope NW, Track Y, Fence SW
};
/** List of rail type labels. */