From cef13b79c6c7c186425ccaab71734803531b9978 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 19 Nov 2018 19:51:35 +0000 Subject: [PATCH] Documentation: Fill in documentation for bridge menu icons and station min bridge height --- docs/newgrf-additions.html | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/docs/newgrf-additions.html b/docs/newgrf-additions.html index 0bbe06d22f..fdb00c0fcf 100644 --- a/docs/newgrf-additions.html +++ b/docs/newgrf-additions.html @@ -141,8 +141,13 @@ -1 * -1 00 04 01 01 10 F8 02 AB CD
+

Action 0 - Stations

Minimum bridge height (1B, or mappable property: station_min_bridge_height)

+

This property allows building bridges over stations.
+ The bridge height property defines minimum clearances required for a bridge for each of the 8 station layouts (or 0 to not allow any bridge). Values are given in height level units (1 level == 8px).
+ Each height value is 1 byte, the total property length is 8 bytes. +

This is indicated by the feature name: action0_station_prop1B, version 1

Disallowed bridge pillars (mappable property: station_disallowed_bridge_pillars)

This property describes which bridge pillars are not allowed on the station tile.
@@ -151,8 +156,33 @@ Each set of flags has the format described in the bridge_pillar_flags property section, below.

This is indicated by the feature name: action0_station_disallowed_bridge_pillars, version 1

+ +
+ The 8 station layouts are described below. + + + + + + + + + + +
Station layoutAxisDefault Appearance
0Xplain platform
1Yplain platform
2Xplatform with building
3Yplatform with building
4Xplatform with roof, left side
5Yplatform with roof, left side
6Xplatform with roof, right side
7Yplatform with roof, right side
+
+

Action 0 - Bridges

Menu icons (14, or mappable property: bridge_menu_icon)

+

This property sets the GUI menu icon for bridge type, this is displayed when constructing a bridge
+ This has the format: + + + + +
SizeFieldDescription
WSpriteSprite ID
WRecolourRecolour sprite/value
+ The total property length is 4 bytes. +

This is indicated by the feature name: action0_bridge_prop14, version 1

Bridge pillars (mappable property: bridge_pillar_flags)

This property describes the pillars present for each bridge sprite table.