Increase dropdown limit from 512 to 1024 (#26243)

This commit is contained in:
MarcelVos96
2026-03-24 17:26:42 +01:00
committed by GitHub
parent 683132ab20
commit b595cfb9a6
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@
- Fix: [#26159] The map generator window is not resized correctly in Enlarged UI mode.
- Fix: [#26196] The sprites of one angle of the Steeplechase left large turn are misaligned (original bug).
- Fix: [#26214] The wrong sprite is used for one angle of the gentle diagonal slope of Alpine, Hybrid and Single Rail tracks.
- Fix: [#26243] Increase max dropdown size from 512 to 1024 to accommodate parks with more than 512 rides.
0.4.32 (2026-03-01)
------------------------------------------------------------------------
+3 -1
View File
@@ -12,6 +12,7 @@
#include <array>
#include <functional>
#include <openrct2-ui/UiStringIds.h>
#include <openrct2/Limits.h>
#include <openrct2/core/EnumUtils.hpp>
#include <openrct2/core/StringTypes.h>
#include <openrct2/interface/Window.h>
@@ -31,7 +32,8 @@ namespace OpenRCT2::Dropdown
struct Item;
constexpr StringId kSeparatorString = 0;
constexpr int32_t kItemsMaxSize = 512;
constexpr int32_t kItemsMaxSize = 1024;
static_assert(kItemsMaxSize >= Limits::kMaxRidesInPark);
struct DropdownState;