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

Missing field initializers part 2

This commit tackles the more difficult-to-fix warnings that -Wmissing-field-initializers reported. I've compares the new tables in TrackData with the old ones through a script to make sure they are in fact the same.
This commit is contained in:
Hielke Morsink
2018-06-04 23:57:59 +02:00
parent 5d0022a5cb
commit 9c8c2a2820
8 changed files with 253 additions and 263 deletions

View File

@@ -769,6 +769,8 @@ static sint32
console.WriteLineError("OpenRCT2 build not compiled with Twitch integration.");
#else
// TODO: Add some twitch commands
// Display a message to the player for now
console.WriteLine("To be implemented");
#endif
return 0;
}
@@ -1097,7 +1099,7 @@ static constexpr const console_command console_command_table[] = {
"This is a safer method opposed to \"open object_selection\".",
"load_object <objectfilenodat>" },
{ "object_count", cc_object_count, "Shows the number of objects of each type in the scenario.", "object_count" },
{ "twitch", cc_twitch, "Twitch API" },
{ "twitch", cc_twitch, "Twitch API", "twitch" },
{ "reset_user_strings", cc_reset_user_strings, "Resets all user-defined strings, to fix incorrectly occurring 'Chosen name in use already' errors.", "reset_user_strings" },
{ "rides", cc_rides, "Ride management.", "rides <subcommand>" },
{ "staff", cc_staff, "Staff management.", "staff <subcommand>"},