Commit Graph
238 Commits
Author SHA1 Message Date
Michael Steenbeek 355bb5d58d Refactor GAME_COMMAND_FLAG_* to enum+FlagHolder 2025-12-11 00:12:21 +01:00
Gymnasiast 8c001ba4b5 Move SawyerEncoding files to their own folder 2025-07-04 22:07:17 +02:00
Bas cdc8218073 Revert '75de5b8: Fix track origin being miscalculated for plugins on downward slopes' 2025-05-25 16:05:21 +02:00
Basssiiie 0ae984842b Fix track origin being miscalculated for plugins on downward slopes 2025-04-09 17:29:44 +00:00
Michael Steenbeek 05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
73 a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00
Andrew abaf8d2aef Add diagonal downward-inclined brakes to hybrid and single rail coasters 2025-02-19 18:53:43 +01:00
73 c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
X123M3-256 5894b5bf86 Fix #1122: Trains can spawn on cable lift hill 2024-12-23 20:19:04 +01:00
Michael Steenbeek 7baae607ac Use ride_type_t in more places 2024-12-22 19:59:36 +01:00
AuraSpecs 76a40bb52a Add diagonal booster to LSM Launched Coaster 2024-11-24 21:12:51 +01:00
Aaron van Geffen f40da09ab8 Move SawyerCoding from util into core, and into its own namespace 2024-10-29 21:59:28 +01:00
Aaron van Geffen d2e01dde4e Remove a bunch of Util.h includes 2024-10-29 13:12:52 +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
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
Gymnasiast f612e78c48 Move TrackTypeMustBeMadeInvisible() to Legacy.cpp, add MT 2024-09-29 23:22:54 +02:00
Michael Steenbeek 636826a987 Merge pull request #22764 from Gymnasiast/refactor/more-track-2
TrackData: Group all sequence-bound properties
2024-09-21 17:01:17 +02:00
Gymnasiast c0720d608f Make pre-existing wooden flat-to-steep pieces invisible 2024-09-20 21:34:28 +02:00
Gymnasiast 5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Michael Steenbeek 47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00: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
mrmbernardi 9ed5c63857 Rename Location.hpp constants (#22385) 2024-07-26 10:23:25 +02:00
Aaron van Geffen 3d5c19de08 Drop Localisation.h include where not required 2024-07-13 13:33:32 +02:00
Aaron van Geffen 8cef18cd2f Include cassert as needed at unit level 2024-07-09 16:43:03 +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
Harry Hopkinson 3c04e67ece Refactor constant notation in Limits.h 2024-05-26 17:54:31 +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
Michael Steenbeek 74364e2afc Fix #21641: NPE when creating track iterator from invalid tile element 2024-03-22 02:51:11 +01:00
Duncan 4b6ba80a46 Move cheats to struct in GameState_t 2024-03-03 22:44:15 +01:00
Gymnasiast 95c1adc813 Rename TrackBank to TrackRoll 2024-01-17 23:34:36 +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
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
Gymnasiast 5e38c15f58 Split up drawing functions for covered track elements 2023-12-10 15:11:46 +01:00
spacek531 ccb3fa172c Add TrackTypeIsBooster method (#21033) 2023-12-02 14:53:16 -03:00
Spacek531 b44e522262 rename SetBrakeClosed2 to SetBrakeClosedMultiTile 2023-10-01 18:58:06 -07:00
Spacek531 3676b47a20 fix formatting 2023-10-01 18:58:06 -07:00
Spacek531 37c1b5dd7a make SetBrakesClosed2 a standalone function 2023-10-01 18:58:06 -07:00
spacek531 79730e50fd Diagonal Brakes and Block Brakes 2023-10-01 18:58:03 -07:00
X123M3-256 f3be4bac0d Remove empty lines 2023-09-21 19:46:06 +01:00
Karst 5b641d4917 Add conversion code for backwards compatibility. 2023-09-21 19:44:15 +01:00
Chase 7e313d45cd Fix #19906: Destructible cheat does not allow ride modification (#19924) 2023-04-14 21:10:54 -03:00
Spacek531 99ffaa8b71 allow block brakes to be built with speed 2023-04-11 19:28:17 -07:00
Michael Steenbeek ba39d7be5d Merge pull request #19241 from Gymnasiast/refactor/more-fields
Desnake TileElement fields, pad_ and byte_
2023-01-21 22:38:07 +01:00