Aaron van Geffen
44268fd758
Make tree placement available to all generator algorithms
2024-09-10 12:17:56 +02:00
Aaron van Geffen
6545ab33f2
Unify interface for calling internal map generator
2024-09-10 12:14:01 +02:00
Aaron van Geffen
403495cacf
Rename internal map generator functions
2024-09-10 11:21:09 +02:00
Gymnasiast
e74016047f
Convert reverser RC to use support table
2024-09-09 22:06:29 +02:00
Gymnasiast
ac1f7eab4e
Convert side-friction RC to use support table
2024-09-09 21:36:06 +02:00
Gymnasiast
fc72b31736
Fix #15406 : Tunnels on steep Side-Friction track are drawn too low
2024-09-09 20:54:52 +02:00
Gymnasiast
b3d87125b5
Fix #22734 : Support clearance above steep Side-Friction track is too low
2024-09-09 20:47:53 +02:00
Aaron van Geffen
0607f55f14
Consolidate terrain and water settings in two new dedicated tabs
2024-09-09 20:17:33 +02:00
Tulio Leao
993c476c23
Merge pull request #22709 from tupaschoal/surface_fix_parkpatch
...
Fix #22655 : Port surface fixes from #19740 into parkpatch
2024-09-09 07:56:43 -03:00
Tulio Leao
2a9c780679
Comply to coding style on ScenarioPatcher
2024-09-09 07:18:29 -03:00
Michael Steenbeek
e6e3f5db76
Merge pull request #22711 from Gymnasiast/more-track-refactor
...
More track refactors
2024-09-09 11:14:02 +02:00
Tulio Leao
b9a1d289fd
Fix #22655 : Port surface fixes from #19740 into parkpatch
2024-09-08 19:46:50 -03:00
Aaron van Geffen
0c9c79d186
ChangeMapSize: use templated std::clamp and drop static casts
2024-09-08 22:44:27 +02:00
Aaron van Geffen
848b328a82
Use MapGenSettings struct to store settings in MapGen window
2024-09-08 22:43:03 +02:00
Aaron van Geffen
c8e9d36263
Don't require peep names object for track designer ( #22869 )
2024-09-30 17:40:32 +02:00
Gymnasiast
612e302583
Amend changelog, bump network version
2024-09-29 23:24:06 +02:00
Gymnasiast
f612e78c48
Move TrackTypeMustBeMadeInvisible() to Legacy.cpp, add MT
2024-09-29 23:22:54 +02:00
mix
487624ee33
Add Mine Train RC flat-to-steep pieces
2024-09-29 23:22:54 +02:00
Michael Steenbeek
558d235680
Fix #22479 : Crash when a ride has no valid music object
2024-09-29 14:21:26 +00:00
mrmbernardi
4a890f1c91
Fix closer zooms in LightFX.cpp
2024-09-29 15:59:35 +02:00
Aaron van Geffen
b2b2f75f14
Speed-up wide path recalculation ( #22830 )
...
Only consider coords within map bounds when calculating wide paths
2024-09-29 13:11:43 +00:00
Aaron van Geffen
931f0705ce
Introduce PeepNamesObjects for 'real' names of peeps ( #22758 )
...
* Add initial PeepNamesObject implementation
* Add peep names object to default objects
* Append peep names object to object list for older saves
* Deduplicate AppendRequiredObjects functions
* Remove built-in 'real name' tables
* Increment park version; introduce kPeepNamesObjectsVersion
* Update objects dependency to v1.4.8
2024-09-29 15:05:55 +02:00
lewyche
0f58efe198
Fix #22133 : Ride time is incorrect for extremely low speeds ( #22311 )
2024-09-29 10:02:02 -03:00
Tulio Leao
d73c14e585
Part of #22596 : Remove "cannot_downgrade" support for .parkpatch
2024-09-08 06:52:03 -03:00
Tulio Leao
e1b6ee93f9
Part of #22596 : Only apply .parkpatch when starting scenarios
2024-09-08 06:52:01 -03:00
Michael Steenbeek
4fd07d3216
Fix #2614 : Junior Roller Coaster - Invisible First Vehicle
2024-09-07 21:23:58 +02:00
Gymnasiast
07f8d8ed81
Consolidate rotated Flying inverted supports
2024-09-07 16:57:35 +02:00
Gymnasiast
ff8c669473
Use a constant for Flying RC Inverted support height
2024-09-07 16:57:35 +02:00
Gymnasiast
793d3763b4
Start Flying RC split
...
Splits off all parts that are easily split. Most of the remaining stuff is shared between the uninverted and inverted track and will be revisited later on.
2024-09-07 16:57:34 +02:00
Gymnasiast
a8f27088a6
Use a constant for support height in inverted drawers
2024-09-07 16:57:34 +02:00
Gymnasiast
2c5f3a74c9
Consolidate S-bend metal support code
2024-09-07 16:57:34 +02:00
Gymnasiast
77304cf6e0
Use a constant for tunnel group
2024-09-07 16:57:34 +02:00
Gymnasiast
d186128980
Consolidate more on-ride photo paint code
2024-09-07 16:57:33 +02:00
tmatale
14d0689b4f
Fix #21959 : No save prompt when starting a new game
2024-09-07 10:34:30 +00:00
Harry Hopkinson
5f0d657bf2
Move gScenarioFileName to GameState
2024-09-07 12:20:32 +02:00
Michael Steenbeek
cc1d11a01b
Merge pull request #22689 from Gymnasiast/refactor/provisional-elements-to-ui
...
Move removal/restoring of provisional elements to UI project
2024-09-06 23:44:39 +02:00
Gymnasiast
8715264e1e
Refactor provisional footpath flags
2024-09-06 23:31:50 +02:00
Gymnasiast
4ff99d6fd1
Confine provisional paths to Footpath.cpp
2024-09-06 23:31:50 +02:00
Gymnasiast
ab3e919678
Move removal/restoring of provisional elements to UI project
2024-09-06 23:31:50 +02:00
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
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
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
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00