1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 08:12:53 +01:00
Commit Graph

27667 Commits

Author SHA1 Message Date
Diego Mateos
75f0c4e727 es-ES: Add translation to Flathub package
Apply https://github.com/OpenRCT2/Localisation/issues/2973
2025-02-05 23:55:57 +01:00
Matt
eefba52735 Fix #23781: Changing weather does not update state for next weather (#23782)
* Fix #23781: Changing weather does not update state for next weather

* Bump up network version
2025-02-05 15:36:26 +01:00
OpenRCT2 git bot
784cd027fe Merge Localisation/master into OpenRCT2/develop 2025-02-04 04:02:15 +00:00
Andrew
ca40a412bc Make building new track inherit alternate colour scheme from previous piece 2025-02-03 21:48:42 +00:00
Gymnasiast
dd15932c8a Start v0.4.19.1+1 2025-02-03 21:33:01 +01:00
Gymnasiast
924f1abeb2 Merge branch 'master' into develop 2025-02-03 21:32:05 +01:00
Gymnasiast
455f22bbca Release v0.4.19.1
- Fix: [#23771] Weather transitions are horribly broken.
v0.4.19.1
2025-02-03 20:47:21 +01:00
Gymnasiast
e302634bef Merge branch 'develop' 2025-02-03 20:44:11 +01:00
Gymnasiast
75469832cc Update backtrace token for upcoming v0.4.19.1 release 2025-02-03 20:43:17 +01:00
AaronVanGeffen
dcc5e5bd81 Fix weather transitions 2025-02-03 20:41:54 +01:00
Matt
dcc926c4f0 Merge pull request #23776 from gibmat/guard-nullptr-dereference
Guard against possible null pointer dereferences
2025-02-03 00:31:47 +02:00
Mathias Gibbens
3508b62c3a Guard against possible null pointer dereferences
Signed-off-by: Mathias Gibbens <gibmat@debian.org>
2025-02-02 21:04:36 +00:00
matheusvb3
850cc397c3 Prevent staff statistics from overflowing (#23719)
* Use AddClamp when incrementing staff stats

* Remove decltype from AddClamp

* Use lowercase u in increment
2025-02-02 17:44:12 -03:00
Gymnasiast
c36ddb6d08 Start v0.4.20 2025-02-01 22:09:10 +01:00
Gymnasiast
5ea287b982 Merge branch 'master' into develop 2025-02-01 22:08:14 +01:00
Gymnasiast
088081dae6 Release v0.4.19
- Feature: [#23328] Introducing peep animation objects, enabling custom entertainer costumes.
- Feature: [#23569] Add large diagonal flat to steep and dive loop track pieces.
- Improved: [#20683] Allow Giga Coaster cable lift to start after block brake section.
- Improved: [#23328] The costume list in the staff window is now ordered alphabetically.
- Improved: [#23540] The file browser now optionally shows a file size column.
- Improved: [#23640] Building sprite repository with command line can use images array of JSON parkobj.
- Improved: [#23660] The ‘special elements’ dropdown has been reorganised, now using multiple columns and separators.
- Improved: [#23730] Added optional button to toolbar to rotate view anti-clockwise.
- Change: [#23328] All RCT2 entertainer costumes are now available in legacy parks.
- Fix: [#1479] Incorrect values provided by the in game console “get location” command.
- Fix: [#21794] Lay-down coaster cars reverse on first frames of downwards corkscrew.
- Fix: [#23221] Track designs are saved with an incorrect ‘air’ time statistic.
- Fix: [#23368] Incorrect refund amount when deleting track pieces at or above 96m.
- Fix: [#23508] Simultaneous virtual floors shown for ride and footpath.
- Fix: [#23512] Holding brakes are skipped if they’re too close together.
- Fix: [#23581] [Plugin] Food/drink items given to guests have no consumption duration set.
- Fix: [#23591] “Install new track” button in Track Designs Manager is misaligned.
- Fix: [#23618] Can no longer build diagonal brakes & block brakes on Steeplechase, Inverted Lay-down, & Inverted Multi-Dim roller coasters.
v0.4.19
2025-02-01 21:27:48 +01:00
Gymnasiast
a2df6f8f6a Merge branch 'develop' 2025-02-01 21:23:53 +01:00
Gymnasiast
284c6d396c Update backtrace token for upcoming v0.4.19 release 2025-02-01 21:22:46 +01:00
OpenRCT2 git bot
37735ff9aa Merge Localisation/master into OpenRCT2/develop 2025-02-01 21:16:30 +01:00
OpenRCT2 git bot
827504c874 Merge Localisation/master into OpenRCT2/develop 2025-02-01 04:02:11 +00:00
Aaron van Geffen
0049345f33 Cleanup the Climate file (#23755)
* Rename kClimateTransitions, kClimateWeatherData, kClimateWeatherGloom

* Rename WeatherTransition::DistributionSize to RandomBias

* Rename WeatherTransition type to WeatherPattern

* Rename WeatherState type to WeatherTrait and take internally

* Rename ThunderStatus type, kMaxThunderInstances constant
2025-01-31 23:27:37 +01:00
Michael Steenbeek
3c03fa308d Improve warning if language files cannot be loaded on Android 2025-01-31 23:24:50 +01:00
OpenRCT2 git bot
6f9d317edf Merge Localisation/master into OpenRCT2/develop 2025-01-31 04:02:22 +00:00
Michael Steenbeek
cfb28cd511 Turn Rotate View dropdown into two buttons
Co-authored-by: Gymnasiast <gymnasiast@users.noreply.github.com>
Co-authored-by: MasterTomNL <tomvanderlek@gmail.com>
2025-01-30 23:02:36 +01:00
Lura Skye
859a7f8c72 Fix crash placing rides without special elements. (#23739) 2025-01-29 14:47:13 +00:00
OpenRCT2 git bot
b6be456241 Merge Localisation/master into OpenRCT2/develop 2025-01-29 04:02:07 +00:00
Aaron van Geffen
17e1fab0f2 Fix hats/balloons/umbrellas not showing in guest notifications (#23728) 2025-01-28 16:31:33 +01:00
Michael Steenbeek
eeee934a47 Fix #23724: Maze Construction window buttons are not working (#23731) 2025-01-27 23:51:19 +01:00
Aaron van Geffen
24f4aa20d8 Reorganise special elements in construction window (#23660)
* Move kSpecialElementsDropdownOrder out of header file

* Move track pieces per Spacek's suggestions

* Show elements in multiple columns when appropriate

* Add separators between sections

* Split columns around a separator when possible

Co-authored-by: spacek531 <spacek531@comcast.net>
2025-01-27 22:38:43 +01:00
Aaron van Geffen
b850bf8786 Add changelog entry 2025-01-27 22:01:46 +01:00
Aaron van Geffen
9a8abf2b74 Dropdown: allow specifying number of rows per column (#23713)
* Dropdown: allow specifying number of rows per column

* Dropdown: fix indentation for kColoursDropdownOrder

* Dropdown: minor header cleanup
2025-01-27 21:49:24 +01:00
J. Neuschäfer
4bc13f2678 Platform.h: Reject big-endian systems (#23684)
Several tests fail on big-endian, indicating that the code isn't prepared
for such systems, but it wouldn't be obvious from just compiling OpenRCT2.
Make it obvious by checking it on Platform.h. Example output:

/home/user/src/OpenRCT2/src/openrct2-ui/../openrct2/platform/Platform.h:34:35: error: static assertion failed: OpenRCT2 is known to be broken on big endian. Proceed with caution!
   34 | static_assert(std::endian::native == std::endian::little,
      |               ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ninja: job failed
2025-01-27 19:37:42 +01:00
Aaron van Geffen
aeca38d131 Prevent drawing peep accessories whilst drowning (#23729) 2025-01-27 19:24:33 +01:00
matheusvb3
a4d8eb3417 Update Ubuntu Docker image for clang-tidy-check (#23727) 2025-01-27 18:32:59 +01:00
spacek531
f1148e310e Build image repository from object images (#23640) 2025-01-27 08:25:22 +00:00
Michael Steenbeek
5b5d91abb0 Fix #23221: Track designs are saved with an incorrect ‘air’ time statistic
Co-authored-by: UnknownShadow200 <UnknownShadow200@users.noreply.github.com>
2025-01-25 23:11:18 +01:00
Michael Steenbeek
a8beae2ef3 Merge pull request #23704 from Gymnasiast/refactor/mini-golf-gotos
Remove the last gotos
2025-01-25 22:05:03 +01:00
Matt
2aba954631 Merge pull request #23708 from ZehMatt/fix-23707
Fix #23707: Crash when plugins use a custom tool
2025-01-25 22:17:44 +02:00
ζeh Matt
a80702c61f Fix #23707: Crash when plugins use a custom tool 2025-01-25 21:42:53 +02:00
Matt
fa0e7342ec Fix #23701: Potential crash when using mouse wheel on some widgets 2025-01-25 15:33:14 +01:00
Gymnasiast
5769e9237f Move Loc6DCA9A to own function 2025-01-25 15:05:33 +01:00
Gymnasiast
4b13f45eec Move Loc6DC462 to own function 2025-01-25 14:40:23 +01:00
Gymnasiast
3ad19f71ee Make Loc6DCA9A a loop 2025-01-25 14:21:24 +01:00
Gymnasiast
774240d081 Make Loc6DC462 a loop 2025-01-25 13:59:37 +01:00
Aaron van Geffen
cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Aaron van Geffen
da0a772e4d Offset dropdown text labels and separators (#23700)
* Centre dropdown separators optically and add margins

* Offset dropdown item text slightly to add a slight margin
2025-01-25 13:43:01 +01:00
Michael Steenbeek
a3d5b4e0c3 Change FIXED_XDP from macros to constexprs 2025-01-25 13:42:22 +01:00
Matt
67024cec2d Merge pull request #23694 from AaronVanGeffen/viewport-struct
Move Viewport struct to Viewport.h
2025-01-25 00:37:46 +02:00
Aaron van Geffen
c8da126c95 Move Viewport struct to Viewport.h 2025-01-24 22:44:21 +01:00
Matt
e3929c1ca9 Merge pull request #23687 from ZehMatt/fix-23686
Fix #23686: Shortcut window crashing and missing widgets
2025-01-23 11:37:32 +02:00