1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00
Files
OpenRCT2/src/openrct2/object/ObjectLimits.h
James103 1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00

36 lines
1.5 KiB
C++

/*****************************************************************************
* Copyright (c) 2014-2024 OpenRCT2 developers
*
* For a complete list of all authors, please refer to contributors.md
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
*
* OpenRCT2 is licensed under the GNU General Public License version 3.
*****************************************************************************/
#pragma once
#include <cstdint>
// Maximums based on number of values that can be represented in bit group.
// Subtract 1 to reserve the NULL entry identifier.
constexpr uint16_t MAX_RIDE_OBJECTS = 2047;
constexpr uint16_t MAX_SMALL_SCENERY_OBJECTS = 2047;
constexpr uint16_t MAX_LARGE_SCENERY_OBJECTS = 2047;
constexpr uint16_t MAX_WALL_SCENERY_OBJECTS = 2047;
constexpr uint16_t MAX_BANNER_OBJECTS = 255;
constexpr uint16_t MAX_PATH_OBJECTS = 255;
constexpr uint16_t MAX_PATH_ADDITION_OBJECTS = 255;
constexpr uint16_t MAX_SCENERY_GROUP_OBJECTS = 255;
constexpr uint16_t MAX_PARK_ENTRANCE_OBJECTS = 1;
constexpr uint16_t MAX_WATER_OBJECTS = 1;
constexpr uint16_t MAX_SCENARIO_TEXT_OBJECTS = 0;
constexpr uint16_t MAX_TERRAIN_SURFACE_OBJECTS = 255;
constexpr uint16_t MAX_TERRAIN_EDGE_OBJECTS = 255;
constexpr uint16_t MAX_STATION_OBJECTS = 255;
constexpr uint16_t MAX_MUSIC_OBJECTS = 255;
constexpr uint16_t MAX_FOOTPATH_SURFACE_OBJECTS = 255;
constexpr uint16_t MAX_FOOTPATH_RAILINGS_OBJECTS = 255;
constexpr uint16_t MAX_AUDIO_OBJECTS = 255;
constexpr uint8_t DAT_NAME_LENGTH = 8;