1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Add cheat and console command to set game date.

Run "date" command on cmdline to set date.

Ex:
$ date 0004 06 13
sets date to June 13th, year 4
This commit is contained in:
Harrison Gentry
2018-01-05 23:10:50 -05:00
committed by Aaron van Geffen
parent 2ecbac1550
commit 752d9bc89d
9 changed files with 159 additions and 7 deletions

View File

@@ -1407,6 +1407,7 @@ static const console_command console_command_table[] = {
{ "remove_unused_objects", cc_remove_unused_objects, "Removes all the unused objects from the object selection.", "remove_unused_objects" },
{ "remove_park_fences", cc_remove_park_fences, "Removes all park fences from the surface", "remove_park_fences"},
{ "show_limits", cc_show_limits, "Shows the map data counts and limits.", "show_limits" },
{ "date", cmdline_for_date, "Sets the date to a given date. Format YYYY MM DD, YYYY MM, or YYYY."}
};
static sint32 cc_windows(const utf8 **argv, sint32 argc) {