1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
Gymnasiast
9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Gymnasiast
490012c6a4 Rename constants in DiscordService.cpp to use kCamelCase 2025-07-04 19:08:27 +02:00
ζeh Matt
5351d50f5a Fix dangling pointer for Discord rich presence 2025-05-23 18:12:51 +03:00
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Michael Steenbeek
06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00:00
73
a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen
3685d1a24b clang-format: change IndentPPDirectives to BeforeHash (#23287) 2024-11-29 12:04:56 +09:00
Harry Hopkinson
c1ac7c0700 Cleanup gameState usage 2024-09-02 22:42:37 +02:00
Aaron van Geffen
05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Aaron van Geffen
51bcbe3710 Move UTF8 functions from localisation into core (#22278) 2024-07-12 19:21:15 +03:00
Gymnasiast
28451027b1 Move Park to GameState_t 2024-04-04 18:12:08 +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
Aaron van Geffen
d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
Hielke Morsink
2c224cfd53 Rename snake_case functions in OpenRCT2/network folder (#19203) 2023-01-18 06:05:53 +00:00
Hielke Morsink
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
Michael Steenbeek
b4480b344e Rename snake_case functions from localisation folder 2023-01-16 23:12:35 +00:00
Gymnasiast
24247e9c6b Migrate server setting getters to u8string 2023-01-08 16:19:18 +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
Meehoi
5cb9b8be15 Remove format string in server name from Discord rich presence (#18159) 2022-10-03 00:01:24 +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
skdltmxn
29083f4cb2 Improve network module in more C++ way 2022-02-09 21:57:25 +01:00
ζeh Matt
fc2862323a Add utility function and some minor cleanup/documentation 2021-12-13 19:10:47 +02:00
ζeh Matt
c464e38515 Use chrono::duration for Timer 2021-12-13 19:04:49 +02:00
ζeh Matt
94e20ba7fe Rename some Update functions to Tick 2021-12-13 19:04:48 +02:00
ζeh Matt
25e1553555 Use Timer in DiscordService 2021-12-13 19:04:48 +02:00
Aaron van Geffen
7b5087f057 Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Ted John
5733d666b3 Do not store park name as a user string 2019-07-21 11:33:15 +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
e32189fd98 clang-format network 2018-07-23 16:00:05 +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
Hielke Morsink
204dd4439b Mark unused arguments in the libopenrct2 project
For dummy classes and functions with empty bodies I've only commented out the arguments, for all others I used C++17's [[maybe_unused]].
2018-06-06 21:03:11 +02:00
Michał Janiszewski
a4750a635d Update DiscordService for discord-rpc 3.3.0 2018-05-12 22:08:25 +02:00
Ted John
d2864a139b Use new dependencies split format 2018-03-09 16:28:47 +01:00
Michael Steenbeek
755add6c9a Compile localisation folder as C++ 2018-01-06 18:32:25 +01:00
Gymnasiast
1626f86acc Compile park.c as C++ 2018-01-01 01:18:12 +01:00
Ted John
36ffb1d3cb Use initialiser instead of memset zero 2017-11-12 20:31:29 +00:00
Ted John
324058a640 Delay presence refresh to 5s interval 2017-11-11 23:48:04 +00:00
Ted John
83e80d9658 Implement basic discord status report 2017-11-11 23:48:04 +00:00