- 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.
* Fix BYO Great Adventure missing park patch
Just simply adds park patches for BYO Great Adventure that are the same as the normal park's patches since the fixed issues between them are the same.
* Update changelog.txt
* Fix formatting error
* Fixing the format would be nice.
* Update data/scenario_patches/scenario_to_hash
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
* Update data/scenario_patches/scenario_to_hash
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
---------
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
* 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
We pass a requested frequence and sample rate to SDL_OpenAudioDevice(), which will then return
an object that contains what we actually got. Our code properly handles this. However, unless
we explicit tell SDL that we can handle a different frequency or samples, SDL may try to emulate
what we requested, which incurs another copy in our already quite inefficient audio pipeline.
It’s unlikely to be triggered currently, since we still output as 22,050 Hz with 2048 samples
(though theoretically possible if a device cannot go lower than 44,100 Hz), but will become more
pressing once we going higher than that.
Approach discussed with @frozensnowy .