mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Use const and constexpr whenever possible.
This commit is contained in:
committed by
Michał Janiszewski
parent
81398d9225
commit
84f2917f59
@@ -36,14 +36,14 @@ enum {
|
||||
WINDOW_EDITOR_OBJECTIVE_OPTIONS_PAGE_COUNT
|
||||
};
|
||||
|
||||
static const rct_string_id ClimateNames[] = {
|
||||
static constexpr const rct_string_id ClimateNames[] = {
|
||||
STR_CLIMATE_COOL_AND_WET,
|
||||
STR_CLIMATE_WARM,
|
||||
STR_CLIMATE_HOT_AND_DRY,
|
||||
STR_CLIMATE_COLD,
|
||||
};
|
||||
|
||||
static const rct_string_id ObjectiveDropdownOptionNames[] = {
|
||||
static constexpr const rct_string_id ObjectiveDropdownOptionNames[] = {
|
||||
STR_OBJECTIVE_DROPDOWN_NONE,
|
||||
STR_OBJECTIVE_DROPDOWN_NUMBER_OF_GUESTS_AT_A_GIVEN_DATE,
|
||||
STR_OBJECTIVE_DROPDOWN_PARK_VALUE_AT_A_GIVEN_DATE,
|
||||
|
||||
Reference in New Issue
Block a user