Commit graph

1954 commits

Author SHA1 Message Date
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
Tulio Leao
b9a1d289fd Fix #22655: Port surface fixes from #19740 into parkpatch 2024-09-08 19:46:50 -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
Stephan Spengler
336f9eab20
Fix some typos in the changelog 2024-09-07 14:01:49 +02:00
tmatale
14d0689b4f
Fix #21959: No save prompt when starting a new game 2024-09-07 10:34:30 +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
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
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.
2024-09-01 22:30:08 +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
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
3d84fe070f
Merge pull request #22671 from tupaschoal/transparency-2 2024-09-01 07:55:58 -03: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
Tulio Leao
c54e25c1d4
Fix #21123: Transparency options are not respected on startup (#22659) 2024-08-31 15:05:31 +00: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
Michael Bernardi
ea9787c155 Added changelog for #22606 2024-08-30 04:05:00 +10:00
Michał Janiszewski
1b142417a7
Fix original ride ratings compilation (#22625)
* Fix original ride ratings compilation

* Update changelog.txt
2024-08-25 00:00:36 +02:00
Aaron van Geffen
fe628aff0d
Add ctrl/shift modifiers to footpath tool (#22569)
* Add prototype for ctrl/shift modifier keys in footpath tool

* Only allow paths at half heights when 'invalid heights' cheats are active

* Infer heights similarly to scenery tool when ModifierKey::ctrl is active
2024-08-22 21:15:20 +01:00
Matt
590ab65b2a
Cleanup MemoryStream code (#22593)
* Deduplicate code, use std::bit_ceil to compute new capacity

* Remove unused constructor overload

* Remove more unused functions

* Fix memory leak using assignment operator with move

* Make access explicit via constness, do not allow arbitrary access

* Move the template specialized Write/Read to private section

* Simplify a lot of code by using the right types

* Fix copy constructor

* Directly copy the member in copy constructor

* Fix little mistake

* Pluck a memory leak on Android, fix the build

* Update changelog.txt
2024-08-22 19:24:00 +02:00
Aaron van Geffen
23ea4613e6
Fix virtual floor no longer appearing during track construction (#22602) 2024-08-20 20:09:53 +00:00
Tulio Leao
ce6872449b Add changelog for new land ownership fixes 2024-08-19 19:53:12 -03:00
Aaron van Geffen
ed987fbd5e Amend changelog 2024-08-19 22:35:22 +02:00
Aaron van Geffen
a090d68933
Reorder Map window tool widgets (#22541)
* Reorder Map window sandbox mode widgets

* Add custom icon for map gen and peep spawn buttons

* Resize map window when toggling sandbox mode

* Compensate minimap size for hidden scrollbars
2024-08-18 09:20:27 +00:00
Arnold Zhou
cbaf01658a
Add option to randomise train or vehicle colours (#22206) 2024-08-17 11:55:32 +00:00
Aaron van Geffen
4bdbd787a9
Fix lighting effects not toggling correctly (#22582)
* Fix lighting effects not toggling correctly

* Simplify boolean expressions around lighting effects options

* Invalidate entire screen after toggling lighting effects

* Add changelog entry
2024-08-16 20:37:21 +00:00
Matt
d72e535117
Fix #22457: Potential crash opening the scenario select window 2024-08-15 18:31:27 +02:00
Matt
06501b0e9a
Fix #22316: Always recreate the window when changing drawing engine 2024-08-12 23:49:58 +02:00
Harry Hopkinson
7a403e0537
Add cheat to make guests ignore prices 2024-08-11 11:27:32 +00:00
Aaron van Geffen
441e7816f9 LandRights: integrate Map window's land ownership tool 2024-08-05 19:01:18 +02:00
Aaron van Geffen
4fb673d0b9 LandSetRightsAction: calculate cost based on buying/selling rights 2024-08-11 12:00:33 +02:00
lewyche
e2551821f3
Close #20942: Add button to remove park fences
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-08-11 09:31:57 +00:00
Aaron van Geffen
97c14f27ed Hide scrollbars when there is nothing to scroll 2024-08-09 19:48:04 +02:00
Matt
41a6e9d252
Fix #21908: Errors showing up when placing/moving track design previews 2024-08-07 22:36:50 +02:00
Guy Sviry
332df0f1db
expose Vehicle.spin_sprite to Car scripting (#22392)
* expose spinSprite to Car scripting

---------

Co-authored-by: Guy Sviry <guy@axissecurity.com>
2024-08-07 18:13:33 +01:00
Michael Bernardi
380cdb0c45 Added changelog for graphing improvements 2024-08-05 15:55:37 +10:00
Michael Steenbeek
e813532efb
Close #15750: Multiple park entrance types in one park (#21909)
* Add new park entrance placement window

* Start entrance tool as soon as window opens;

* Rename constants to conform to current code standards

* Increment PARK_FILE_CURRENT_VERSION

* Increment kNetworkStreamVersion

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-08-04 23:02:16 +00:00
Aaron van Geffen
5b1c867f23 Add bulldozer cursor for clear scenery tool 2024-08-03 20:44:12 +02:00
AuraSpecs
cdc5fd0a27
Update Hybrid RC maximum lift speed 2024-08-04 20:17:14 +00:00
Michał Janiszewski
f0dde413d2 Start v0.4.14 2024-08-04 21:38:43 +02:00
Michał Janiszewski
caacd4d7be Release v0.4.13
- Feature: [#19596] Allow for playing back a replay without camera movement or alert box.
- Feature: [#20831] The ride selection window now shows object authors if debugging tools are active.
- Feature: [#20832] The ride music tab now shows a track listing for the current music style.
- Feature: [#22172] [Plugin] Expose ride satisfaction ratings to the plugin API.
- Feature: [#22184] [Plugin] Expose staff statistics to the plugin API.
- Feature: [#22213] [Plugin] Allow plugins to focus on textboxes in custom windows.
- Feature: [#22272] [Plugin] Expose ride vehicle’s current track type via car trackLocation.
- Feature: [#22301] Loading save games or scenarios now indicates loading progress.
- Feature: [OpenMusic#54] Added Progressive ride music style (feat. Approaching Nirvana).
- Improved: [#22352] The object selection window now groups relevant object tabs together.
- Improved: [#22357] Error messages are now themeable and easier to read.
- Improved: [#22361, objects#342, objects#343] Add additional colour presets to the Observation Tower, Twist, and Ferris Wheel.
- Improved: [#22433] Increase the network timeout from 7 to 20 seconds, should help slow clients getting disconnected.
- Improved: [#22437] File indexing now properly uses all CPU power, improving object and scenario indexing.
- Improved: [#22449] Reduced the time it takes to load and index objects, scenarios and tracks.
- Change: [#12292] The ‘Toggle visibility of toolbars’ shortcut is no longer assigned by default.
- Change: [#21494] Display pixel density is now taken into account for the initial window scale setting.
- Change: [#22230] The plugin/script engine is now initialised off the main thread.
- Change: [#22251] Hide author info in the scenery window unless debug tools are active.
- Change: [#22283] Let heavy snow and blizzard increase chance of brakes failure.
- Change: [#22309] The scenario editor now supports loading landscapes from .sea save files.
- Fix: [#17390] Glitchy animations for the ride type tabs in the object selection window.
- Fix: [#19210] The load/save window executes the loading code twice, resulting in a slowdown.
- Fix: [#21175] Terraform tool hotkeys don't work when toolbars are hidden.
- Fix: [#22056] Potential crash upon exiting the game.
- Fix: [#22101] Wrong tunnel shapes on Log Flume and Giga, Hybrid, Single-Rail and Alpine Coasters.
- Fix: [#22208] Cursor may fail to register hits in some cases (original bug).
- Fix: [#22209] Water tool selection may disappear near edge of map.
- Fix: [#22222] Staff list may remain invalid when changing tabs.
- Fix: [#22265] Button for switching covered tracks on slides doesn’t stay pressed.
- Fix: [#22284] Unrated rides cause high amount of nausea.
- Fix: [#22292] Progress bar widgets in guest and ride windows are not updating correctly.
- Fix: [#22304] Graphs don’t draw lines on the left edge of the screen.
- Fix: [#22308] OpenGL draws lines incorrectly in some cases.
- Fix: [#22318] Water sparkles are missing if transparent water is enabled without RCT1 linked.
- Fix: [#22333] Tile inspector closes other tool windows.
- Fix: [#22339] Printing ui.tool.cursor in console crashes the game.
- Fix: [#22348] Progress bar screen doesn’t handle window resizing.
- Fix: [#22389] Alpine coaster has wrong tunnel entrance type.
- Fix: [#22435] [Plugin] Off-by-one pixel issue in active widget width and height setters.
2024-08-04 19:53:53 +02:00
mrmbernardi
1f411ad792
Merge pull request #22200 from mrmbernardi/fix_lines
Improve line drawing code
2024-08-03 17:15:18 +10:00