1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

18751 Commits

Author SHA1 Message Date
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
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
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
Tulio Leao
3656ddfb14 Fix #18442: About window background is clickable (#18446) 2022-10-29 16:23:59 +02:00
Xixiang Chen
133f435350 Close #18317: Refactor InstallTrack window to class (#18412)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-10-29 09:33:40 -03:00
Raymond Zhao
0647d12de8 Close #18315: Refactor Error window to class (#18403) 2022-10-29 09:25:20 -03:00
Raymond Zhao
f7364fe3db Close #18319: Refactor SavePrompt window to class (#18335) 2022-10-29 09:19:59 -03:00
Stephan Spengler
2aa46a7dca Change type of listviews from 'scroll_view' to 'listview'. (#18449) 2022-10-26 18:51:16 +01:00
Xixiang Chen
96b08ca801 Close #18325: Refactor tooltip window to class (#18399) 2022-10-26 06:52:32 -03:00
Raymond Zhao
6319e8b7d2 Close #18323: Refactor TitleMenu window to class (#18395) 2022-10-26 06:44:38 -03:00
Henry Cheng
cf9ec0bd4a Fix no overwrite alert on Windows if there are capitalization differences (#18375) 2022-10-26 08:19:44 +02:00
73
38d5793b0b Replace Chose with Choose for grammatical purposes (#18440)
The action is being performed in the present tense so it makes far more sense to use Choose than Chose in this function
2022-10-26 07:34:35 +02:00
Henry Cheng
93cdfbf26a Fix #17657: Grid disappears when buying land rights (#17793) 2022-10-25 19:46:31 +00:00
Michael Steenbeek
23a8914de7 Allow adding images to MusicObjects 2022-10-25 21:44:58 +02:00
Haven Kim
5e3f1af161 Fix #17854 : InventionList reorder is inconsistent
beforeItem is a reference of an item in the vector. The List deletes the dragged item before adding it and it mutates the beforeItem pointer.
2022-10-24 22:58:11 +02:00
Silent
79660f2fe9 Fix FileWatcher (#18216) 2022-10-23 21:35:00 -03:00
Haven Kim
58e2da72c6 Fix #18379 : Mini Golf doesn't render Special E track's tunnel correctly (#18404)
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2022-10-23 20:32:59 +00:00
Michał Janiszewski
286f010e03 Add missing synchronization to JobPool::CountPending (#18414) 2022-10-23 12:10:59 +02:00
Raymond Zhao
a3342a5484 Close #18321: Refactor TitleExit window to class (#18337) 2022-10-20 06:33:46 -03:00
Xixiang Chen
032b214ff6 Close #18320: Refactor StaffFirePrompt window to class (#18368) 2022-10-20 06:24:31 -03:00
AuraSpecs
2544d91aaa Convert custom invisible paths in SV6 files to the built-in ones 2022-10-19 13:38:30 +00:00
Gymnasiast
14f9a75e0a Refactor FontSpriteBase and font size into FontStyle 2022-10-19 11:59:26 +02:00
Gymnasiast
9ca9412205 Refactor Dark/ExtraDark into its own structure 2022-10-19 11:57:33 +02:00
Hielke Morsink
f91df4138c Merge pull request #18359 2022-10-18 23:39:49 +02:00
Thamara Andrade
9edb3966fb Close #13785: Refactor NetworkStatus window to class (#18302) 2022-10-18 06:54:01 -03:00
Hielke Morsink
3bb8ea3668 Better annotate some magic numbers in for loops 2022-10-17 16:08:55 +00:00
Eilidh Martin
fdbceae17c Fix #18324: Refactor TitleOptions to class 2022-10-17 15:29:17 +02:00
Hielke Morsink
5fa53ad528 Rename global config functions to use TitleCase 2022-10-16 21:46:08 +02:00
Hielke Morsink
f9d1f024c2 Rename public plug-in config data members 2022-10-16 21:46:07 +02:00
Hielke Morsink
0ca7bb058f Rename public font config data members 2022-10-16 21:46:07 +02:00