Gymnasiast
45bc989f1b
Rename members of Http::Method
2026-08-07 06:57:36 +02:00
Gymnasiast
6d8c65ba5f
Rename members of Http::Status
2026-08-07 06:57:35 +02:00
Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Jan Strauss
fdc4d4d892
Set -Wmissing-prototypes for clang builds ( #24757 )
...
* Set -Wmissing-prototypes for clang builds.
GCC defines -Wmissing-declarations as specialization of -Wmissing-prototypes for C++ (See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-declarations and https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes ) while Clang uses -Wmissing-prototypes for both languages and -Wmissing-declarations is a different diagnostic (See https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-prototypes and
https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-declarations ).
Use MATCHES against CMAKE_CXX_COMPILER_ID (See https://stackoverflow.com/a/10055571 , https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html ) as conditional to handle both AppleClang and Clang.
Clang enables -Wmissing-declarations by default so no point in setting it only if !Clang.
See also:
https://github.com/llvm/llvm-project/issues/16660
https://reviews.llvm.org/D119361
* Make HasMatchingLanguage in Platform.macOS.mm static.
Uncovered by setting -Wmissing-prototypes flag for Clang builds in 306c277c.
* Ignore -Wmissing-prototypes for extern GetVersion.
Result of setting -Wmissing-prototypes flag for Clang builds in 306c277c.
See also: https://github.com/llvm/llvm-project/issues/94138
2025-07-11 14:06:41 -03:00
Gymnasiast
3641d80519
'Update available' button should lead to openrct2.io
2025-05-10 20:30:17 +02:00
Romain
fd0c20f31a
Allow disabling the version checker
2025-04-07 23:43:27 +02:00
Ethan O'Brien
0310084c04
Merge branch 'develop' into develop
2025-01-20 08:28:57 -06:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Ethan O'Brien
8dfe1f91a9
Resolve merge conflicts
2025-01-10 12:16:03 -06:00
Ethan O'Brien
f5eb4d0a37
Pull asset version from the game
2025-01-10 12:07:16 -06:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Tulio Leao
fef568c7c8
Use std::chrono for easier to read durations ( #23499 )
2024-12-29 17:48:24 -03:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02: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
Hielke Morsink and duncanspumpkin
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +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
Hielke Morsink
5fa53ad528
Rename global config functions to use TitleCase
2022-10-16 21:46:08 +02:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02: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
ζeh Matt
645289f4ec
Rename GameActionResult and use GameActions namespace instead ( #13184 )
2020-10-14 22:04:39 -03:00
Simon Jarrett
660c137958
Refactor Version to use new JSON library
2020-09-16 20:18:54 +01:00
Michał Janiszewski
55835456a0
Pester users to update to latest release
2020-08-14 10:18:17 +02:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
clang-format
d787872cbe
Indent preprocessor directives
2018-07-23 16:00:23 +02:00
clang-format
c57bbca827
clang-format root
2018-07-23 16:00:14 +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
Aaron van Geffen
56250b43ab
Use git describe to express version in terms of closest tag.
2018-06-12 00:25:04 +02:00
Michał Janiszewski
3303246b09
Reduce header inclusions
2018-03-20 00:27:58 +01:00
Gymnasiast
778ba466c5
Remove almost every extern C block
2018-02-05 16:20:15 +01:00
Michał Janiszewski
00fd18809c
Move extern "C" {} blocks to headers ( #6282 )
2017-09-18 17:05:28 +02:00
Jan Segre
9a2ba06da3
Fix #5924 : don't show " (DEBUG)" if DEBUG is set but is 0.
...
Signed-off-by: Jan Segre <jan@segre.in >
2017-07-17 23:18:20 -03:00
Michał Janiszewski
79d76759bb
Fix #5516 : Update copyrights for 2017
...
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
camthesaxman
a793ac24f3
remove unused variables
2017-04-30 06:42:23 +02:00
camthesaxman
2ac8c9bad3
build the version string at compile time
2017-04-30 06:42:23 +02:00
Ted John
e649e7ad4a
Move creation of version string to Version.cpp
2017-02-09 17:58:19 +00:00