1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

213 Commits

Author SHA1 Message Date
Aaron van Geffen
35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +01:00
Gymnasiast
95178be1b9 Remove C strings in ContextOpenCommonFileDialog() 2024-10-30 12:47:38 +01:00
Harry Hopkinson
e3dc02441a Close #22470: Set default paths for rct1/rct2 saves on Android 2024-09-29 11:06:05 +00:00
Gymnasiast
78e12b9684 Revert "Revert 9e1b24d"
This reverts commit 06302f7f06.
2024-09-22 19:56:02 +02:00
Aaron van Geffen
e70ca5c889 Allow staff to use ‘real’ names as well (#22732) 2024-09-15 20:18:00 +00:00
Tulio Leao
06302f7f06 Revert 9e1b24d 2024-08-31 17:48:35 -03:00
Harry Hopkinson
9ff90adf87 Adjust more constants to new constexpr notation (#22463)
* Rename DUCK_MAX_STATES to kDuckMaxStates

* Rename DuckMoveOffset to kDuckMoveOffset

* Rename DuckAnimationFlyToWater to kDuckAnimationFlyToWater

* Rename DuckAnimationSwim to kDuckAnimationSwim

* Rename DuckAnimationDrink to kDuckAnimationDrink

* Rename DuckAnimationDoubleDrink to kDuckAnimationDoubleDrink

* Rename DuckAnimationFlyAway to kDuckAnimationFlyAway

* Rename DuckAnimations to kDuckAnimations

* Rename ReplayVersion to kReplayVersion

* Rename ReplayMagic to kReplayMagic

* Rename ReplayCompressionLevel to kReplayCompressionLevel

* Rename NormalRecordingChecksumTicks to kNormalRecordingChecksumTicks

* Rename SilentRecordingChecksumTicks to kSilentRecordingChecksumTicks

* Rename WindowButtonsOnTheLeftDefault to kWindowButtonsOnTheLeftDefault
2024-08-04 21:46:32 +02:00
Aaron van Geffen
b02d461b02 Make SoftwareWithHardwareDisplay the default drawing engine (#22346) 2024-07-27 19:53:11 +02:00
Karsten Van Fossan
0c318a416e Automatically set window scaling based on display pixel density (#21907)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-21 22:10:32 +02:00
Aaron van Geffen
896eb4f488 Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting 2024-07-13 14:09:58 +02:00
Aaron van Geffen
51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Arnold Zhou
fb7961e30a Split off Enlarged UI from touch enhancements
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-06-14 20:49:12 +00:00
Gymnasiast
5522b5cb03 Add Enlarged UI setting 2024-05-18 20:55:20 +02:00
Aaron van Geffen
e423575411 Add a config setting to toggle toolbar mode 2024-05-08 21:19:57 +02:00
Aaron van Geffen
a63d86c488 Introduce Config namespace and struct 2024-05-10 12:10:21 +02:00
Aaron van Geffen
9e206d5528 Remove dependency on StringIds.h from Localisation.h (#22011)
* Remove dependency on StringIds.h from Localisation.h

* Include Language.h in UTF8.cpp for function declarations

* Rename tests/Localisation.cpp to tests/LocalisationTest.cpp
2024-05-10 19:14:05 +00:00
Aaron van Geffen
ba9c84f835 Move Csg path related functions into their own header (#22004) 2024-05-10 12:05:52 +02:00
mrmbernardi
489ae58c5c Close #21825: Only lock OpenGL texture cache when using multi-threading (#21952)
Fixes #21825 by making 'DrawingLocks' which lock only if multi threaded drawing is enabled. Refactors TTF.cpp to use this.

Also cleans up some header files, modernises constants, and removes code to avoid using shared_mutex on MacOS builds. This was originally added because older versions of MacOS didn't support this in the STL.
2024-05-05 10:54:50 +00:00
Harry-Hopkinson
5ef115941d Rename NETWORK_DEFAULT_PORT to kNetworkDefaultPort 2024-04-26 17:55:23 +01:00
Harry-Hopkinson
9e2b45fab3 Rename WINDOW_LIMIT_MAX to kWindowLimitMax 2024-04-26 17:55:23 +01:00
Claudio Tiecher
a94e6c54d8 Part of #21421: replace define with constexpr (#21679) 2024-04-01 07:00:32 -03:00
Duncan
1d3bd31ab8 Deduplicate FormatStringID symbols 2024-03-10 18:15:49 +00:00
Michael Steenbeek
b219ab1ed4 Use LanguageGetString() if there is nothing to format 2024-03-10 18:48:23 +01: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
ζeh Matt
8a11db0776 Have multi-threading enabled by default rather than disabled 2023-07-04 23:17:57 +03:00
Aaron van Geffen
d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
Michael Steenbeek
5e495d63c7 Close #15660: Allow showing window buttons on the left (#20176) 2023-05-19 10:17:38 +02:00
Hielke Morsink
0a8c804347 Make the OpenRCT2 theme song the default 2023-05-15 19:26:49 +01:00
Michael Steenbeek
cf9aad7885 Close #19214: Use consistent casing for RC and RCT (#19230) 2023-01-20 08:19:14 +00:00
Duncan
859b071ddc Rename classes with snakes OpenRCT2/A*-F* (#19215)
* Rename classes with snakes OpenRCT2/A*-F*

* Clang format files
2023-01-19 08:16:44 +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
bf5f7e8e71 Rename format_string(2) and is_user_string_id() (#19178)
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-01-17 08:59:07 +00:00
Michael Steenbeek
b4480b344e Rename snake_case functions from localisation folder 2023-01-16 23:12:35 +00:00
Gymnasiast
b6d422ff95 Migrate remaining C strings in config handling 2023-01-08 15:41:10 +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
f9d1f024c2 Rename public plug-in config data members 2022-10-16 21:46:07 +02:00
Hielke Morsink
0ca7bb058f Rename public font config data members 2022-10-16 21:46:07 +02:00
Hielke Morsink
89fa8d8052 Rename public notification config data members 2022-10-16 21:46:06 +02:00
Hielke Morsink
bff430805f Rename public network config data members 2022-10-16 21:46:06 +02:00
Hielke Morsink
371470b5d5 Rename public sound config data members 2022-10-16 21:46:05 +02:00
Hielke Morsink
f605b02630 Rename public interface config data members 2022-10-16 21:46:05 +02:00
Hielke Morsink
abac080d3e Rename public general config data members 2022-10-16 21:46:01 +02:00
Gymnasiast
c33e377d7c Close #17341: Always allow loading with incorrect checksum 2022-10-08 22:58:23 +02:00
Ted John
bf85e6de4c Implement loading / saving asset pack config 2022-10-01 13:06:55 +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
Hielke Morsink
9e1b24d977 Make support transparency invisible by default 2022-08-08 19:04:02 +02:00
jazzysoggy
c0853b56ad Fix Format_VA. Rename Format to StdFormat.
author jazzysoggy <39224097+jazzysoggy@users.noreply.github.com> 1655955994 -0400
committer jazzysoggy <39224097+jazzysoggy@users.noreply.github.com> 1656516326 -0400

Fixed Format_VA and renamed Format to StdFormat. Both now output to Std::String, while taking the same input as before. Changed functions that use these two to account for this output difference
2022-07-24 19:30:57 +02:00
Ted John
585ebed600 Fix #17297: Crash when switching language (#17370)
* Refactor all uses of IAudioChannel and the audio mixer.
* Use shared_ptr to avoid dead pointers hanging about.
* Reload particular audio channels where necessary after object reload.
2022-06-27 17:41:53 +01:00
Ted John
a2e6691ac2 Add new audio objects for loading sounds 2022-05-23 22:24:56 +01:00