Michael Steenbeek
c338e2c292
Merge pull request #18657 from Gymnasiast/objects-release
...
Update objects to v1.3.7
2022-11-24 12:56:52 +01:00
spacek531
a617d393ed
Read and write version field of .park
2022-11-23 23:20:44 +01:00
Rik Smeets
0ea5f343af
Fix #18469 : Land rights window issues ( #18662 )
...
Global variables regarding land ownership weren't initialized upon loading a .park file. This would lead to different bugs when using the 'Land rights' window, like markers remaining visible indefinitely and not being able to select the type of land rights to buy.
2022-11-23 20:02:34 +01:00
Michael Steenbeek
9855ff5cac
Fix spelling of *_COLOR_* constants
2022-11-23 18:42:14 +00:00
Michael Steenbeek
06b9dacfaf
Revert "Fix #11679 : Facilities clipping issues" ( #18660 )
...
This reverts commit c9b6292b88 .
Unfortunately #11679 had side effects more serious than the problem it set out to solve. So unfortunately we’ll have to revert it, unless @rik-smeets has another solution.
See here: https://github.com/OpenRCT2/OpenRCT2/pull/18358#issuecomment-1304615840
2022-11-23 18:31:37 +00:00
Ryan
f1c3ee33ff
Fix Dragon Islands not appearing in UCES tab
2022-11-23 18:26:59 +01:00
Gymnasiast
bd11230d46
Update object ID for people who used the development version
2022-11-23 18:22:22 +01:00
Gymnasiast
713a05f203
Remove obsolete object hacks
2022-11-23 18:18:20 +01:00
AuraSpecs
0a7a50e2c5
Add tab for UCES scenarios
...
The order of the scenarios is listed in the same order listed on the UCES website. This also allows for translating the scenarios to other languages!
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2022-11-22 15:18:55 +01:00
Simon J
f4e0480cba
Fix #10932 : Extensive warnings in console when placing an entrance or exit ( #13114 )
...
Co-authored-by: Simon Jarrett <mwnciau@users.noreply.github.com >
2022-11-20 09:03:08 -03:00
Basssiiie
5396368274
[Plugin] Fix crash when reading widget property on window that has both static and tab content ( #18620 )
2022-11-19 08:29:01 -03:00
Rik Smeets
9688d93e46
Open campaign tab from finished campaign news
...
When a marketing campaign is finished, it is likely the player wants to renew it.
This change allows the ‘Campaigns’ tab in the 'Finances' window to be opened from the news item of the finished campaign.
2022-11-18 13:26:52 +01:00
Michael Steenbeek
e13a2d70b3
Fix #18606 : JSON objects do not take priority over DATs they supersede
2022-11-17 18:50:20 +01:00
Haven Kim
7df08a304d
Fix #18244 : Invention DragWindow's starting position is inconsistent ( #18303 )
2022-11-17 07:44:43 -03:00
Duncan
75f3e82661
Provide more warnings for RideSetColourSchemeAction ( #18590 )
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2022-11-16 23:45:53 -03:00
73
48ba81371f
Fix #18600 : Some copyright years are not updated
...
this will address issue report #18600
2022-11-16 11:13:32 +01:00
Haven Kim
69e5439484
Fix #17067 : Random Staff Patrol Area clicks ( #18329 )
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2022-11-16 00:13:24 +00:00
Michael Steenbeek
bde4e2400f
Fix asset pack priority tooltips
2022-11-15 12:13:31 +01:00
Michael Steenbeek
96284123e7
Reduce usage of gCommonStringFormatBuffer
2022-11-14 23:48:34 +00:00
Michał Janiszewski
8439499004
Merge pull request #18555 from janisozaur/imageid-byval
...
Pass ImageId by value instead by const-ref
2022-11-13 22:15:40 +01:00
Michael Steenbeek
21e88a8a33
Remove code duplication in character bitmap init
2022-11-13 15:04:49 +01:00
Michał Janiszewski
237bba9e6f
Provide additional info for ImageId struct size requirements
2022-11-12 23:36:47 +01:00
Ted John
a136cf79ca
Add RMC friction as special friction sound
2022-11-12 12:04:11 +01:00
Ted John
4328860273
Add OpenSFX and OpenMSX downloads
2022-11-12 12:04:10 +01:00
Ted John
7dc0c1dddc
Add new audio object for RMC sounds
2022-11-12 12:04:10 +01:00
Karst
319276dc0e
Add RMC track sounds
2022-11-12 12:04:10 +01:00
Michał Janiszewski
e0bff8ef82
Update plugin API version for duktape version change ( #18556 )
...
Duktape got upgraded 2.6.0 -> 2.7.0 in #18485
2022-11-12 07:10:35 +01:00
Michał Janiszewski
3e4e8bccc5
Pass ImageId by value instead by const-ref
...
ImageId struct is 8-bytes large and can fit in CPU register. Passing it
by value lets compiler pass it in register instead of forcing to
reference it from memory.
In my tests this brings
[dome park](https://github.com/OpenRCT2/OpenRCT2/files/6134362/dome-export.zip )
benchgfx results from 42.16s down to 41.08s, or by 2.5%.
2022-11-12 00:06:05 +01:00
Michał Janiszewski
8bd9d9c551
Update duktape to v2.7.0 ( #18485 )
...
A somewhat bloated change due to duktape changing code style
2022-11-11 09:06:05 +01:00
Michael Steenbeek
24cc4d8feb
Merge pull request #18487 from 733737/mini-helis-horror-mansion-tunnel
...
allow mini helicopters to draw spinning tunnel
2022-11-10 22:16:59 +01:00
spacek531
9aa67e77ba
Refactor VehiclePitchCorkscrew to template
2022-11-08 21:38:16 +01:00
Gymnasiast
ebb264b702
Add spinning tunnel drawing code to Mini Helicopters
2022-11-08 18:09:29 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Michael Steenbeek
27f3a3a796
Create function to resize window frame
2022-11-06 10:29:40 +01:00
spacek531
22a2d11cfc
name more vehicle paint functions ( #18520 )
...
* rename un-renamed vehicle paint functions
* fix unfixed names
2022-11-06 07:44:59 +00:00
Rik Smeets
1f504fac2d
Add colour preset to Spiral Slide
2022-11-05 23:59:39 +01:00
Rik Smeets
3a9900cd14
Fix #1519 : “See-through rides” doesn’t affect all rides
...
Rides without track can technically have a vehicle, such as the merry go round or the pirate ship. These vehicles should be hidden of 'see through rides' is enabled.
2022-11-05 16:32:22 +00:00
73
643d79b700
Changed ride vehicle list to have less padding ( #18350 )
...
Co-authored-by: Rik Smeets <30838294+rik-smeets@users.noreply.github.com >
2022-11-05 13:43:15 +01:00
AuraSpecs
4c218ba443
Allow Inverted RC to draw boosters
2022-11-05 11:59:31 +00:00
AuraSpecs
a9a92c4fb9
Make g2 sprite order more coherent
2022-11-05 11:54:31 +00:00
Rik Smeets
c9b6292b88
Fix #11679 : Facilities clipping issues
2022-11-05 12:08:23 +01:00
Hielke Morsink
a1d35ec33d
Fix #18459 : 'Highlight path issues' hides fences
2022-11-05 09:32:22 +01:00
Hielke Morsink
474e04f957
Make a bit more sense of sub_6A4101
2022-11-05 09:31:32 +01:00
Meehoi
d1baf094af
Show cursor when using inverted mouse dragging ( #17998 )
2022-11-05 08:20:53 +01:00
Duncan
7f085e2752
Update rating skipping unused ride ids ( #14425 )
...
* Skip empty ride ids when evaluating ride ratings
This isn't much of a problem atm but when we increase the limit it may start to become an issue
* Increment network version
* Update changelog
2022-11-04 20:17:31 +00:00
73
048352edca
Guests will use Vanilla behaviour when choosing whether to head for a ride when leaving the park #15969 ( #18500 )
...
* Fix #18501 : Guests incorrectly determining ride
This will restore guest behaviour to how it was in rct2 vanilla by having them only try to determine whether to ride a ride if they haven't already decided to leave the park
* Fix peeps incorrectly deciding when to get on rides in rain
This should now match how vanilla operates in the rain
* Update replays
Co-authored-by: reticulatingsplines <13323105+ReticulatingSplines@users.noreply.github.com >
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2022-11-04 07:22:04 +00:00
spacek531
aa685e4cf6
move session flags into new header ( #18504 )
...
* move session flags into new header
2022-11-04 05:50:36 +00:00
AuraSpecs
2e053a72e7
g2: Remove all possible instances of SPR_G2_CHAR_BEGIN +
2022-11-03 18:20:52 +01:00
Rik Smeets
6b088e550c
Revert "Replace Chose with Choose for grammatical purposes ( #18440 )"
...
This reverts commit 38d5793b0b .
2022-11-03 13:43:19 +01:00
Michael Steenbeek
7f03a3b5c0
Remove unused Junior RC sprites from g2
...
Diagonal flat-to-steep pieces are present in g1.dat, unlike their
orthogonal counterparts, so these images were never used.
Pointed out by @karst.
2022-11-02 22:50:23 +01:00