Commit Graph

24269 Commits

Author SHA1 Message Date
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
OpenRCT2 git bot 3b813a50e3 Merge Localisation/master into OpenRCT2/develop 2022-11-12 04:09:01 +00: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
Michael Steenbeek f0d0042dc4
Add X7 and karst to long-time contributors 2022-11-11 16:00:15 +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
Gymnasiast 489300b02f
Remove now-obsolete object translations 2022-11-10 21:50:42 +01:00
OpenRCT2 git bot 3f61c7b501 Merge Localisation/master into OpenRCT2/develop 2022-11-10 04:13:25 +00:00
OpenRCT2 git bot a0096127eb Merge Localisation/master into OpenRCT2/develop 2022-11-09 04:17:42 +00:00
spacek531 9aa67e77ba
Refactor VehiclePitchCorkscrew to template 2022-11-08 21:38:16 +01:00
Gymnasiast bfe7168b56
Close #18536: Guest window still refers to “sprite ID” 2022-11-08 18:26:50 +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
OpenRCT2 git bot d8447a70fd Merge Localisation/master into OpenRCT2/develop 2022-11-06 04:07:42 +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
Demon 21fbcbc608
Mention minimum versions of GCC/Clang for C++17 2022-11-05 12:41:18 +01:00
Rik Smeets c9b6292b88
Fix #11679: Facilities clipping issues 2022-11-05 12:08:23 +01:00
Rik Smeets f41e395d0a
Merge pull request #18473 from Broxzier/bugfix/18459-missing-railings
Fix #18459: 'Highlight path issues' hides fences for paths with (non-bin) path additions
2022-11-05 10:03:11 +01:00
Stephan Spengler 2eacfdda04
[Plugin] Add widget description interfaces to documentation. (#18428) 2022-11-05 10:00:09 +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
Michał Janiszewski 815ae2ebbc
Cancel CI jobs for old commits in PR (#18505) 2022-11-04 07:21:23 +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
OpenRCT2 git bot a443e349ce Merge Localisation/master into OpenRCT2/develop 2022-11-04 04:15:43 +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
Michael Steenbeek 5451b152ad
Fix sprite export x and y offset output 2022-11-02 19:58:32 +01:00
Michał Janiszewski afd0346d66
Fix #18481: prevent misuse of moved-from object in WindowTooltipShow (#18483) 2022-11-02 00:19:43 +01:00
Rik Smeets b2ae5b1413
Fix guests stopping dead in tracks at crossings (#18245)
When guests have to stop for a railway crossing, they stop dead in their tracks - right at the frame at which stop walking. This could look a tad weird at times.

Now, guests will assume a natural idle waiting position. If they have food or a drink, they will continue consuming it from time to time. And occasionally, guests might even wave at the train passing by!
2022-11-01 08:43:38 +01:00
Rik Smeets 6faddd94f5
Fix slow guests don't get across level crossing in time (#18453) 2022-10-31 19:57:50 +01:00
Tulio Leao 787acb903b
Close #13810: Refactor TrackDesignManage window to class (#18314)
* Close #13810: Refactor TrackDesignManage window to class

* Remove redundant condition on TrackDesignManageWindow::OnTextInput

* Make early exit ifs on TrackDesignManageWindow::OnTextInput else ifs

* Apply suggestions from code review

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-10-29 17:34:39 -03:00
Duncan 49e44967f0
Fix plugin text property (#18444)
* Fix text property being available for all widget classes

Due to dukglue using a template to infer the class that a method is for it ends up registering the base class rather than the derivied class. This meant that the 3 registers of text all made text available for every type of widget. To disable it for the colourpicker, custom, listview and viewport I've explicitly had to define the template and register it for all the relevant widgets

* Up scripting version
2022-10-29 15:41:41 -03:00
AuraSpecs 94afb8b99d
Update the Bug Report Form for 2022 (#18275)2 2022-10-29 20:40:59 +02:00
Tulio Leao 582863e50c
Merge pull request #18366 from Broxzier/refactor/consistent-integral-suffix 2022-10-29 12:26:43 -03:00
Hielke Morsink 31dd4bf604
Use lower-case u integral suffix 2022-10-29 16:33:05 +02:00
Hielke Morsink 97a7fcc110
Consistently use literal suffix in upper-case 2022-10-29 16:28:53 +02:00