1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

Add missed constexprs

This commit is contained in:
Michał Janiszewski
2018-01-11 23:14:31 +01:00
committed by Michał Janiszewski
parent c0321c3d91
commit 3ba0cc3dae
26 changed files with 104 additions and 104 deletions

View File

@@ -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>" },