* Refactor StationObject image indices
* Minor rewrite to avoid kNumOrthogonalDirections
* Return early in StationObject::Load if there are no images
* Unset all indices when unloading a station object
* Invalidate tile when selecting elements in tile inspector list
* Invalidate all track tiles in TileInspector::TrackBaseHeightOffset
* Invalidate all track tiles in TileInspector::TrackSetChain
* Add changelog entry for tile inspector invalidation fixes
`src/openrct2-android/app/build.gradle` now supports `abiFilter` and
`skipNativeBuild` properties, which can be used to selectively build
individual architectures. Each architecture is built in its own job and
after the upload/download artifacts dance they get merged in the
`android` job.
This improves cache locality for ccache by splitting it into
ABI-specific keys.
The parameters are optional, so no changes are required to build
instructions - all the supported architectures will be built by default.
* Minor tweaks to Dropdown code
* Split off DropdownWindow::drawSeparator
* Split off DropdownWindow::drawItem
* Rework WindowDropdownShowImage to take ScreenCoordsXY&
* Use assets.json as single source of truth for OpenRCT2 assets
This ensures there's single source of truth for all downloadable assets.
I figured the "version" information is actually redundant because we can
embed the whole URL as the "zipversion", therefore this is dropped now.
The newly-introdcued MSBuild task uses Roslyn-based code and I updated
`DownloadDependency` task to RoslynCodeTaskFactory as well.
* Rename OpenMSX to OpenMusic
Corrupted RCT1/RCT2 save files may contain entities with duplicate or invalid EntityIndex values and when importing these saves, CreateEntityAt returns nullptr for duplicate indices, causing a null pointer dereference crash in ImportEntityCommonProperties, this sanitises each entity's (entities?) EntityIndex to match its array position, so that CreateEntityAt always succeeds. Added unit tests too for just this case, with a crashing save file.
The Map, Track Design List, Track Design Placement, Install Track, and Park Preview windows all shared a single SPR_TEMP sprite ID for rendering dynamic preview images. In OpenGL mode, this caused them to overwrite each other's textures when multiple windows were open simultaneously. To fix it I added separate temp sprite IDs for each window that needs one, with an array of G1Elements to store each separetely