From 69c118a2cb4f9840dee9952cab018f3d9d5fd415 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 3 Jun 2023 11:07:13 +0100 Subject: [PATCH] Documentation: Update info on road stop and object extended byte format --- docs/newgrf-additions.html | 4 +++- docs/newgrf-roadstops.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/newgrf-additions.html b/docs/newgrf-additions.html index 320b5c2119..10afa2e705 100644 --- a/docs/newgrf-additions.html +++ b/docs/newgrf-additions.html @@ -993,8 +993,10 @@

Action 3 - Objects

-

If feature name more_objects_per_grf is present and the feature is successfully tested for, the Action 3 ID field is an extended byte, and GRFs may define more than 255 object types.
+

Before JGRPP 0.54 and vanilla OpenTTD 14.0, if feature name more_objects_per_grf is present and the feature is successfully tested for, the Action 3 ID field is an extended byte, and GRFs may define more than 255 object types.
Otherwise, only 255 object types may be defined per GRF, and the extended byte format may not be used.

+

From JGRPP 0.54 and vanilla OpenTTD 14.0, the extended byte format may always be used.

+

NewGRFs may check whether either the more_objects_per_grf feature is present, or if the NewGRF version indicates OpenTTD 14.0 or later.



Action 3 - Signals (Feature 0E)

diff --git a/docs/newgrf-roadstops.html b/docs/newgrf-roadstops.html index 02d8c4566d..872651a513 100644 --- a/docs/newgrf-roadstops.html +++ b/docs/newgrf-roadstops.html @@ -479,6 +479,7 @@

In feature name road_stops version 7 and later, the Action 3 ID field is an extended byte; GRFs may define more than 255 road stop types.
In versions 1 to 6 (inclusive), only 255 road stop types may be defined per GRF, and the extended byte format may not be used.

+

In vanilla OpenTTD 14.0 and later, the extended byte format may always be used.


Erata