Commit Graph
34 Commits
Author SHA1 Message Date
Aaron van Geffen 51649e5873 Rework Ride and Vehicle headers into OpenRCT2 namespace (#26881)
* Move vehicle flags to their own header

* Move Ride, RideConstruction, RideRatings, Vehicle into OpenRCT2 namespace

* Rename to SpecialDropdownElement as suggested
2026-08-07 16:22:36 +02:00
Michael Bernardi 421530c3ea Use class prototypes for all script types. 2026-04-01 02:19:01 +11:00
16cd1c07ff Swap Duktape for quickjs-ng
Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2026-04-01 02:18:36 +11:00
Gymnasiast da7272dec9 Finish move to a TrackElementDescriptor per element 2026-03-02 20:39:35 +01:00
Gymnasiast 8b104d04b3 Rename TrackMetaData to TrackMetadata 2026-03-01 12:40:51 +01:00
Gymnasiast 56082daa5f Split off TrackElementDescriptor and a few other things into their own headers 2026-03-01 12:40:47 +01:00
Gymnasiast 7064789c49 Turn TrackElementFlag into strong enum and flagholder 2025-12-26 12:12:11 +01:00
Gymnasiast a48e7d5018 Rename members of TrackCurve 2025-12-23 19:19:40 +01:00
Gymnasiast 7f8eeb09c1 Rename members of TrackElemType 2025-12-23 19:15:44 +01:00
Michał Janiszewski f6292b4c13 Use clang-format 20 (#24861)
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
Aaron van Geffen 3685d1a24b clang-format: change IndentPPDirectives to BeforeHash (#23287) 2024-11-29 12:04:56 +09: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
Michael Steenbeek ffad32ee8c Refactor enabling of covered pieces 2024-10-01 14:04:44 +02:00
Gymnasiast 5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Michael Steenbeek 8ebacc1821 Close #19003: Change _currentTrackCurve to a struct 2024-08-11 21:35:29 +02:00
Gymnasiast d93233f9fd Update TrackCoordinates field names 2024-08-11 15:06:19 +02:00
Gymnasiast 0ea9c5a2c2 Update TrackDefinition field names 2024-08-11 14:52:25 +02:00
Gymnasiast 9294a58e98 Change TrackDescriptor field names to lowerCamelCase 2024-08-03 12:51:25 +02:00
Harry Hopkinson 9ab18e37a2 Cleanup static_cast's
Cleanup static_cast's

Cleanup static_casts'

Cleanup static_casts'

Format Code

Address requested changes

Address requested changes

Change uint16_t to size_t

Stop undefined behaviour

Address requested changes.
2024-03-06 10:28:45 +00:00
Gymnasiast 9d03fad8b8 Rename TrackSlope to TrackPitch 2024-01-17 23:34:37 +01:00
Gymnasiast cffc55e165 Rename fields of TrackDefinition 2024-01-17 23:33:19 +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
spacek531 b1bb24aefb Fill out TrackSegment API (#18478)
* add fields to track segment api

* add getTrackSegments to API

* change element to segment for continuity

* improve documentation

* continue tweaking documentation

* implement segment suggestions

* clarify purpose of isSteepUp flag

* add rest of track element flags

* remove extraneous information from comment

* continue tweaking API

* implement basssiiie suggestion

* rename angle to slope

* reorder items in the documentation

* bump plugin api
2023-01-25 22:05:18 +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
Stephan Spengler 76b918e7ed Change openrct2/ride methods to UpperCamelCase, part 1 2023-01-17 01:32:54 +01:00
Michael Steenbeek b4480b344e Rename snake_case functions from localisation folder 2023-01-16 23:12:35 +00:00
Bas 8c39881353 Implement plugin getter for subposition coordinates 2022-09-02 23:19:15 +02:00
Bas 7b5aeece59 Implement plugin getters for subposition and subposition length 2022-09-02 23:18:29 +02:00
Ted John 71a6e2bf74 Add angle and banking to track segment 2022-05-17 19:27:39 +01:00
Ted John bf1e3412a5 Add extra fields to TrackSegment 2022-05-17 19:27:39 +01:00
Ted John 8c593709fa Add more properties to track segment 2022-05-17 19:27:39 +01:00
Ted John 76601ef6fc Add API for getting track segments 2022-05-17 19:27:39 +01:00