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

26879 Commits

Author SHA1 Message Date
Aaron van Geffen
960bea7aae Prefer using passed game state in save import classes (#22682)
* Wrap global game state in a unique_ptr

* Make ImportTileElements, SetTileElements use game state passed

* Make ImportParkName, ImportSavedView use game state passed

* Make ImportPeepSpawns use game state passed

* Make FixEntrancePositions use game state passed
2024-09-06 23:04:14 +02:00
Michał Janiszewski
125ae170b2 Update Debian CI to Bookworm, Ubuntu CI to Noble (#22493)
* Update Debian CI image to Bookworm

* Disable optimizations for files tripping GCC 12

* Try disabling warnings instead of optimizations

* Update Ubuntu from jammy (22.04) to noble (24.04), drop i386

Dropping i386 as there are packages missing in upstream repository
required for OpenRCT2, such as https://packages.ubuntu.com/noble/libzip-dev

* Deprecate GCC older than 12

* Update Debian Bookworm CI configuration

* Update remaining jobs from Ubuntu jammy to noble

* Update docker images to v16 for libclang-rt-dev
2024-09-06 22:05:04 +02:00
Michael Steenbeek
14f92966a6 Skip unnecessary step after map init
There are no map animations to create on an empty map.
2024-09-05 19:58:00 +02:00
OpenRCT2 git bot
b40990570f Merge Localisation/master into OpenRCT2/develop 2024-09-05 04:02:04 +00:00
Aaron van Geffen
8f2b1a772c Allow using construction modifier keys for track design placement (#22669)
* Allow using construction modifier keys for track design placement

* Reduce nesting in OnToolDown

* Allow ctrl-matching against more interaction types

* Amend changelog
2024-09-04 22:26:43 +02:00
Michael Steenbeek
e81b0def6e Create TrackPaintUtilDrawStationTunnel() 2024-09-04 19:34:47 +00:00
Aaron van Geffen
b971d1596e Indent window widget definitions (#22700)
* Indent definitions in About, AssetPacks windows

* Indent definitions in Banner, Changelog, CustomCurrency windows

* Indent DebugPaint, DemolishRidePrompt windows

* Indent EditorBottomToolbar, EditorInventionsList

* Indent EditorObjectiveOptions, EditorScenarioOptions

* Indent Finances

* Indent Footpath

* Indent GameBottomToolbar

* Indent Guest window

* Indent GuestList, InstallTrack windows

* Indent Land, LandRights windows

* Indent LoadSave, Main, MapGen, MapTooltip windows

* Indent MazeConstruction

* Indent Multiplayer

* Indent NetworkStatus

* Indent NewCampaign

* Indent NewRide window

* Indent News window

* Indent NewsOptions window

* Indent ObjectLoadError window

* Indent Options window

* Indent Park window

* Indent PatrolArea window

* Indent Player window

* Indent RefurbishRidePrompt window

* Indent Research window

* Indent Ride window

* Indent RideConstruction

* Indent RideList

* Indent SavePrompt

* Indent ScenarioSelect widgets

* Indent scenario window

* Indent scenery scatter window defs

* Indent server list window

* Indent server start window§

* Indent ShortcutKeys window

* Indent Sign window

* Indent Staff window

* Indent StaffFirePrompt window

* Indent StaffList window defs

* Indent Themes window defs

* Indent TileInspector window defs

* Indent TitleExit, TitleMenu, TitleOptions, Tooltip windows

* Indent TrackDesignManage window defs

* Indent TrackDesignPlace defs

* Indent TrackList def

* Indent Transparency window defs

* Indent ViewClipping window defs

* Indent Viewport window defs

* Indent Water window defs
2024-09-04 21:11:26 +02:00
Harry Hopkinson
003c196eb8 Cleanup gameState usage (#22692) 2024-09-04 07:34:37 +02:00
Aaron van Geffen
547b763e89 Reduce includes for GameState compilation unit (#22690) 2024-09-03 23:29:12 +03:00
Aaron van Geffen
91da661767 Merge pull request #22644 from AaronVanGeffen/s6importer
Move SC6 specific code from ScenarioRepository to S6Importer
2024-09-03 21:24:57 +02:00
Aaron van Geffen
d8bac51044 Simplify ScenarioRepository::GetScenarioInfo massively 2024-09-03 21:12:37 +02:00
Aaron van Geffen
4f7385addb Move SC6 specific code from ScenarioRepository to S6Importer 2024-09-03 21:12:37 +02:00
Romain
a45d701574 Fix screenshot URL 2024-09-02 22:43:12 +02:00
Harry Hopkinson
c1ac7c0700 Cleanup gameState usage 2024-09-02 22:42:37 +02:00
mrmbernardi
903460ff52 Fix #22231: Invalid object version can cause a crash (#22675) 2024-09-03 04:21:49 +10:00
Harry Hopkinson
fb771b6923 Fix #22653: Port water height fixes to parkpatch system (#22656) 2024-09-01 18:57:26 -03:00
Michał Janiszewski
4f2c8f6cdf Fix version number in changelog.txt 2024-09-01 23:32:45 +02:00
Michał Janiszewski
412e90dd48 Start v0.4.15 2024-09-01 23:15:39 +02:00
Michał Janiszewski
2fdb513375 Merge branch 'master' into develop 2024-09-01 23:14:56 +02:00
Michał Janiszewski
18492da229 Release v0.4.14
- Feature: [#15750] Allow using different types of park entrance in one park.
- Feature: [#20942] Allow removing all park fences from the Cheats window.
- Feature: [#21675] Guests ignore price limit cheat.
- Feature: [#22206] Add option to randomise train or vehicle colours.
- Feature: [#22392] [Plugin] Expose ride vehicle’s spin to the plugin API.
- Feature: [#22414] Finance graphs can be resized.
- Feature: [#22569] Footpath placement now respects the construction modifier keys (ctrl/shift).
- Change: [#21189] Patches to fix scenario bugs are now described in .parkpatch files, instead of inside the code.
- Change: [#21659] Increase the Hybrid Roller Coaster’s maximum lift speed to 17 km/h (11 mph).
- Change: [#22466] The Clear Scenery tool now uses a bulldozer cursor instead of a generic crosshair.
- Change: [#22490] The tool to change land and construction rights has been moved out of the Map window.
- Change: [#22490] In sandbox mode, changing land or construction rights now acts as buying or selling.
- Change: [#22491] Scrollbars are now hidden if the scrollable widget is not actually overflowing.
- Change: [#22541] In editor/sandbox mode, tool widgets now appear on the side of the map window, instead of the bottom.
- Change: [#22592] Cheats have been redistributed along three new tabs: date, staff, and nature/weather.
- Fix: [#21123] Transparency options are not respected on startup.
- Fix: [#21189] Additional missing/misplaced land & construction rights tiles in Schneider Shores and Urban Park.
- Fix: [#21908] Errors showing up when placing/moving track design previews.
- Fix: [#22307] Hover tooltips in financial charts are not invalidated properly.
- Fix: [#22316] Potential crash when switching the drawing engine while the game is running.
- Fix: [#22395, #22396] Misaligned tick marks in financial and guest count graphs (original bug).
- Fix: [#22457] Potential crash opening the scenario select window.
- Fix: [#22520] Virtual floor no longer appears when holding modifier keys during track construction.
- Fix: [#22527] Forcing an element type to “wall” via scripts can crash the game.
- Fix: [#22582] Lighting effects are not enabled/disabled correctly, making the game appear frozen.
- Fix: [#22598] Add several .parkpatch files to .sea scenarios with corresponding patches for RCT1 and RCT2 scenarios.
- Fix: [#22606] Virtual floor is sometimes drawn above the path when placing paths.
- Fix: [#22625] Fix compilation with orignal ride ratings.
- Fix: [#22663] Additional missing/misplaced land & construction rights tiles in Mystic Mountain, Build your own Six Flags Holland and Build your own Six Flags over Texas.
- Fix: [#22671] Game default to hide supports on startup.
- Fix: [#22671] Unchecking invisible option does not uncheck see-through option on transparency options and vice versa.
- Fix: [#22677] Hovering the file list in the load/save window causes a slowdown.
v0.4.14
2024-09-01 22:30:08 +02:00
Michał Janiszewski
6ed120272f Merge remote-tracking branch 'origin/develop' 2024-09-01 22:29:53 +02:00
Aaron van Geffen
c9874c950d Fix FPS tanking on mouse move in load/save window (#22677) 2024-09-01 19:30:22 +00:00
mrmbernardi
075ed43286 Fix #22527: Forcing element type to wall via scripts can crash the game (#22674) 2024-09-01 20:15:21 +02:00
Tulio Leao
8380822362 Merge pull request #22663 from tupaschoal/sea_scrutiny 2024-09-01 11:00:38 -03:00
Tulio Leao
efd4e065cd Add missing land rights Build your own Six Flags Holland and over Texas 2024-09-01 07:58:06 -03:00
Tulio Leao
49c830b9df Add missing land rights for Mystic Mountain and Urban Park 2024-09-01 07:58:03 -03:00
Tulio Leao
eb499f7e55 Add changelog 2024-09-01 07:57:38 -03:00
Tulio Leao
f8e2256516 Sort RCT2 scenarios by name on scenario_to_hash 2024-09-01 07:57:38 -03:00
Tulio Leao
3f53c43e09 Fix alignment on scenario_to_hash 2024-09-01 07:57:38 -03:00
Tulio Leao
a264caeaee Standardize use of quotes on scenario_to_hash 2024-09-01 07:57:38 -03:00
Tulio Leao
de981e28eb Add missing Great Wall of China .parkpatch file for RCT2 2024-09-01 07:57:38 -03:00
Tulio Leao
f6d6d5a692 Part of #22598: Add .parkpatch for .sea with corresponding .sc6 patch 2024-09-01 07:57:38 -03:00
Tulio Leao
c9b127c48a Part of #22598: Add .parkpatch for .sea with corresponding .sc4 patch 2024-09-01 07:57:38 -03:00
Tulio Leao
4b70f77bc3 Part of #22598: Review existing .sea .parkpatch against .sc4 and .sc6 2024-09-01 07:57:38 -03:00
Tulio Leao
3d84fe070f Merge pull request #22671 from tupaschoal/transparency-2 2024-09-01 07:55:58 -03:00
Tulio Leao
4d2efa0edc Fix #22672: Loud sound effects on title screen 2024-09-01 07:04:51 -03:00
Michał Janiszewski
1adaaff6d5 Update backtrace token for upcoming release 2024-09-01 10:18:58 +02:00
Michael Steenbeek
7311fa82b4 Merge pull request #22667 from AaronVanGeffen/landrights-switching
Adjust land rights window mode when toggling sandbox mode
2024-09-01 00:19:53 +02:00
Michael Steenbeek
6f6cdc0cc6 Revert "Cleanup MemoryStream code (#22593)" (#22666)
This reverts commit 590ab65b2a.
2024-09-01 00:14:12 +02:00
Tulio Leao
be1153b28a Improve consistency of toggling transparency options 2024-08-31 17:51:38 -03:00
Tulio Leao
06302f7f06 Revert 9e1b24d 2024-08-31 17:48:35 -03:00
Aaron van Geffen
032874c80d Don't apply viewport flags on title scene (#22670) 2024-08-31 17:16:37 -03:00
Aaron van Geffen
89d050c4b8 Adjust window mode when switching from/to sandbox mode 2024-08-31 19:28:44 +02:00
Aaron van Geffen
dca97f747c Refactor out IsOwnershipMode method 2024-08-31 19:20:01 +02:00
Tulio Leao
c54e25c1d4 Fix #21123: Transparency options are not respected on startup (#22659) 2024-08-31 15:05:31 +00:00
Tiagoquix
8d8f94df9f README improvements 2024-08-31 16:32:00 +02:00
Tulio Leao
ab32072943 Add changelog for #21189 (#22665) 2024-08-31 15:45:09 +02:00
Hielke Morsink
761f126acf Update title sequences to v0.4.14 release (#22472) 2024-08-30 17:21:29 +02:00
mrmbernardi
5c6e4e67a1 Merge pull request #22648 from mrmbernardi/fix-virtual-floor
Fix #22606: Virtual floor at wrong height for paths
2024-08-30 04:16:49 +10:00
Michael Bernardi
ea9787c155 Added changelog for #22606 2024-08-30 04:05:00 +10:00