Simon Jarrett
088db4a7c3
Fix incorrect const names of long base pieces
...
- Fix function names referring to that of the renamed consts
- Fix incorrect mirror of TrackType::FlatToDown60Long in TrackData
2020-10-01 19:57:52 +01:00
Simon Jarrett
52209af94d
Rename TRACK_ELEM_* enums to TrackElemType::*
...
- Replace enum in Track.h with namespace and constexpr
- Find and replace all instances of TRACK_ELEM_* enums
2020-10-01 19:57:52 +01:00
Simon Jarrett
9fb51c18d4
Fix: Incomplete loop collision box allowed overlap (original bug)
2020-08-18 17:03:35 +01:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Gymnasiast
b948302dc6
Use constants in gTrackCurveChain
2020-07-14 01:37:33 +02:00
Michael Steenbeek
c31ef8e635
Extract vehicle subposition data to its own file ( #10912 )
2020-03-15 11:27:45 +01:00
Michael Steenbeek
e29149e455
Deduplicate flat/regular ride track blocks ( #10911 )
2020-03-12 11:04:52 +01:00
Michael Steenbeek
e441019b04
Refactor rct_track_preview flags ( #10906 )
...
* Refactor rct_track_preview flags
* Zero-index rct_track_preview flags
2020-03-11 15:53:16 +00:00
Gymnasiast
08ad1816d3
Move track paint function to RTDs
2020-02-22 20:15:00 +01:00
Michael Steenbeek
86a79e742f
Use RideTypeDescriptor for available track pieces
2020-02-22 20:13:44 +01:00
Michael Steenbeek
08ca829ac2
Create RideTypeDescriptors ( #10707 )
2020-02-20 11:00:03 +01:00
Gymnasiast
af12421f2d
Apply fixes
2020-01-19 17:34:11 +01:00
modulo7
fdf0c17fd8
Name field var_CD of vehicle struct. Refactor to enum
2020-01-19 17:34:11 +01:00
Michael Steenbeek
8a9f0eeca5
Prepare track piece handling code for more than 256 pieces ( #10575 )
2020-01-17 12:27:14 +01:00
Duncan
c3e14328f1
Little Refactor ( #10075 )
...
* Correct the label for track elem 255.
* Catch last little change
2019-10-19 10:00:42 +02:00
Gymnasiast
2a99c42242
Fix code to determine number of golf holes
2019-03-27 12:53:15 +01:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
duncanspumpkin
921062d073
Start transferring trackdata to use the seperate values
...
Finish the conversion
2019-02-25 13:51:04 +00:00
deurklink
51fc2fe84a
Feature #8583 : Add booster pieces for water coaster
...
Co-Authored-By: deurklink
2019-01-14 22:17:52 +01:00
Hielke Morsink
354d973a48
Use std::size instead of Util::CountOf
2018-11-23 21:59:08 +01:00
Michael Steenbeek
a8f526ae48
Allow on-ride photos and water S-bends on the Water Coaster
2018-11-01 10:12:45 +01:00
Topodic
a320cd0eb8
Fix #8083 : The mini roller coaster has access to spiral lifts
2018-10-17 21:52:27 +02:00
Michael Steenbeek
9ff79e65aa
Implement #4418 : Steep slopes for the Side-Friction RC
2018-09-27 08:55:29 +02:00
clang-format
e8310d079d
clang-format ride
2018-07-23 16:00:09 +02:00
Michael Steenbeek
1b08fb4e69
Replace our own integer types with standard ones
2018-06-20 17:30:40 +02:00
Michael Steenbeek
323162cfe8
Fix #7711 : Inverted Hairpin RC allows building invisible banked pieces
2018-06-20 11:32:29 +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
9c8c2a2820
Missing field initializers part 2
...
This commit tackles the more difficult-to-fix warnings that -Wmissing-field-initializers reported. I've compares the new tables in TrackData with the old ones through a script to make sure they are in fact the same.
2018-06-05 00:18:07 +02:00
Gymnasiast
ca17f03ff2
Add large half loops to the Vertical Drop Roller Coaster
2018-03-25 16:32:06 +02:00
Michał Janiszewski
818a71efe8
Add constexprs to TrackData
2018-01-29 15:37:17 +01:00
ZehMatt
84f2917f59
Use const and constexpr whenever possible.
2018-01-11 22:29:08 +01:00
Michał Janiszewski
469e142c7b
Change casing of header files
2018-01-11 09:30:09 +01:00
Michał Janiszewski
5a8cfb16c8
Clang-format guards for static data
...
This guards most of the hardcoded data from clang-format.
[ci skip]
2018-01-11 09:19:56 +01:00
Hielke Morsink
bcfd66cbc6
Use nullptr instead of 0
2017-12-21 23:47:30 +01:00
Michael Steenbeek
171271215e
Change some ride type names for clarity, fix Americanism
2017-12-08 07:59:44 +01:00
Michael Steenbeek
0ffa2b541a
Use more consistent terminology and remove some Americanisms
2017-12-05 10:23:36 +01:00
Michael Steenbeek
caab169968
Allow building on-ride photo segments on Splash Boats
2017-12-04 19:04:14 +01:00
Michael Steenbeek
d88c01de74
Split Steel Wild Mouse and Spinning Wild Mouse when using Ride Groups
...
Includes a little cleanup for the Ride Groups and a fix in the table with available pieces, which erroneously listed banked pieces as available.
2017-11-23 16:00:58 +01:00
Michał Janiszewski
27f2198cb5
Properly declare track data in C++
2017-10-25 23:53:47 +02:00
Michał Janiszewski
90a14205c8
Compile track_data.c as C++
2017-10-25 23:53:47 +02:00