Commit Graph
130 Commits
Author SHA1 Message Date
Gymnasiast 16ce220210 Rename enum members of MetalSupportPlace to lowerCamelCase 2025-06-21 14:12:49 +02:00
Andrew abaf8d2aef Add diagonal downward-inclined brakes to hybrid and single rail coasters 2025-02-19 18:53:43 +01:00
Michael Steenbeek b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
spacek531 5bec62c540 Beautify TrackData.cpp 2025-01-20 15:26:31 +01:00
Michael Steenbeek be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
X123M3-256 864d9b2d73 Add large diagonal flat to steep and dive loop track pieces 2025-01-15 13:25:29 +01:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen 6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00
AuraSpecs 76a40bb52a Add diagonal booster to LSM Launched Coaster 2024-11-24 21:12:51 +01:00
Aaron van Geffen d2e01dde4e Remove a bunch of Util.h includes 2024-10-29 13:12:52 +01:00
Aaron van Geffen 80b63a5ae7 Add line breaks after template declarations (#23086)
* Add line breaks after template declarations

* Additional clang-format patches
2024-10-29 16:54:01 +01:00
Michael Steenbeek 52b70703af Turn TrackElemType into a strong enum 2024-10-11 13:30:27 +00:00
AndrewandX123M3-256 5f1f925116 Add downward-inclined brakes to hybrid coaster and single rail coaster
Co-authored-by: X123M3-256 <X123M3-256@users.noreply.github.com>
2024-10-03 12:42:36 +02:00
Michael Steenbeek ffad32ee8c Refactor enabling of covered pieces 2024-10-01 14:04:44 +02:00
Gymnasiast 299fad3bb7 Fix RightBankedQuarterTurn3Tiles supports 2024-09-19 21:11:57 +02:00
Gymnasiast 5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Gymnasiast 30244594ac Add downward wooden support transition enum members, table fixes 2024-09-18 22:41:34 +02:00
Gymnasiast ac1f7eab4e Convert side-friction RC to use support table 2024-09-09 21:36:06 +02:00
Michael Steenbeek 8ebacc1821 Close #19003: Change _currentTrackCurve to a struct 2024-08-11 21:35:29 +02:00
Gymnasiast 9ed2e87f49 Replace tabs with spaces in TrackData.cpp 2024-08-11 14:10:48 +02:00
Michael Steenbeek 07f54c22bd Create named enum for track group (#22523) 2024-08-11 09:26:19 +02:00
GymnasiastandAaronVanGeffen 0a33719a96 Add wooden support data to TED
Co-authored-by: AaronVanGeffen <AaronVanGeffen@users.noreply.github.com>
2024-08-09 19:17:59 +02:00
Gymnasiast a73310e2bd Fix formatting of TrackData.cpp 2024-08-03 12:51:29 +02:00
Gymnasiast a984532ff1 Rename MaxSequencesPerPiece to kMaxSequencesPerPiece 2024-08-03 12:51:29 +02:00
Gymnasiast 9294a58e98 Change TrackDescriptor field names to lowerCamelCase 2024-08-03 12:51:25 +02:00
Gymnasiast 6949c62529 Turn SpinFunction into strong enum 2024-08-02 23:55:23 +02:00
Gymnasiast 4572331409 Move TrackData.{cpp,h} into OpenRCT2::TrackMetaData namespace 2024-08-02 23:55:23 +02:00
Aaron van Geffen 05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Claudio TiecherandMichael Steenbeek 13e9ff84c2 Part of #21421: Replace define with constexpr (#21626)
* Part of #21421: Refactor RIDE_INITIAL_RELIABILITY in Ride.h

* Part of #21421: Refactor STATION_DEPART_FLAG and STATION_DEPART_MASK

* Part of #21421: Refactor MAX_STATION_PLATFORM_LENGTH

* Part of #21421: Refactor RIDE_RATING_UNDEFINED

* Part of #21421: Refactor TRACK_BLOCK_END

* Part of #21421: Refactor TRACK_PREVIEW_IMAGE_SIZE

* Part of #21421: Refactor based on feedback

* Part of #21421: Fix signed/unsigned mismatch on Win

* Improved consistency kTrackPreviewImageSize

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Part of #21421: kMaxStationPlatformLength to int8

---------

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2024-03-24 21:49:50 +00:00
Severin Paul Höfer e1631afe48 Make small Flyer half loops symmetrical 2024-02-21 17:23:45 +01:00
Severin Paul Höfer 99dfbc2661 Make ClearanceZ on small half loops symmetrical
Values now consistent to those in the small full loops.
2024-02-21 17:23:45 +01:00
Severin Paul Höfer 0ff998a071 Make ClearanceZ on Flying half loops symmetrical 2024-02-21 17:23:45 +01:00
Severin Paul Höfer 133c8a1068 Fix ClearanceZ for large half loops down 2024-02-21 17:23:45 +01:00
Severin Paul Höfer 1ce1d1b04e Add comments to PreviewTrack definitions 2024-02-21 17:23:45 +01:00
Gymnasiast c2f2058fa0 Allow building heartline rolls partly underground 2024-02-20 19:14:02 +01:00
Gymnasiast 731275613a Create flag to allow building track segment partly underground 2024-02-20 19:14:01 +01:00
Gymnasiast 95c1adc813 Rename TrackBank to TrackRoll 2024-01-17 23:34:36 +01:00
Gymnasiast 44d547a4bc Make TrackPitch into an enum class 2024-01-17 23:33:19 +01:00
Gymnasiast b832eb5f72 Make TrackBank into an enum class 2024-01-17 23:33:19 +01:00
Gymnasiast d2f5e739aa Make TrackCurve into an enum class 2024-01-17 23:33:19 +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
spacek531 79730e50fd Diagonal Brakes and Block Brakes 2023-10-01 18:58:03 -07:00
X123M3-256 6119b343e6 Fix missing track data (#20687)
* Fix missing track data

* Increase network version
2023-08-06 10:28:08 +01:00
Severin Paul Höfer 92764c2e32 Fix naming inconsistencies and minor bugs concerning half loop elements (#20408)
* Rename large half loops in TrackElemType namespace

* Fix large half loop positions in DropdownOrder

* Fix comments for medium loops

* Fix medium half loop order in gTrackCurveChain

Wrong piece was auto-suggested when building backwards.

* Swap names of painting functions

* Rename TrackElemType for Flying Coaster

* Swap names of Flying Coaster painting functions

* Swap Flying Coaster VehicleSubpositionData names

* Swap FlyingCoaster TrackBlock names

* Fix Flying Coaster track elem flags and comments

* Fix ZeroGRoll comments in TrackData.cpp

* Update changelog.txt

* Bump network version
2023-07-02 19:31:52 +03:00
Aaron van Geffen d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
Severin Paul Höfer ed875a1273 Fix #19860: TRACK_ELEM_FLAG_DOWN flag missing on downward wide curves (#20386)
* Fix TRACK_ELEM_FLAG_DOWN flag on wide curves

* De-anonymize contributors entry

* Bump network version
2023-06-15 20:27:18 +01:00
spacek531 61d820e614 Refactor special track elements list part 2 (#19951)
Part 2 of #19922
Fixes #19964

There are a lot of files changed, so this PR is structured to be easy to follow by looking at individual commits.

This PR refactors how the special track element list is created. The refactors include:

Divorces creating the list from RideConstructionWindow for modularity, including potential plugin API
Adds list of special track elements which can be re-ordered for more sensible organization
Same-named track elements will collapse into as few entries as possible
Separates up helixes from down helixes in track flags
Track flag separation was done to remove special code related to alpine coaster. Refactors to ride construction window were tested against and confirmed working with:

alpine coaster
suspended swinging coaster
hybrid coaster
inverted coaster
2023-05-07 09:13:22 +00:00
spacek531 319d759d71 fix TrackData.cpp (#19922) 2023-04-16 09:28:56 +01:00
X123M3-256 3c4e32458a Add large sloped turns to hybrid and single rail (#19547)
* Implement large sloped turns

* Fix formatting

* Add sprites

* Fix large turns button being active on steep slopes

* Remove bad comment

* Increment network,plugin,park version numbers

* Update changelog

* Increment park file version again
2023-04-05 13:47:56 +01:00
Michael Steenbeekandduncanspumpkin 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