Commit Graph

23457 Commits

Author SHA1 Message Date
Hielke Morsink e39fd9226f
Merge pull request #17426 from Broxzier/refactor/variadic-title-commands 2022-06-28 22:55:47 +02:00
Hielke Morsink 2936de5c86
Replace hardcoded 255/0xFF with TUNE_ID_NULL 2022-06-28 22:55:25 +02:00
Ted John 17a736bab6 Update the changelog 2022-06-28 21:11:40 +01:00
Hielke Morsink 79ae03fc5e
Rename `command` to avoid ghosting
It's curious that gcc complains about ghosting here, since the lambda has its own stack pointer, and doesn't capture the outer `command`.
2022-06-28 21:57:29 +02:00
Hielke Morsink 8e439b9895
Zero-initialize all command arguments 2022-06-28 21:57:29 +02:00
Hielke Morsink 6a017ac761
use std::decay helper type 2022-06-28 21:57:28 +02:00
Hielke Morsink 0e5cfce073
Maintain centre view position when screen resizes 2022-06-28 21:57:28 +02:00
Hielke Morsink 43f49f2483
Fix: commands used as tags don't save in scripting 2022-06-28 21:57:28 +02:00
Hielke Morsink 2b52df87ce
Move scripting command names to command classes
This way, new commands are required to have this field, or a compiler error will occur.
2022-06-28 21:57:27 +02:00
Hielke Morsink c8537d57b3
Note for commands used as tags 2022-06-28 21:57:27 +02:00
Hielke Morsink 3da305b82f
Implement follow entity command 2022-06-28 21:57:27 +02:00
Hielke Morsink 239dcb1677
Update title sequence scripting part 2022-06-28 21:57:26 +02:00
Hielke Morsink 1fc2312abd
Move most command logic from sequence player
This commit also moves everything related to the OpenRCT2::Title namespace.

Can be compiled with ENABLE_SCRIPTING disabled.
2022-06-28 21:57:26 +02:00
Hielke Morsink 6bfba88845
Move title commands to their own source files 2022-06-28 21:57:26 +02:00
Hielke Morsink debdb0bcda
Make title sequence commands list variadic 2022-06-28 21:54:25 +02:00
Ted John 854655af55
Fix #17466: New object types not packed in save files (#17467) 2022-06-28 19:59:09 +01:00
Ted John c823bf5f7e
Merge pull request #17465 from IntelOrca/fix/17462-audio-crash
Fix #17462: Crash when zooming or moving around the park
2022-06-28 19:58:54 +01:00
Sadret 1b154b1b6e
Fix #17450: Ducks can swim on three-corners-up land tile. (#17456) 2022-06-27 21:37:00 -03:00
Ted John 00014adec9 Fix #17462: Crash when zooming or moving around park
Lock the mixer while disposing an audio source.
2022-06-28 00:25:57 +01:00
Ted John 83758de284 Prevent ride music popping in loudly 2022-06-28 00:16:40 +01:00
Ted John 585ebed600
Fix #17297: Crash when switching language (#17370)
* Refactor all uses of IAudioChannel and the audio mixer.
* Use shared_ptr to avoid dead pointers hanging about.
* Reload particular audio channels where necessary after object reload.
2022-06-27 17:41:53 +01:00
giraty 0d6a8af643
Typo in changelog.txt (#17458)
* Typo in changelog.txt

* Found one more typo in changelog.txt

Co-authored-by: octavianputra <octavianputra@yummycorp.com>
2022-06-27 14:54:36 +01:00
Basssiiie 4d8dd516bf
Fix plugin ‘Car.travelBy()’ moving other cars as well (#17369) 2022-06-26 20:28:54 +01:00
Nicolas Espinosa Mooser 69ff925b1e
Refactor window to class: Staff (#17400)
* Refactor window to class: Staff
Close OpenRCT2/OpenRCT2#13806
2022-06-26 07:07:59 +01:00
jazzysoggy f77611dcd2
Fix #17229: Rename G1_FLAG_BMP to G1_FLAG_HAS_TRANSPARENCY (#17441)
* Renamed All Instance of G1_FLAG_BMP

Renamed all instances of G1_FLAG_BMP to GA_FLAG_HAS_TRANSPARENCY

* Fixed comments and labels

Fixed comments and labels to be more in line with new definitions
2022-06-25 07:04:40 +01:00
Hielke Morsink fb7be451e5
Add changlog entry for #17433 2022-06-23 11:50:31 +02:00
ywnico 2d9e2de603
Fix: Wrong T-shirt colors when riding Twist (#17433)
A typo in the code had caused the wrong ImageId object to be used when
painting the peeps, resulting in their T-shirts being set to the ride
colors. The peeps are now painted with the correct T-shirt colors.
2022-06-23 07:07:59 +01:00
Hielke Morsink 5b2d1c2527
Use viewport flag constants in window_scroll_to_location (#17427) 2022-06-21 21:49:56 -03:00
Gymnasiast c76d90932e
Add #15787 to changelog, reword #16911 2022-06-21 20:38:55 +02:00
Artem Yanenko 790e237b80
Fix #15787: toggling upper case banners only works after 10 secs 2022-06-21 20:37:45 +02:00
Michael Steenbeek 3e2abdd2be
Merge pull request #17418 from Gymnasiast/hybrid-single-ladybird
Update objects to v1.3.2
2022-06-21 20:12:54 +02:00
Gymnasiast 49f8743894
Amend changelog 2022-06-21 19:06:47 +02:00
Gymnasiast 20f458b561
Remove outdated comment 2022-06-21 19:05:31 +02:00
Gymnasiast 23e9932c45
Add code to update IDs for hybrid/single-rail 2022-06-21 19:05:31 +02:00
Gymnasiast 486602077e
Use ported RCT1 vehicles for the Classic Mini Roller Coaster 2022-06-21 19:05:31 +02:00
Gymnasiast 3a74b9c6ac
Update objects to v1.3.2 2022-06-21 19:05:30 +02:00
Michał Janiszewski 20a4d0be20
Merge pull request #17423 from CookiePLMonster/patch-1
Update changelog to mention a pre-NT6 removal
2022-06-21 06:24:39 -07:00
Silent 5fe1942c0d
Update changelog.txt 2022-06-21 09:46:38 +02:00
Silent dc7e31f7af
Remove any traces of WinNT5.1 as per #16911 2022-06-20 21:26:40 +02:00
Artem Yanenko 29beb2962d
Fix primary color picker for canvas tent (#17416) 2022-06-20 21:24:09 +02:00
Hielke Morsink 13db5a771b
Annotate hardcoded arrays and verify their sizes
This also reduces the number of lines within // clang-format comments
2022-06-16 23:51:24 +02:00
Michał Janiszewski 9a244b14ae
Update debian packaging for flac, vorbis 2022-06-13 23:59:20 +02:00
autofire372 d76a21551a
Fix #17381: wrong stat penalty on APVC
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
2022-06-13 18:31:26 +00:00
frutiemax 9c796816a1
Add DesignCreateMode field to the RTD (#16987) 2022-06-13 08:39:37 -03:00
OpenRCT2 git bot faa5a41f5a Merge Localisation/master into OpenRCT2/develop 2022-06-13 04:14:11 +00:00
Hielke Morsink b0ffa9d28e
Add missing includes to VehicleEntry.h (#17376) 2022-06-11 13:48:57 -03:00
OpenRCT2 git bot f9360f5ea5 Merge Localisation/master into OpenRCT2/develop 2022-06-11 04:04:23 +00:00
Hielke Morsink f57da4a2e8
Fix a few inconsistent quote usages 2022-06-10 23:37:31 +02:00
MaxMallon f178163fe9
Don't Reset the weather when converting a save to scenario 2022-06-10 09:56:55 +02:00
Sadret 6b29d03475
Fix #17346: Surface height markers are concealed by surface sprites. (#17345) 2022-06-09 20:05:27 +01:00