1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00
Commit Graph

183 Commits

Author SHA1 Message Date
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
Michael Steenbeek
5ccf04b2e5 Fix segfault when extracting files from the GOG installer 2022-05-12 23:38:23 +02:00
germanaizek
958bfbc08a Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen 2022-05-07 16:05:39 +02:00
germanaizek
0045aed7f9 Add const ref, remove excess .c_str(), push_* -> emplace_* and rewrite constructors 2022-05-07 16:05:38 +02:00
Olivier Wervers
593be7ef28 Add option to show ride vehicles separately 2022-05-03 22:49:47 +02:00
Ted John
fea101289c Save invisible flags to config 2022-03-14 21:57:05 +00:00
Hielke Morsink
6ba0a3bd49 Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
Michael Steenbeek
5edc561715 Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
Silent
09897ede9e Refactor last_*_directory and last_run_version to use u8string
Fixes a regression from #16631 causing a crash when
constructing u8string from a nullptr
2022-02-13 21:34:26 +01:00
Silent
5028ce3bf6 Turn GeneralConfiguration::rct1_path into an u8string
Fixes a crash when opening Advanced Options on the first launch
2022-02-12 16:07:04 +01:00
Gymnasiast
fd6b327adb Use emplace_back() instead of push_back() 2022-01-29 14:07:21 +01:00
Gymnasiast
55591b1b2f Merge old and new FileDialogDesc 2022-01-29 13:55:10 +01:00
Michael Steenbeek
14374478a7 Use u8string_view in CSG functions (#16532) 2022-01-28 23:57:31 -03:00
Gymnasiast
f8c74fe2f8 Use u8string in Path/File; replace Path::Append with Path::Combine 2022-01-28 21:52:44 +01:00
Gymnasiast
98cd39a375 Always use SNN for non-integer scaling 2022-01-24 17:46:22 +01:00
Gymnasiast
b826c0706a Upgrade platform_get_default_scale() 2022-01-16 13:17:54 +01:00
Gymnasiast
310ad1e400 Upgrade platform_get_steam_dir() 2022-01-16 13:17:54 +01:00
Gymnasiast
973c5999b0 Upgrade platform_get_locale_temperature_format() 2022-01-16 13:17:53 +01:00
Gymnasiast
90a74df3bc Upgrade platform_get_locale_date_format() 2022-01-16 13:17:53 +01:00
Gymnasiast
95717573f5 Upgrade platform_get_locale_measurement_format() 2022-01-16 13:17:53 +01:00
Gymnasiast
3f22b60f94 Upgrade platform_get_locale_currency() 2022-01-08 12:56:14 +01:00
Gymnasiast
12034b2d36 Upgrade platform_get_locale_language() 2022-01-08 12:56:14 +01:00
Gymnasiast
a21e545917 Upgrade platform_get_username() 2022-01-05 15:26:52 +01:00
Gymnasiast
77e5defeca Upgrade platform_original_game_data_exists() 2022-01-05 15:26:51 +01:00
Michael Steenbeek
ff909cc286 Change rct2_path into a C++ string
Co-authored-by: Ted John <ted@brambles.org>
2022-01-05 15:18:25 +01:00
Duncan
eba42a9584 Introduce Limits headers. (#15329)
* Move RCT12 limits to seperate file and namespace

* Remove prefix from constants

* Add rct1 limits file

* Rename constants to remove prefix

* Add RCT2 limits file

* Remove RCT2 prefix from constants

* Move constant to correct header

* Fix rebase mistakes

* Drop prefix
2021-11-27 16:20:05 +00:00
Duncan
b97c46421e Move all RCT1 to RCT1 namespace (#15283) 2021-08-25 20:44:24 +01:00
Hielke Morsink
6011478590 Directly use std::unique_ptr prvalues
This removes the unnecessary constructor calls and improves flexibility in case of typename changes.
All cases, except for the one in Context.cpp, are temporaries.
2021-08-20 23:38:15 +02:00
ζeh Matt
6b94e81622 Fix dereferencing memory from a temporary object (#15137) 2021-07-31 15:34:40 +01:00
Gymnasiast
8f6713a4f1 Reverse option, add shortcut 2021-05-24 16:54:30 +02:00
Gymnasiast
89eae5198b Add option to make water opaque 2021-05-24 16:39:39 +02:00