mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2026-05-06 07:56:46 -04:00
Increase dropdown limit from 512 to 1024 (#26243)
This commit is contained in:
@@ -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)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user