From 7a8661500738711dce2ae57359371921f58e1903 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 17 Apr 2023 22:35:58 +0100 Subject: [PATCH] Feature: Remove limit of objects per NewGRF. --- src/object_type.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/object_type.h b/src/object_type.h index 52aedc6540..a14c8f57f3 100644 --- a/src/object_type.h +++ b/src/object_type.h @@ -19,10 +19,9 @@ static const ObjectType OBJECT_STATUE = 2; ///< Statue in towns static const ObjectType OBJECT_OWNED_LAND = 3; ///< Owned land 'flag' static const ObjectType OBJECT_HQ = 4; ///< HeadQuarter of a player -static const ObjectType NUM_OBJECTS_PER_GRF = 255; ///< Number of supported objects per NewGRF; limited to 255 to allow extending Action3 with an extended byte later on. - static const ObjectType NEW_OBJECT_OFFSET = 5; ///< Offset for new objects static const ObjectType NUM_OBJECTS = 64000; ///< Number of supported objects overall +static const ObjectType NUM_OBJECTS_PER_GRF = NUM_OBJECTS; ///< Number of supported objects per NewGRF static const ObjectType INVALID_OBJECT_TYPE = 0xFFFF; ///< An invalid object /** Unique identifier for an object. */