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

234 Commits

Author SHA1 Message Date
kyphii
6dfc6225e2 "Reversed Trains" Option (#19305)
* Initial commit for backwards-facing trains

* Allow persistence for reversed cars across save/load

* Make log flume turntable compatible with new reversal implementation

* Style fixes + Better implementation of inverted bank angles

* Further Style Fixes

* Code cleanup from PR feedback

* Fix GetBankRotationForDrawing function declaration

* Use update flag for reversed state

* Replace modulo operation with bit mask

* Correct guest pathing destination when entering reversed cars

* More style fixes

* Add plugin support for reversed vehicles

* Fix formatting error

* Derive reversal from ride mode for car spawning

* Formatting

* Rename function to GetPaintBankRotation

* Add reversed trains modes to Multi Dimension Coaster

* Change name of isReversed plugin API parameter for consistency

* Replace reversal operating modes with separate ride setting

* Add ALLOW_REVERSED_TRAINS flag to more ride types

* Make clang-format happy

* More Formatting

* Fix ALLOW_REVERSED_TRAINS flag on a couple rides

* Exclude flat rides from Reverse Trains tickbox when cheats are enabled

* Formatting

* Use Disable Vehicle Limits cheat for checkbox appearance condition

* Use correct swinging sprites when cars are reversed

* Update changelog and Plugin/Network/Park version numbers

* Formatting

* Add separate error String ID for clarity

* Add name to contributors.md

* Fix ride vehicle preview window with reversed trains for RCT1 train types

* Bump version numbers again

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-21 19:22:33 +03:00
Wenzhao Qiu
8f0db4cb20 Fix #16791: rotodrop top piece is replicated (#19970)
* Fix rotodrop top piece replication issue (#16791)

* Add changelog entry

* Raise network version

* Move changelog entry
2023-04-21 09:48:17 -03:00
Chase
7e313d45cd Fix #19906: Destructible cheat does not allow ride modification (#19924) 2023-04-14 21:10:54 -03:00
Nikolas Parshook
ef35dfa40a Expose obj image offset and num images to plugins (#17567)
Co-authored-by: Duncan <duncans_pumpkin@hotmail.co.uk>
2023-04-13 19:09:15 +00:00
Wenzhao Qiu
0a28f6b0b9 Close #18316: Refactor GameBottomToolbar window to class (#19896)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2023-04-13 06:13:12 -03:00
Meehoi
b4156c0c77 Fix highlight path issues not hiding wall elements (#19830)
* Fix highlight path issue not hide wall element

* Add changelog and contributors
2023-04-09 19:13:47 +02:00
kyphii
39790779bb Extend color selection dropdown with more colors (#19446)
* Setup for extended palette

* Define order for color picker cells

* Init G2 Palettes in ColoursInitMaps

* Add Glass Palettes

* Use special sprite for Invisible color

* Set up new cheat for special colors

* Add glass palettes to palette_to_g1_offset

* Add entries for new colors in TranslucentWindowPalettes

* Finish implementation of special colors cheat

* Some cleanup

* New colors almost work

* Correct g2 palette loading indices

* Invisible color sprite displays properly

* Repaint works with large scenery and walls

* Prevent random shop items from overflowing to junk palettes

* More cleanup

* Fix glass palettes

* Add mapping of new colors to original colors for UI themes

* Fix junk palettes for random shop items

* Fix missing highlight color in software renderer

* Convert small scenery support flag to allow use of new colors

* Progress on displaying new colors in software renderer

* Fix invisible color scheme sprite

* Formatting cleanup

* Resolve comparison of integer expressions of different signedness

* Index g2 palette maps to fix visible chain lift

* Progress on fixing new colors in software renderer

* Fix station and support colors

* Fix dropdown selected index

* Get invisible color (mostly) working in software renderer

* Use forceBmp for palette resources

* Remove test function definition left in by mistake

* Remove some obsolete range checks for original color values

* Add changelog entry

* Reorder color dropdown based on NE user feedback

* Some cleanup

* Further cleanup

* Formatting

* Add include for GetPaletteMapIndexForColour

* Fix a couple things I broke

* Fix function placement

* Revert "Add include for GetPaletteMapIndexForColour"

This reverts commit 0af9611e6656d792adb7a36efe7dbf3387a4a759.

* Use color constants for color order list

* Make remappable colors contiguous

* turn off clang format for ordered color list

* Appease clang

* Use all colors for random shop item animation

* Improvements to palette map resources

* Fix chain lifts again + adjustments to a few colors

* Update changelog and contributors.md

* Revert changes to S4 and S6 importers which are no longer needed

* Bump network, plugin, and minimum park versions

* Revert "Progress on displaying new colors in software renderer"

This reverts commit 337602e4a7.

* Remove unnecessary comment

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-04-06 08:36:07 +01:00
AuraSpecs
19a8384547 Update OpenMusic to version 1.2.0 (#19833) 2023-04-05 20:21:12 +01:00
John Mulcahy
3916221cfb Part of #19608: improve error reporting of zip command failure (#19672) 2023-03-22 19:52:54 +00:00
HtotheTML
b41438bbc9 Fix missing water tile in Infernal Views (#19641)
* Update S6Importer.cpp

Edit a stray tile in the lava river of Infernal Views to have its missing lava.

* Update changelog.txt

* Update contributors.md
2023-03-14 19:26:51 +00:00
Ernest Wong
e9ecf6ee4a Fix #19553: Undefined upkeep cost check uses new sentinel value (#19568)
* Fix #19553: Undefined upkeep cost check uses new sentinel value

Mistake from #19469
2023-03-05 20:16:31 +00:00
Josh Trzebiatowski
04aeed8692 Add "All Scenery" tab to scenery window 2023-02-22 23:31:21 +00:00
Andrew
ef730aa56c Fix #14635: Show more scenery tab groups in rows (#19373) 2023-02-14 20:57:11 +00:00
eaeiv
96bfa633fe Widens TotalRideValue to fix overflow reported in #19292 (#19326)
* Widens TotalRideValue to 64 bits

* Adds name to contributors file

* Adds totalRideValue overflow fix to changelog
2023-02-09 21:51:03 +00:00
Diego Mateos
1bf5d2eb50 Updated es-ES translators: added and sorted (#19274) 2023-01-25 17:31:34 -03:00
Michael Steenbeek
82d2a7bcfb Remove myself from the dev team 2023-01-22 22:29:05 +01:00
zzril
f9649795a0 Fix #19112: Search filter in does not properly clear
Co-authored-by:  Josh Trzebiatowski <trzejos@users.noreply.github.com>
2023-01-13 23:40:19 +01:00
Umar Ahmed
960a989d05 Close #11473: Implement FileWatcher for macOS 2023-01-08 14:18:13 +01:00
Nehemiah Negussie
eeb5c58238 Fix #18971: New Game does not prompt for save before quitting (#19046)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2023-01-06 08:56:46 -03:00
mdbckrtn
bb1c5d8ca8 Fix #18467: "Selected only" filter is active in Track Designs Manager 2022-12-31 14:10:38 +01:00
HouseholdVTuber
228a8573e2 Fix #18364: No Too High! or Too Low! error messages when attempting to raise/lower land beyond the limits 2022-12-06 23:06:06 -03:00
Michael Steenbeek
f0d0042dc4 Add X7 and karst to long-time contributors 2022-11-11 16:00:15 +01: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
That Human
9b4cdb903c Add some basic info for MSYS2 building to README.md (#18387) 2022-10-29 10:28:48 -03:00
Xixiang Chen
96b08ca801 Close #18325: Refactor tooltip window to class (#18399) 2022-10-26 06:52:32 -03:00
Raymond Zhao
d415a5bd10 Add self as a contributor (#18336) 2022-10-14 11:49:02 +02:00
AuraSpecs
dda256ef5f Add inverted large loops and inverted boosters to Flying RC 2022-10-13 20:51:54 +02:00
73
9fe568a4b0 Add myself to contributors.md (#18243) 2022-10-07 20:16:29 +02:00
Nick
4aabc00335 Fix: ghosts are counted in guest scenery or fountain thoughts 2022-10-05 17:57:22 +00:00
Michael Steenbeek
76412c6ac3 Add rik-smeets to development team 2022-09-22 18:19:34 +02:00
Dan Stevens
4291568a95 Fix #17844L ‘ride.ratings.calculate’ hook called several times during calculation
The ‘ride.ratings.calculate’ API hook is now called for a ride only after its rating calculations are complete (RIDE_LIFECYCLE_TESTED lifecycle_flag is set).
2022-08-21 00:25:17 +02:00
Henry Cheng
3bad01a704 Fix #17553: Crash when moving invention list items to empty list (#17555)
* Fix content check

* Add change log entry

Co-authored-by: Duncan <duncans_pumpkin@hotmail.co.uk>
2022-07-17 07:12:29 +00:00
8street
213696ea27 Add option to sell merchandise in random colours
Co-authored-by: 8street <nikolai_e@rambler.ru>
2022-07-12 22:20:49 +00:00
Huu Kim Nguyen
c949edd591 Crop giant screenshot to horizontal view-clip area 2022-07-06 23:11:43 +02: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
Karst
5478553f7d Update Shields in Readme 2022-06-06 19:52:47 +00:00
hobyr
4035139f31 Fix #17104: Changing map size does not invalidate park size 2022-05-07 13:41:15 +00:00
Olivier Wervers
593be7ef28 Add option to show ride vehicles separately 2022-05-03 22:49:47 +02:00
EWouters
6fb8bc660c Add myself to the list of bug fixers
As requested in #17023.
2022-04-25 20:45:24 +02:00
Michael Steenbeek
fbf355c233 Move ZehMatt to former members
[ci skip]
2022-04-03 00:43:10 +02:00
lawrence
ed08654bfa Fix #16308: Update changelog 2022-03-28 20:38:33 +02:00
alcz
45369e3497 Fix #16565: Ducks/birds always spawn at the edge of the old map limit (#16844)
* Fix #16565: Ducks/birds always spawn at the edge of the old map limits

Fix #16565: birds/ducks spawning at fixed 255-sized map boundary.

Instead spawn at actual map boundary (MapSizeMaxXY) where applicable

* Update Network Version

Increments network version
2022-03-22 16:49:54 +00:00
andrewpratt64
5ea89b9b47 Add function to get all entities on a tile to plugin api
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:08 +01:00
Charles Machalow
99db07cfe0 Fix #16759: No music when unmuting the game in title screen 2022-03-14 21:16:16 +01:00
Rik Smeets
1f83fa417c Update guest list defaults 2022-02-27 18:46:08 +01:00
GalBr
cb83d8ff05 Fix #14674: Recent Messages only shows at most 6 or 7 notifications 2022-02-11 21:47:08 +01:00
Vinícius Hashimoto
4155bf9ce0 Close #13748: Refactor About window to class (#16297) 2021-12-27 18:44:06 -03:00
Cory Sanin
68ee0a7804 Use .park file extension for save_park or autosave (#15957)
Use correct file extension when saving from the console or when performing an autosave. Otherwise .park files are generated with the old .sv6 extension.
2021-11-22 09:41:44 +00:00
Romain
4e8916cff2 Fix translator username (#15926) 2021-11-17 12:39:48 +00:00
chrhaase
4ff0022c58 Fix #15844: Tile Inspector inconsistent text colour
`COLOUR_WHITE` was being passed as the colour when drawing
any text. The Options window uses the `rct_window::colours`
array for resolving the correct theme colour.
Replacing all occurrences of `COLOUR_WHITE` with
`w->colours[1]` makes the text colours more consistent.
In the details section values are still painted in black
no matter the colour theme, which is consistent with e.g.
the park information window.
2021-11-09 09:11:48 +01:00