From 13f93ee678df19c8a1b3aac31af1ba839ec526d6 Mon Sep 17 00:00:00 2001
From: Jonathan G Rennison This document describes the non-standard addition of the NewGRF road stops feature to the Official OpenTTD NML Specifications, as implemented in this patchpack, and the associated NML fork
This feature does not match OpenTTD PR #7955 in a number of key areas, this feature may not necessarily match implementations of NewGRF road stops in other patches, branches, etc.
This feature as implemented here MAY also be present in other patchpacks. The feature identifier is FEAT_ROADSTOPS. See the NewGRF additions (NML) document for background information on additions to NML. See the associated non-NML document for more details on the NewGRF road stops feature.
+
+grf { + ... +} + +if (!extended_feature_test("road_stops")) { + error(FATAL, string(STR_UNSUPPORTED_VERSION)); +} + + +spritelayout spritelayout_roadstop { + ground { + ... + } + building { + ... + } +} + +switch (FEAT_ROADSTOPS, SELF, switch_roadstop, ...) { + ... +} + +item (FEAT_ROADSTOPS, item_roadstop) { + property { + class: "TEST"; + availability_type: RST_AVAILABILITY_TYPE_PASSENGER; + name: string(STR_ROADSTOP_NAME); + classname: string(STR_ROADSTOP_TEST_CLASS_NAME); + } + graphics { + default: switch_roadstop; + } +} ++