Commit Graph

26488 Commits

Author SHA1 Message Date
ζeh Matt
679f5aac2e Rename members of EntitySpriteData 2023-04-07 19:47:26 +03:00
ζeh Matt
dce21bc8ec Split move sprite specific data into EntitySpriteData 2023-04-07 19:37:47 +03:00
Michał Janiszewski
db1b7f2a0f Update src/openrct2-ui/audio/SDLAudioSource.h 2023-04-07 13:09:40 +02:00
Michał Janiszewski
8d30e9dfaa Make audio source release status atomic
As audio sources get released from a callback done in a thread separate
from main, the released status needs to be atomic.
2023-04-07 12:15:11 +02:00
kyphii
ce4ca96b27 Fix 19853: Landscaping tool not indicating corners when choosing where to raise or lower land (#19857)
* Fix land marker palettes

* Appease Clang

* Remove one more magic number

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-07 06:12:55 +01:00
OpenRCT2 git bot
70e97bd322 Merge Localisation/master into OpenRCT2/develop 2023-04-07 04:01:48 +00:00
Matthias Moninger
5462c28b8c Fix dereferencing nullptr for bad loaded g2 using OpenGL renderer (#19855) 2023-04-06 21:56:52 +02:00
Rik Smeets
c2d55e9535 Fix Looping Coaster trains clipping through steep quarter turns down 2023-04-06 21:34:00 +02:00
Michał Janiszewski
993da08fb9 Fix #19850: Only provide default value for final arguments (#19852) 2023-04-06 15:35:02 +01:00
Karst
139c6561b4 Make the FLY pallette more accurate
With the introduction of new palettes this colour scheme is more accurate with the real thing.
2023-04-06 14:38:02 +02:00
kyphii
39790779bb Extend color selection dropdown with more colors (#19446)
* Setup for extended palette

* Define order for color picker cells

* Init G2 Palettes in ColoursInitMaps

* Add Glass Palettes

* Use special sprite for Invisible color

* Set up new cheat for special colors

* Add glass palettes to palette_to_g1_offset

* Add entries for new colors in TranslucentWindowPalettes

* Finish implementation of special colors cheat

* Some cleanup

* New colors almost work

* Correct g2 palette loading indices

* Invisible color sprite displays properly

* Repaint works with large scenery and walls

* Prevent random shop items from overflowing to junk palettes

* More cleanup

* Fix glass palettes

* Add mapping of new colors to original colors for UI themes

* Fix junk palettes for random shop items

* Fix missing highlight color in software renderer

* Convert small scenery support flag to allow use of new colors

* Progress on displaying new colors in software renderer

* Fix invisible color scheme sprite

* Formatting cleanup

* Resolve comparison of integer expressions of different signedness

* Index g2 palette maps to fix visible chain lift

* Progress on fixing new colors in software renderer

* Fix station and support colors

* Fix dropdown selected index

* Get invisible color (mostly) working in software renderer

* Use forceBmp for palette resources

* Remove test function definition left in by mistake

* Remove some obsolete range checks for original color values

* Add changelog entry

* Reorder color dropdown based on NE user feedback

* Some cleanup

* Further cleanup

* Formatting

* Add include for GetPaletteMapIndexForColour

* Fix a couple things I broke

* Fix function placement

* Revert "Add include for GetPaletteMapIndexForColour"

This reverts commit 0af9611e6656d792adb7a36efe7dbf3387a4a759.

* Use color constants for color order list

* Make remappable colors contiguous

* turn off clang format for ordered color list

* Appease clang

* Use all colors for random shop item animation

* Improvements to palette map resources

* Fix chain lifts again + adjustments to a few colors

* Update changelog and contributors.md

* Revert changes to S4 and S6 importers which are no longer needed

* Bump network, plugin, and minimum park versions

* Revert "Progress on displaying new colors in software renderer"

This reverts commit 337602e4a78a67f828d9c524138a1cb79b2c91dc.

* Remove unnecessary comment

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-06 08:36:07 +01:00
Hielke Morsink
b4beb0c69f Fix #19839: Game freezes on protected rides tab (#19840) 2023-04-06 07:33:29 +02:00
Michał Janiszewski
ee6746373e Fix #19817: merry-go-round doesn't have a vehicle until opened (#19842)
Merry-go-round doesn't receive its vehicle until it gets tested/opened,
but tries painting non-existent guests anyway, leading to reference
binding to nullptr.
2023-04-06 00:55:05 +02:00
ζeh Matt
86456f3538 clang-format fixes 2023-04-05 23:37:18 +03:00
Duncan
1ec62e44bb Add missing string test (#19837) 2023-04-05 21:28:50 +01:00
ζeh Matt
c248ac58ed Make passing of CoordsXY explicit 2023-04-05 23:23:19 +03:00
ζeh Matt
1a0afab6c6 Remove redundant ToCoordsXY 2023-04-05 23:18:12 +03:00
ζeh Matt
0c3c2ebcd2 Refactor MapGetSurfaceElementAt to accept TileCoordsXY 2023-04-05 23:13:47 +03:00
ζeh Matt
be45b20de8 Fix parameter deduction for TileElementsView 2023-04-05 22:56:00 +03:00
ζeh Matt
2ee7c24282 Use TileCoordsXY for the TileElementsView 2023-04-05 22:55:34 +03:00
AuraSpecs
19a8384547 Update OpenMusic to version 1.2.0 (#19833) 2023-04-05 20:21:12 +01:00
Duncan
d3c492a967 Update objects for OpenRCT2/OpenRCT2#19547 (#19836) 2023-04-05 19:03:50 +00:00
Hielke Morsink
28252bcb79 Add changelog entry for #12598 (#19834) 2023-04-05 17:08:18 +02:00
Michał Janiszewski
fe4be750c6 Fix #12598: Incorrect assignment in TrackDesign (#19831) 2023-04-05 13:05:48 +00:00
X123M3-256
3c4e32458a Add large sloped turns to hybrid and single rail (#19547)
* Implement large sloped turns

* Fix formatting

* Add sprites

* Fix large turns button being active on steep slopes

* Remove bad comment

* Increment network,plugin,park version numbers

* Update changelog

* Increment park file version again
2023-04-05 13:47:56 +01:00