RCT1/2 always set this flag when an entry is an image of any sort (as opposed to a palette entry). It may be misnamed, as both regular and compressed/"RLE" images support transparency.
This modifies a single bit in the example.dat file, as expected. For convenience:
2c2
< 00000010: 0000 0000 0400 0000 0001 0501 0a01 0f01 ................
---
> 00000010: 0000 0000 0500 0000 0001 0501 0a01 0f01 ................
RCT1 uses these and RCT2 may too (specifically for the reverse freefall coaster), so this limit does not seem to be inherent to g1.
Maybe it could be removed outright.
When any player in multiplayer places a track design, `TrackDesignAction::Execute` runs on every client which calls `UtilRand()`, resulting in every client getting a different colour since it's non-deterministic. Each client then commits its own local colour to `Vehicle::colours`. Since that field is part of the entity checksum, `NetworkBase::CheckSRAND` will flag a desync.
This PR adds a parameter to `RideGetUnusedPresetVehicleColour` to allow the caller to pass in a random value and make the choice of determinism. The UI call sites can still use `UtilRand`, but `TrackDesignAction` should be using `ScenarioRand`.
- Improved: [#26322] [Plugin] Add footpath flags to FootpathSurfaceObject in the plugin API.
- Improved: [#26566] Improve the performance of sorting sprites.
- Fix: [#26350] [Plugin] ListViews altered by plugins post their creation are not invalidated.
- Fix: [#26565] Game crashes when switching to another tab in the guest window.
- Fix: [#26583] The default tab is not highlighted when opening a ride window.
- Fix: [#26602] Crash when locating the nearest mechanic for a ride that has not previously been inspected.
- Fix: [#26615] Missing junction path tile in Build your own Six Flags Over Texas.
- Fix: [#26616] Fix gap in buyable land in Build your own Six Flags Magic Mountain.
- Fix: [#26624] Tile elements selected by clicking on them with the tile inspector open do not always redraw correctly.
- Fix: [#26634] Add missing park patch file for Build your own Six Flags Great Adventure.
* Rename enums in Cheats.h
* Rename enums in Diagnostic.h
* Rename enums in Editor.h
* Rename enums in Input.h
* Rename enums in OpenRCT2.h
* Rename enums in ConfigTypes.h
* Rename enums in Identifier.hpp
* Update const notation in RideAudio.cpp
* Update const notation in TitleSequence.h
* Update const notation in ParkFile.cpp
* Add loonyduck1 to contributors.md
* Convert ParkFileChunkType to enum class
* Use lowerCamelCase for ParkFileChunkType enum members
* Avoid introducing EnumValue for readWriteChunk calls
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
* Rename enums in LoadOrQuitAction.h
* Rename enums in ScenarioSetSettingAction.h
* Rename enums in TileModifyAction.h
* Rename enums in NetworkModifyGroupAction.h
* Rename enums in LandBuyRightsAction.h
* Rename enums in LandSetRightsAction.h
* Rename enums in ParkSetParameterAction.h
* Rename enums in PeepPickupAction.h
* Rename enums in StaffSetPatrolAreaAction.h
* Rename enums in RideFreezeRatingAction.h
* Rename enums in RideSetAppearanceAction.h
* Rename enums in RideSetSettingAction.h
* Rename enums in RideSetVehicleAction.h
* Rename enums in BannerSetStyleAction.h
* Rename nextSpriteToDraw to nextImageToDraw
* Differentiate firstCarIndex from inner carIndex
* Take Widget& instead of ptr
* RideUpdateVehicleColours: simplify logic around reversed trains
* RideUpdateVehicleColours: move `colours` var into inner loop
* Extract prepareTrainCarImages into its own function
* Extract getVehiclePreviewImageId into its own function
* Rework to use std::span, avoiding pointer arithmetic
* Regression: restore sentinel value for MapGetHighestLandHeight
* Regression: only perform park ownership check while not in editor/sandbox mode
* Regression: actually use the range provided instead of all drawable tiles