Commit Graph
30552 Commits
Author SHA1 Message Date
Harry Hopkinson 0fb70602d3 Convert contents of EntityRegistry.h to camelCase (#27019) 2026-08-29 22:24:54 +00:00
ZeeMaji b92dd1d78c Use RCTC ride names in RCT1 scenarios (#27017)
Many rides in RCT1AA and especially RCT1LL scenarios were originally unnamed, however when these scenarios were ported to RCTC many of these previously unnamed rides were given official names. This PR simply backports all of those names to the original RCT1AA/LL scenarios via scenario patches.
2026-08-29 22:10:23 +00:00
Stephan Spengler c776757fb2 Fix #22500: LandSetHeightAction does not provide an error title (#27018) 2026-08-30 00:01:45 +02:00
Michael Steenbeek 4beb0ec8e0 Put lesser-used arguments to MapCanConstructWithClearAt() into a struct (#27010) 2026-08-29 23:49:35 +02:00
Aaron van Geffen 763d42cad7 Fix editor inadvertently showing the pause and fastforward buttons (#27021) 2026-08-29 23:48:51 +02:00
Aaron van Geffen 21e37e12f9 Rework EditorBottomToolbar into EditorStepController (#26961)
* Rename EditorBottomToolbar to EditorStepController

* Split off EditorStatusLine to its own window

* Simplify step/jump functions by making them static

* Split EditorStepController into two instances

* Resize new editor panels when game window is resized

* Move kEditorStepNames defs into EditorController to share between windows
2026-08-29 20:23:20 +00:00
Michael Steenbeek 550fe4be85 Merge pull request #27015 from Gymnasiast/more-sprite-font-characters
Add a few sprite font characters and reorganise them
2026-08-29 16:13:17 +02:00
Gymnasiast 1ce70b8bf8 Redesign f-with-hook (guilder) glyph
The bold version was taken from OpenTTD and didn’t really fit the font style of the rest. New design was based on the regular ‘f’.
2026-08-29 16:01:40 +02:00
Gymnasiast 9d59ed34dd Close #21441: Add sprite font glyph for the Hryvnia (₴) 2026-08-29 15:48:19 +02:00
Gymnasiast e9c7f6667c Move currency glyphs to currency folder 2026-08-29 15:22:29 +02:00
Gymnasiast a0840b2a71 Close #19000: Add sprite font glyph for the Won 2026-08-29 15:10:44 +02:00
Gymnasiast 52a684a0da Fix #15891: Add lower case hard sign 2026-08-29 14:52:32 +02:00
Gymnasiast 57de7b82be Switch characters from decimal to the more common hex notation 2026-08-29 14:13:34 +02:00
Michael Steenbeek 340bb07626 Fix #26960: Vertical twists not available on the Inverted Impulse Coaster (#27012)
Regression introduced in d517f19ce2
2026-08-29 13:33:53 +02:00
Aaron van Geffen 672bd553fe Add GitHub pull request template (#27007) 2026-08-29 11:53:38 +02:00
Harry Hopkinson c7bee6257d Create enum and flagholder for StationObjectFlags 2026-08-28 22:26:03 +00:00
Michael Steenbeek 8e40456478 Merge pull request #26966 from Gymnasiast/sanitise-object-filenames
Fix: sanitise packed object filenames
2026-08-28 22:47:35 +02:00
Oskar Gerlicz Kowalczuk 08aa13fee3 Fix: sanitise packed object filenames 2026-08-28 22:40:05 +02:00
Michael Steenbeek 436bc0d53e Merge pull request #26996 from Gymnasiast/feature/rename-ride-in-scenariopatch
Allow patching ride names in scenario patches
2026-08-28 20:54:15 +02:00
Gymnasiast 5d23833cc3 Clear ‘Bullet Coaster 1’ name in Okinawa Coast (as an example) 2026-08-28 20:46:20 +02:00
Gymnasiast f31588edfc Add ability to clear a ride’s name, in addition to setting it 2026-08-28 20:46:20 +02:00
Gymnasiast 7aca955172 Extend scenario patch for Okinawa Coast to CD version 2026-08-28 20:46:20 +02:00
Gymnasiast 7a6a02e35c Patch Alton Towers to correct spelling of ‘Hex... the Legend of the Towers’ 2026-08-28 20:45:44 +02:00
Gymnasiast 0ea046196d Patch Diamond Heights to correct spelling of ‘Doppelgänger’ 2026-08-28 20:45:44 +02:00
Gymnasiast f5a3ff521d Patch Heide-Park to correct some names 2026-08-28 20:45:44 +02:00
Gymnasiast d687a06a22 Add scenario patching feature to rename rides 2026-08-28 20:45:44 +02:00
Aaron van Geffen c8ab334060 Fix track style buttons overlapping with banking ones (#27006) 2026-08-28 20:41:05 +02:00
OpenRCT2 git bot 9d502af244 Merge Localisation/master into OpenRCT2/develop 2026-08-28 06:32:16 +00:00
Sjoerd de Bruin e16a74030d Fix #18415: Preview in Track Designs Manager not updating after a delete (#27003) 2026-08-28 07:32:23 +02:00
Harry Hopkinson 35898a258c Refactor TRACK_ELEMENT_*_MASK and ObjectSelectionFlag to constexpr/enum class (#26986) 2026-08-27 17:30:36 +02:00
RayKoopa bcdb769cfd Fix #26802: Splash Boats draw recursion (#26991)
Fixes #26802 

Skips drawing for 0 or -1 cars per train for `VehiclePaintStyle::splashBoatsOrWaterCoaster` that caused the recursion since they would be invisible anyway even if the recursion would be detected.

Tested with 0, -1, and normal amount of cars per train and various numbers of trains. Everything looks fine, and 0 and -1 cars per ride simply draw nothing now.
2026-08-27 17:17:24 +02:00
RayKoopa 1e8d8707c0 Fix partial/no car drawn on vehicle tab if ride has <1 cars per train (#26992)
Always draw first non-zero car to ensure RideEntryGetVehicleAtPosition returns a non-empty / meaningful sprite.
2026-08-26 14:16:00 +02:00
Aaron van Geffen 63a787c2ae Guard bottom toolbar resizing to prevent nullptr deref (#26994) 2026-08-26 11:02:47 +00:00
Michael Steenbeek 79be249f71 Remove dead code testing for ImageIndex -2 (#26993)
Closes #18124.
2026-08-26 12:47:21 +02:00
Michael Steenbeek 31004bbf33 Fix #24610: Graph tabs on Finances window get a little bit longer every time you switch between them (#26976) 2026-08-26 10:54:04 +02:00
WisdomK-ROK 341d3b834a Fix PaletteMap.cpp compilation in debug mode (#26989) 2026-08-26 10:50:44 +02:00
Harry Hopkinson f66c153a10 Replace SDL.h headers with SDL sub headers (#26990) 2026-08-25 17:25:40 +02:00
Michael Steenbeek d7bba3b92e Merge pull request #26975 from Gymnasiast/fix/18197
Fix #18197: Track Designs Manager does not autoload scenery
2026-08-24 21:53:35 +02:00
Michael Steenbeek 99b16bc638 Merge pull request #26979 from Gymnasiast/refactor/track-design-preview-map-size
Rename some constexpr to adhere to code style
2026-08-23 20:19:30 +02:00
Gymnasiast bc834240fd Rename SCALE and PI_SCALED to kScale and kScaled 2026-08-23 19:14:09 +02:00
Gymnasiast f10a778c7a Rename MIN_TILE_ELEMENTS to kMinTileElements 2026-08-23 19:14:09 +02:00
Gymnasiast e9b9979ee3 Rename NUM_HookTypeS to kHookTypeCount 2026-08-23 19:08:05 +02:00
Gymnasiast 19e2404ac2 Rename SYNCHRONISED_VEHICLE_COUNT to kSynchronisedVehicleCount 2026-08-23 19:07:16 +02:00
Gymnasiast d611a7d560 Rename TRACK_NEARBY_SCENERY_DISTANCE to kTrackNearbySceneryDistance 2026-08-23 19:06:47 +02:00
Gymnasiast 65dfdd3030 Rename MASK_SIZE to kMaskSize 2026-08-23 19:06:15 +02:00
Gymnasiast a5edcd5780 Rename RCT1ResearchFlagsSeparator to kRCT1ResearchFlagsSeparator 2026-08-23 19:05:42 +02:00
Gymnasiast 7a855d8c3b Rename RCT2ToOpenRCT2LanguageId to kRCT2ToOpenRCT2LanguageId 2026-08-23 19:05:03 +02:00
Gymnasiast 00df3c16b7 Rename TRACK_DESIGN_PREVIEW_MAP_SIZE to kTrackDesignPreviewMapSize 2026-08-23 19:01:43 +02:00
Fatma Desoky 146a7427a3 Refactor FontStyle constants to kCamelCase (#26974) 2026-08-23 14:54:04 +00:00
Gymnasiast dc6fd8a913 Do not reload ride type to ride entry map unless actually loading a ride object 2026-08-23 16:44:33 +02:00