Michał Janiszewski
7b12667ddb
Reduce `<algorithm>` include ( #21947 )
2024-05-01 13:47:27 +02:00
Gymnasiast
7b072808ee
Turn Date into struct
2024-04-04 18:12:36 +02:00
Gymnasiast
1f1377a8ef
Move Date to GameState_t
2024-04-04 18:12:08 +02:00
Harry Hopkinson
7797db10c8
Replace Macros and Notation in Cheats.h, common.h and Context.h. ( #21437 )
2024-02-23 19:30:35 -03:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Michael Steenbeek
fd80b4c822
Refactor and clean up date handling ( #19666 )
...
* Refactor and clean up date handling
* Remove gDate, remove direct access to days_in_month
* Adjust the MultiLaunch test
* Bump network version
---------
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2023-04-02 09:25:41 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Tulio Leao
c17127f65b
Use named casts on openrct2 root folder ( #11139 )
2020-04-17 21:36:25 +02:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Linus Unnebäck
fd07be587a
Remove Math::Clamp in favour of std::clamp
2018-08-12 16:47:12 +01:00
clang-format
c57bbca827
clang-format root
2018-07-23 16:00:14 +02:00
Michael Steenbeek
1b08fb4e69
Replace our own integer types with standard ones
2018-06-20 17:30:40 +02:00
Hielke Morsink
0cf256ac9e
Ready copyright notice for clang-format
...
Clang-format sees the text behind `#pragma region` as code and formats it. Instead of stating the copyright and date there, it's now in the comment block right below it. The text "Copyright" is left in the `#pragma region` line, as clang-format sees it as a single identifier.
I took the opportunity to normalize the dates, and add the copyright notice to the source files where it was missing them (except for third-party and the generated resources.h file).
2018-06-15 14:07:34 +02:00
Harrison Gentry
752d9bc89d
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
2018-01-07 23:53:47 +01:00
Michael Steenbeek
755add6c9a
Compile localisation folder as C++
2018-01-06 18:32:25 +01:00
Ted John
d3692dfb7a
Add Date class
...
To eventually replace passing around month ticks and date.c
2017-11-10 19:32:32 +01:00