mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 00:34:46 +01:00
Add missed constexprs
This commit is contained in:
committed by
Michał Janiszewski
parent
c0321c3d91
commit
3ba0cc3dae
@@ -1393,7 +1393,7 @@ typedef struct console_command {
|
||||
const utf8 * usage;
|
||||
} console_command;
|
||||
|
||||
static const utf8* console_variable_table[] = {
|
||||
static constexpr const utf8* console_variable_table[] = {
|
||||
"park_rating",
|
||||
"park_value",
|
||||
"company_value",
|
||||
@@ -1432,7 +1432,7 @@ static const utf8* console_variable_table[] = {
|
||||
"cheat_disable_clearance_checks",
|
||||
"cheat_disable_support_limits",
|
||||
};
|
||||
static const utf8* console_window_table[] = {
|
||||
static constexpr const utf8* console_window_table[] = {
|
||||
"object_selection",
|
||||
"inventions_list",
|
||||
"scenario_options",
|
||||
@@ -1441,7 +1441,7 @@ static const utf8* console_window_table[] = {
|
||||
"title_sequences"
|
||||
};
|
||||
|
||||
static const console_command console_command_table[] = {
|
||||
static constexpr const console_command console_command_table[] = {
|
||||
{ "clear", cc_clear, "Clears the console.", "clear"},
|
||||
{ "hide", cc_hide, "Hides the console.", "hide"},
|
||||
{ "echo", cc_echo, "Echoes the text to the console.", "echo <text>" },
|
||||
|
||||
Reference in New Issue
Block a user