Gymnasiast
74758c77b6
Rename PATHID and its members
2025-03-25 23:57:36 +01:00
Gymnasiast
e6762f1e08
Refactor TRACK_REPO_ITEM_FLAGS to strong enum and FlagHolder
2025-03-25 23:47:28 +01:00
Gymnasiast
ad547d2d6c
Rename static constants of repositories
2025-03-25 23:42:27 +01:00
Gymnasiast
14b881e22b
Rename DIRID and its members
2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
5442b20a7a
Move StrLogicalCmp, SafeStrCpy, SafeStrCat to String.hpp
2024-12-11 20:42:43 +01:00
Aaron van Geffen
d2e01dde4e
Remove a bunch of Util.h includes
2024-10-29 13:12:52 +01:00
Michael Bernardi
f110ea14f5
Apply check-code-formatting changes
2024-10-03 10:49:25 +10:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Gymnasiast
3977841dd9
Move track and vehicle settings to their own struct
2024-07-04 00:29:41 +02:00
Gymnasiast
bc13b46f96
Do not use td6 as a variable name for TrackDesign
2024-07-02 22:35:20 +02:00
Gymnasiast
cdbedeece6
Desnake TrackDesign fields
2024-06-14 21:17:34 +02:00
Aaron van Geffen
ca6f142a97
Remove Config.h include from many places
2024-05-08 22:29:32 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +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
ζeh Matt
3d5e6ea932
Replace Equals with IEquals where appropriate
2023-07-05 23:14:05 +03:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +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
Michael Steenbeek
d9e23e9dfa
Use ride_type_t instead of uint8_t in more places ( #17803 )
...
Part of preparation for making ride types into objects.
2022-08-13 21:49:19 +02:00
skdltmxn
6aabe38590
Improve FileIndex ( #17773 )
2022-08-13 20:32:59 +01:00
Raymond Zhao
4f23e5e9ec
Refactor struct TrackDesignFileRef
...
- Refactors track_design_file_ref to TrackDesignFileRef and replaces the utf8* fields of that struct with u8string
- Gets rid of some String::Duplicate() and delete calls
- Uses a bunch of c_str() calls to interface with older functions
2022-07-26 16:12:46 +00: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
ζeh Matt
545b01e7e1
Rename track design functions to PascalCase
2021-10-29 02:06:59 +03:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Gymnasiast
bdab3219cb
Modify object loading for JSON-only objects
2021-09-15 11:28:39 +02:00
Gymnasiast
44d0e77afb
Make all access to RTD table use the bounds checking function
2021-02-26 10:01:00 +01:00
skdltmxn
b0a8ebc808
Refactor to use push_back more efficient ( #13726 )
2021-01-08 20:59:55 +00:00
duncanspumpkin
60729113d9
Simplify Serialise for FileIndex
2020-12-07 07:52:12 +00:00
Hielke Morsink
f0c1ea1d37
Split declarations and definitions to improve compile times when editing ( #13332 )
...
* Split FileStream declarations and definitions
* Split JobPool declarations and definitions
* Split StringBuilder declarations and definitions
* Split StringReader declarations and definitions
* Split ZoomLevel declarations and definitions
* Fix missing include in FileClassifier.cpp
* Remove pragma once from source files
* Fix missing include in StringBuilder.h
* Update Xcode project
* Fix compilation of tests
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com >
2020-11-07 12:42:04 +00:00
Gymnasiast
bafafa6805
Create functions to load objects by JSON id
2020-11-05 21:24:43 +01:00
Tulio Leao
e53cde1d5d
Fix #6086 : Cannot install existing track design with another name ( #13082 )
2020-10-06 08:27:38 -03:00
Michael Steenbeek
e5ec74feaf
Fix #12918 : Cannot place "Blue Hurricane" (hypercoaster) ( #12982 )
...
The track design was recognised as a Corkscrew RC, not as a Hypercoaster. Moved the conversion code from the track design repository to the TD6Importer (where it should have been, really).
This also fixes the issue that Hypercoasters, Monster Trucks, Classic Mini Roller Coasters, Spinning Wild Mouses and Hyper-Twisters placed from a track design have the wrong ride type.
2020-09-21 22:42:25 +02:00
Tulio Leao
bf0c4c4f0e
Fix #12533 : Track designs list does not use natural sorting ( #12537 )
2020-08-03 20:42:54 -03:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Gymnasiast
742ae947c7
Add null checks throughout
2020-07-17 00:32:47 +02:00
Gymnasiast
f596d8de58
Limit track design object lookup to ride types where it's needed
2020-07-17 00:19:49 +02:00
Gymnasiast
c6f0bb92a8
Add mutex during track design cache creation
2020-07-17 00:19:49 +02:00
Gymnasiast
cf664c8340
Close #11971 : Replace ride groups with new ride types
2020-07-17 00:19:49 +02:00
Gymnasiast
5d3bf2be20
Move category to RTD; move RideTypeIsIndependent to a flag
2020-04-18 15:22:41 +02:00
Michael Steenbeek
86c7dbf1d5
Fix #7854 : Cannot build custom Spiral RC; dummy entries in track designs list ( #10814 )
2020-02-22 19:06:57 +01:00
Tom Lankhorst
027c09553b
Reformat code with clang-format 8.0.
2019-11-04 15:11:06 +01:00
duncanspumpkin
e3c63b762e
Create new TrackDesign format
2019-08-09 20:39:53 +01:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Matt
04928d4b84
Refactor reference over std::shared_ptr.
2018-08-31 07:18:48 +02:00
clang-format
b02dfdbc93
Binpack function arguments together
...
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead.
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2018-07-23 16:00:22 +02:00