Aaron van Geffen
b3aa852a8d
Consolidate util/Math.hpp into core/Numerics.hpp ( #23319 )
...
* Consolidate util/Math.hpp into core/Numerics.hpp
* Remove branching; replace isPowerOf2 with std::has_single_bit
* Add templated types to floor2 and ceil2
2024-12-04 21:00:26 +00:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Aaron van Geffen
9436a9501e
Move bitScanForward from Util.h to Numerics.hpp
2024-10-29 11:08:39 +01:00
Michael Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
Michael Steenbeek
71ce725a2a
Split off BannerElement and TrackElement ( #22955 )
2024-10-14 14:26:10 +02:00
Michael Steenbeek
52b70703af
Turn TrackElemType into a strong enum
2024-10-11 13:30:27 +00:00
duncanspumpkin
1cdcbba655
Move wall declarations into wall.h
2024-10-07 22:04:13 +02:00
Gymnasiast
20173f22a1
Split off QuarterTile
2024-10-05 11:04:11 +02:00
Michael Steenbeek
5c29967d61
Use FlagHolder for lift+inverted flags ( #22839 )
2024-09-27 22:51:04 -03:00
Michael Steenbeek
04bdff052f
Use FlagHolder for _currentTrackAlternative
2024-09-25 14:29:39 +02:00
Gymnasiast
5f92d1920b
Group all sequence-bound properties
2024-09-18 22:43:55 +02:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Gymnasiast
803f683f58
Update PreviewTrack field names
2024-08-11 15:15:45 +02:00
Michael Steenbeek
07f54c22bd
Create named enum for track group ( #22523 )
2024-08-11 09:26:19 +02:00
Gymnasiast
9294a58e98
Change TrackDescriptor field names to lowerCamelCase
2024-08-03 12:51:25 +02:00
Aaron van Geffen
51816d2bd5
Disambiguate calls to UtilBitScanForward ( #22402 )
2024-07-28 18:44:59 +02:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Gymnasiast
2c7d2fff7c
Move track design appearance to its own struct
2024-07-02 22:35:19 +02:00
Aaron van Geffen
15ee05dfb0
Rename kNumOrthogonalDirections constant
2024-07-01 17:29:37 +02:00
spacek531
a25daf2fc1
Small max speed changes
2024-06-05 02:45:44 +02:00
Michael Steenbeek
5407ba2d55
Close #22014 : Change crossingMode to a strong enum ( #22020 )
2024-05-12 07:46:32 +01:00
Gymnasiast
4cdaaa9810
Refactor slope flags
2024-05-10 20:16:07 +02:00
Gymnasiast
dbbfc2f1d1
Create kMaximumBrakeSpeed
2024-04-30 13:39:49 +02:00
Peter Froud
2b1d5ad9b7
Use specific error stringIDs
2024-03-30 17:12:54 +01:00
Peter Froud
40537a17fa
General cleanup of existing error messages
2024-03-30 17:12:54 +01:00
Peter Froud
23958186bd
Change LOG_ERROR to LOG_WARNING for errors
2024-03-30 17:12:53 +01:00
Duncan
4b6ba80a46
Move cheats to struct in GameState_t
2024-03-03 22:44:15 +01:00
Severin Paul Höfer
aefc07c9c5
Rename var_07 to ClearanceZ in struct PreviewTrack
2024-02-21 17:23:45 +01:00
Gymnasiast
731275613a
Create flag to allow building track segment partly underground
2024-02-20 19:14:01 +01:00
Peter Froud
4c18d322c6
Split if statements to return different errors
2024-01-24 23:28:16 -08: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
spacek531
79730e50fd
Diagonal Brakes and Block Brakes
2023-10-01 18:58:03 -07:00
ζeh Matt
5f515b6a73
Refactor the code that uses MapGetFootpathElement
2023-08-05 18:09:38 +03:00
ζeh Matt
db33968ff6
Fix #20684 : Footpath additions getting removed by ghost track elements
2023-08-05 17:19:11 +03:00
Gymnasiast
2779e82ced
Return a full error message when the object cannot be found
2023-05-27 14:47:54 +02:00
kyphii
9ca4e48c79
Fix : #13397 : Broken Stations with Simulate Mode
2023-04-22 19:41:26 +02:00
Spacek531
99ffaa8b71
allow block brakes to be built with speed
2023-04-11 19:28:17 -07:00
Michael Steenbeek
dd624f9bff
Replace remaining usages of money16, money32 ( #19469 )
...
* Use money64 for ride prices and shop items
* Use money64 for park entrance fee
* Use money64 for gGuestInitialCash
* Use money64 for upkeep costs
* Use money64 for ride value
* Use money64 for marketing campaign cost
* Use money64 for object prices
* Use money64 for land prices
* Use money64 for guest expenditure
* Replace remaining occurrences of money32 with money64
* Update replays
* Bump network version
---------
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-03-02 21:55:42 +00:00
Gymnasiast
23a5044509
Allow shops and stalls to set their own clearances
2023-02-14 00:52:21 +01:00
ζeh Matt
a2a06d6dde
Return const RideObjectEntry*, refactor uses and fix related access
2023-02-05 17:36:37 +02:00
spacek531
9844532112
Refactor TrackPlaceAction so block brake logic only runs once ( #18777 )
...
* move block brake incrementation out of trackblock loop
* add comment to new code block
2023-01-25 21:09:36 +00:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Duncan
7d08372c80
Remove snake_case from Class names OpenRCT2/Ride*-S* ( #19232 )
...
* Remove snake_case from Class names OpenRCT2/Ride*-S*
* Clang format
2023-01-20 20:58:55 +00:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Stephan Spengler
31ea968480
Change openrct2/ride methods to UpperCamelCase, part 2
2023-01-17 17:42:29 +01: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
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
Michael Steenbeek
412bf8f8be
Use ride references instead of pointers
2023-01-07 14:02:18 +01:00