29775 Commits
Author SHA1 Message Date
frutiemax 535b485d37 Remove goto label loc_6DCD2B 2024-02-04 21:41:00 +01:00
frutiemax 714b2a1ace Remove goto loc_6DCD4A 2024-02-04 21:41:00 +01:00
frutiemax 1cd1b7ca87 Remove goto label loc_6DC9BC 2024-02-04 21:41:00 +01:00
frutiemax 760a6aa337 Remove goto label loc_6DCC2C 2024-02-04 21:41:00 +01:00
frutiemax 83d840f3a5 Remove goto label loc_6DCD6B 2024-02-04 21:41:00 +01:00
frutiemax 62be6090a8 Remove goto label 6DC476 2024-02-04 21:41:00 +01:00
frutiemax b512914c4b Remove goto 6DCDE4 2024-02-04 21:41:00 +01:00
Michał Janiszewski 4e23ba3e16 Update GitHub Actions versions
Update of checkout v3->v4 addresses Node 16 deprecation.
Update of upload-artifacts v3->v4 improves performance, makes artifacts
  available as soon as they are completed (as opposed to current way of
  only becoming available once all jobs are done) and addresses Node 16
  deprecation.
Update of download-artifact v3->v4 is required to match upload-artifact.
2024-02-04 17:59:38 +01:00
Michał Janiszewski f89dbf0d15 Start v0.4.9 2024-02-04 16:26:34 +01:00
Michał Janiszewski e97500cbcc Merge branch 'master' into develop 2024-02-04 16:25:47 +01:00
Michał Janiszewski 05efdb2497 Release v0.4.8
- Feature: [#21062] [Plugin] Add API for managing a guest's items.
- Improved: [#18632, #21306] Land ownership and construction rights are now shown on top of the water.
- Improved: [#20951] Activate OpenRCT2 window after using native file dialog on macOS.
- Improved: [#21184] The construction marker for rides, paths and large scenery is now shown on top of the water.
- Improved: [#21192] Tooltips will now follow the cursor.
- Improved: [#21227] Entrance style dropdown is now sorted alphabetically everywhere.
- Change: [#21200] Raise maximum lift speeds of the Reverser Coaster, Side Friction Coaster, and Virginia Reel for RCT1 parity.
- Change: [#21225] Raise maximum allowed misc entities to 1600.
- Fix: [#19494] RCT1 fence gate walls not imported properly if they were placed on slopes.
- Fix: [#20196] New scenarios start with an incorrect temperature.
- Fix: [#20255] Images from the last hovered-over coaster in the object selection are not freed.
- Fix: [#20616] Confirmation button in the track designer’s quit prompt has the wrong text.
- Fix: [#20628] Moving caret using Ctrl+left can move too far when using a multibyte grapheme.
- Fix: [#20631] IME window not positioned correctly.
- Fix: [#20845] Trying to save under a folder with no write permissions causes a crash.
- Fix: [#21054] “No entrance” style is selected by default in the track designer.
- Fix: [#21145] [Plugin] setInterval/setTimeout handle conflict.
- Fix: [#21157] [Plugin] Widgets do not redraw correctly when updating disabled or visibility state.
- Fix: [#21158] [Plugin] Potential crash using setInterval/setTimeout within the callback.
- Fix: [#21171] [Plugin] Crash creating entities with no more entity slots available.
- Fix: [#21178] Inca Lost City’s scenario description incorrectly states there are height restrictions.
- Fix: [#21179] Additional missing land/construction rights tiles in Inca Lost City & Renovation.
- Fix: [#21198] [Plugin] Setting brake or booster speeds on a tile element doesn’t work.
- Fix: [#21290] Sound keeps playing when paused from fast-forward mode.
- Fix: [#21291] Hungry guests heading to any flat ride do not count for warning threshold (original bug).
- Fix: [#21309] Africa - Oasis & Blackpool Pleasure Beach’s monorails are built outside the park’s land rights.
- Fix: [#21316] Isolated land for sale tile on Extreme Hawaiian Island.
2024-02-04 15:29:56 +01:00
Michał Janiszewski 280e3a85a6 Merge branch 'develop' 2024-02-04 15:22:13 +01:00
OpenRCT2 git bot a6e5d5b192 Merge Localisation/master into OpenRCT2/develop 2024-02-04 04:01:46 +00:00
Matt 3514449591 Merge pull request #21192 from ZehMatt/adjust-tooltips
Make tooltips follow the cursor and refactor code
2024-02-03 19:50:01 +02:00
ζeh Matt c5ca671d5f Update changelog.txt 2024-02-03 19:28:48 +02:00
ζeh Matt 2c12b4921b Make tooltips follow the cursor and refactor code 2024-02-03 19:26:44 +02:00
f6ab154176 Add Community Guidelines (#21091)
* Add CoC template

Co-Authored-By: Hielke Morsink <hielke.morsink@gmail.com>
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>

* Customize CoC template

* Add Community Guidelines

* Update CommunityGuidelines.md

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* Update CommunityGuidelines.md

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

* Apply suggestions from code review

---------

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-02-03 13:42:26 +00:00
Michał Janiszewski 1a74a74988 Update backtrace token for upcoming release 2024-02-03 13:42:47 +01:00
Michał Janiszewski d7823d3ad3 Update backtrace token for upcoming release 2024-02-03 13:42:01 +01:00
HtotheTML 43b9ffb2b8 Fix park boundaries for out-of-bounds monorails in Africa - Oasis & Blackpool Pleasure Beach (#21309) 2024-02-02 07:54:27 -03:00
OpenRCT2 git bot 328c397718 Merge Localisation/master into OpenRCT2/develop 2024-02-02 04:02:02 +00:00
Michael Steenbeek 22715852f5 Merge pull request #21279 from Gymnasiast/refactor/hybrid-stuff
Use new WoodenASupportsPaintSetup() overloads for Hybrid Coaster
2024-02-02 00:03:09 +01:00
Michael Steenbeek f2862861ce Merge pull request #21305 from Gymnasiast/refactor/path-support-drawing
Refactor path support drawing
2024-02-01 12:54:27 +01:00
Michael Steenbeek 40c7e73189 Render selection grid for Map ownership on the water 2024-02-01 10:30:33 +01:00
HtotheTML a377538f0a Add missing owned land in Extreme Hawaiian Island (#21316)
* Update S6Importer.cpp

* Update changelog.txt
2024-02-01 06:22:31 -03:00
OpenRCT2 git bot 13fc351591 Merge Localisation/master into OpenRCT2/develop 2024-02-01 04:01:39 +00:00
OpenRCT2 git bot 8abda17cb3 Merge Localisation/master into OpenRCT2/develop 2024-01-31 04:01:41 +00:00
wstagg 4a51e7f362 Fix #20631: IME window not positioned correctly 2024-01-30 23:44:58 +01:00
Gymnasiast 0196606851 Apply review requests 2024-01-30 22:00:53 +01:00
Gymnasiast 295671ef8c Fix formatting 2024-01-30 21:57:03 +01:00
Gymnasiast 702113bb23 Extract PathPaintSlopedFences() 2024-01-30 21:57:03 +01:00
Gymnasiast 77048ffb7c Split up PathPaintFencesAndQueueBanners() 2024-01-30 21:57:03 +01:00
Gymnasiast 97fb10ceb1 Refactor signatures of Path{Box,Pole}SupportsPaintSetup() 2024-01-30 21:57:03 +01:00
Gymnasiast 17f5f38191 Rename Path{A,B}SupportsPaintSetup() 2024-01-30 21:57:03 +01:00
Gymnasiast c19cfd201c Extract PathPaintGetBaseImage() 2024-01-30 21:57:03 +01:00
Gymnasiast 706ef61e04 Extract PathPaintGetRotatedEdgesAndCorners() 2024-01-30 21:57:03 +01:00
Gymnasiast 64abf72fa2 Extract PathPaintGetBoundbox() 2024-01-30 21:57:03 +01:00
Gymnasiast d60e205f77 Consolidate PathPaintSegmentSupportHeight() 2024-01-30 21:57:03 +01:00
Michael Steenbeek ceafb68481 Actually pass in a reference to ImportResearchList() (#21308) 2024-01-30 09:20:31 +01:00
Tulio Leao fbe563c836 Merge pull request #21304 from Gymnasiast/refactor/gresearch-to-gamestate
Move gResearch* globals to GameState_t
2024-01-29 20:03:31 -03:00
Gymnasiast 8208afe5f6 Move gResearch* globals to GameState_t 2024-01-29 21:36:04 +01:00
Gymnasiast eb99798f4b Fix typo in changelog 2024-01-29 21:01:30 +01:00
Matt fc1b580074 Merge pull request #21244 from pfroud/add-error-strings
Add error strings to reduce how many `GameActions::Result`s have `STR_NONE, STR_NONE`
2024-01-29 18:02:37 +02:00
Severin Paul Höfer 89094cad0d Fix #21290: Sound keeps playing when paused from fast-forward mode (#21301)
* Stop additional calls to UpdateLogic after pausing

* Update changelog.txt
2024-01-29 15:35:28 +01:00
Peter FroudandTulio Leao a382e4be8a Use VALUE_OUF_OF_RANGE for spriteId checks
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-01-29 02:50:52 -08:00
Peter FroudandTulio Leao 21bda5e5e4 Use TILE_ELEMENT_NOT_FOUND
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-01-29 02:17:56 -08:00
Peter FroudandTulio Leao 01d9eeb266 INVALID_PARAMETER for GHOST_ELEMENT_NOT_FOUND
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-01-29 02:15:53 -08:00
Peter Froud 704c779bf2 Format code which was committed on github.com 2024-01-29 02:15:27 -08:00
Peter FroudandTulio Leao 7bb8fd7131 Add INVALID_PARAMETER for GHOST_ELEMENT_NOT_FOUND
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-01-28 21:27:35 -08:00
Severin Paul Höfer 704333344e Fix #21291: Wrong conditions for hungry guests warning
In `PeepProblemWarningsUpdate()`, when determining the number of hungry guests that need help (in order to check whether the threshold for showing the warning about hungry guests is reached), guests that are heading towards any flat ride (checked using the `RIDE_TYPE_FLAG_FLAT_RIDE` on the ride the guest is heading to (if any)) are discarded.  
For thirsty guests (and those needing to go to the toilet) on the other hand, the more specific `RIDE_TYPE_FLAG_SELLS_DRINKS` (or `RIDE_TYPE_FLAG_IS_TOILET`) is used. (So, a guest that becomes thirsty while on its way to the merry-go-round would count for the threshold here.)

This PR makes the function use the more specific `RIDE_TYPE_FLAG_SELLS_FOOD` for hungry guests, so it's consistent with the other cases.
2024-01-28 23:35:17 +00:00