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

1324 Commits

Author SHA1 Message Date
ζeh Matt
13aee659f0 Fix #15096: Crash placing entrance near corner in scenario editor 2021-07-27 12:02:34 +02:00
duncanspumpkin
c9731a8ba9 Start v0.3.4.1+1 2021-07-25 21:26:28 +01:00
duncanspumpkin
5087e77032 Release v0.3.4.1
- Fix: [#15028] Crash when placing large scenery.
- Fix: [#15048] Crash when removing litter with cheats.
- Fix: [#15052] Crash when using banner window.
- Fix: [#15063] Crash when opening large scenery signs.
- Improved: [#12626] Allow using RCT2 saves to mark RCT Classic (.sea) parks as finished and vice versa.
2021-07-25 20:16:08 +01:00
Duncan
cd98ca0d8e Fix 15063 (#15064)
* Fix #15063. Sign window crash on open

* Update changelog
2021-07-23 19:37:24 +01:00
ZehMatt
8d273d6a3e Update changelog.txt 2021-07-22 22:14:40 +03:00
Duncan
90fbbe14ed Fix 15052 (#15054)
* Fix #15052. Crash when using banner window

Bug introduced during refactor. Refactor introduces a pointer that will go invalid. When the pointer was invalid the game would crash.

* Update changelog
2021-07-22 15:15:59 +01:00
Duncan
bbef85e752 Fix #15028, #15042. Crash when placing large scenery (#15043)
* Fix #15028, #15042. Crash when placing large scenery

When the fragmented tile element limit is reached whilst placing a large scenery ghost the game will perform a reorg of the map elements invalidating tile element pointers. As large scenery are multi tiled this can happen mid action invalidating the pointer that was allocated for the first tile element. Large scenery actions pass back the first tile element pointer to the calling function for use with ghost removal. When this pointer is invalid it causes the crash. The ultimate fix for this would be to create an undo function for actions. As an interim the function has been modified to return the first tile height.

* Update changelog
2021-07-21 13:01:09 +01:00
Struan Clark
aa69593064 Close #12626: Allow completing RCTC scenarios with RCT2 saves 2021-07-19 16:12:03 +02:00
Gymnasiast
a39ee0cadc Start v0.3.4+1 2021-07-19 13:37:29 +02:00
Gymnasiast
e0daac9442 Release v0.3.4
- Feature: [#13967] Track List window now displays the path to the design when debugging tools are on.
- Feature: [#14071] “Vandals stopped” statistic for security guards.
- Feature: [#14169] Lighting effects for shops and stalls.
- Feature: [#14296] Allow using early scenario completion in multiplayer.
- Feature: [#14538] [Plugin] Add property for getting current plugin api version.
- Feature: [#14620] [Plugin] Add properties related to guest generation.
- Feature: [#14636] [Plugin] Add properties related to climate and weather.
- Feature: [#14731] Opaque water (like in RCT1).
- Change: [#14496] [Plugin] Rename Object to LoadedObject to fix conflicts with Typescript's Object interface.
- Change: [#14536] [Plugin] Rename ListView to ListViewWidget to make it consistent with names of other widgets.
- Change: [#14751] “No construction above tree height” limitation now allows placing high trees.
- Change: [#14841] Redesign the About window, including new button to copy the current version info.
- Fix: [#11829] Visual glitches and crashes when using RCT1 assets from mismatched or corrupt CSG1.DAT and CSG1i.DAT files.
- Fix: [#12262] Windows can appear off screen with small screens or high scaling.
- Fix: [#13581] Opening the Options menu causes a noticeable drop in FPS.
- Fix: [#13894] Block brakes do not animate.
- Fix: [#13986] OpenGL: Track preview window, flip/rotate button do not update the thumbnail.
- Fix: [#14315] Crash when trying to rename Air Powered Vertical Coaster in Korean.
- Fix: [#14330] join_server uses default_port from config.
- Fix: [#14415] Entrances/exits are removed when built on top of each other.
- Fix: [#14449] Surface smoothing at extra zoom levels not working.
- Fix: [#14468] Cannot close Options window on Android.
- Fix: [#14493] [Plugin] isHidden only works for tile elements up to the first element with a base height of over 32.
- Fix: [#14587] Confusing message when joining server with mismatched network version.
- Fix: [#14604] American-style Steam Trains are not imported correctly from RCT1 saves.
- Fix: [#14638] The “About OpenRCT2” window cannot be themed.
- Fix: [#14682] Crash when painting Swinging Ships with invalid subtype.
- Fix: [#14707] Crash when window is closed during text input.
- Fix: [#14710] Ride/Track Design preview does not show if it costs more money than available.
- Fix: [#14774] Incorrect import of scenery research caused all scenery to be unlocked.
- Fix: [#14806] Incorrect function call in WallPlaceAction plugin code.
- Fix: [#14871] Crash when trying to place track when there are no free tile elements.
- Fix: [#14880] Unable to close changelog window when its content fails to load.
- Fix: [#14945] Incorrect drop height penalty on log flume ride.
- Fix: [#14964] Unable to build in multiplayer as client with "Build while paused" cheat enabled when the host is paused.
- Improved: [#14511] “Unlock operating limits” cheat now also unlocks all music.
- Improved: [#14712, #14716] Improve startup times.
- Improved: [#14982] Add Malgun Gothic and change Nanum Gothic filename for Korean.
2021-07-19 12:54:49 +02:00
Lastorder
517935e580 Update changelog for #14982
Also removed `:` from above since there are no `:` at other entry.
2021-07-13 09:43:16 +02:00
Daniel Karandikar
b017ea4159 Fix [#12262]: Windows can appear off screen in some cases (#14881)
Fix: [#12262] Windows can appear off screen with small screens or high scaling.
2021-07-03 09:38:39 -03:00
Tulio Leao
77781874f2 Amend changelog to include #14169 changes (#14975) 2021-07-01 06:39:49 +01:00
ζeh Matt
b2387d06b6 Fix #14964: Building in multiplayer while paused 2021-06-30 20:51:04 +02:00
duncanspumpkin
f3a509cb54 Update changelog 2021-06-27 08:34:53 +01:00
Hielke Morsink
d635345841 Fix: Close button broken when failed to load version or changelog (#14880)
* Fix: Close button broken when failed to load version or changelog
2021-06-26 11:10:27 -03:00
Hielke Morsink
acd45e6f75 Redesign About window (#14841) 2021-06-26 10:54:38 +02:00
Michael Steenbeek
8aeb763402 Fix #14871: Crash in TrackPlaceAction::Execute (#14934) 2021-06-21 16:27:14 -03:00
Michael Steenbeek
1031be9078 Fix #14751: Height limitation also affects trees 2021-06-08 22:02:17 +02:00
Duncan
7253b92cfd Use correct function call for WallPlaceAction plugin visitor (#14806)
* Use correct function call for WallPlaceAction plugin visitor

* Increment plugin version

* Update changelog
2021-06-02 21:30:49 +01:00
Duncan
21bb949322 Fix 14774: Scenery research always unlocks on load (#14777)
* Fix #14774: Incorrect import of scenery research

Mistake during a refactor caused all scenery to be imported as already researched.

* Update changelog

* Update network version
2021-05-28 18:55:19 +01:00
Michael Steenbeek
e5c61f2a44 Close #14511: Unlock all music with 'Unlock operating limits' cheat 2021-05-27 22:38:35 +02:00
Gymnasiast
89eae5198b Add option to make water opaque 2021-05-24 16:39:39 +02:00
Michael Steenbeek
ea47c3ffe9 Merge pull request #14716 from CookiePLMonster/startup-speed-optimizations-2
More startup speed optimizations
2021-05-24 12:42:12 +02:00
ζeh Matt
9991573817 Fix #14682: Crash when painting Swinging Ships with invalid subtype 2021-05-24 12:38:31 +02:00
ζeh Matt
ebcdfd06e9 Fix #14707: Crash when window is closed during text input 2021-05-24 00:11:04 +02:00
Adam
dbd84f9f40 Fix #14415: Entrances/exits are removed when built on top of each other (#14490) 2021-05-23 15:41:34 +02:00
Silent
66abc69690 Add a persistentChunks flag to SawyerChunkReader
New behaviour of SawyerChunkReader is to skip shrinking the chunk
memory unless persistentChunks is set to true. At the moment all uses
of SawyerChunks created by the reader are temporary and shrinking memory
right before freeing them is a waste of time.

Speeds up loading times and index building
2021-05-23 15:04:50 +02:00
ζeh Matt
38c7a70025 Fix #14710: Preview not shown without enough money (#14711)
* Fix #14710: Preview not shown without enough money

* Bump up network version

* Add changelog.txt entry
2021-05-23 09:45:48 -03:00
Silent
95388cfbb1 Add File::GetSize to get object size in a simpler way
Drastically reduces startup speed because of the
optimization applied to ObjectAsset::GetSize - now the file
size is obtained without reading the entire file into memory.
2021-05-21 19:55:42 +02:00
Ryan
d309a7c871 Add climate information to Park API (#14636) 2021-05-16 21:06:36 -03:00
Dan Silk
05977e6d14 Fix #14468: Cannot close Options window on Android
Issue was caused by the WIDX_ALWAYS_NATIVE_LOADSAVE flag not being enabled/disabled correctly.
2021-05-15 23:43:50 +02:00
Gymnasiast
9fe9e67138 Add #14587 to changelog 2021-05-13 20:06:36 +02:00
Michael Steenbeek
f06bf3681d Fix #14638: Make 'About OpenRCT2' themeable; more RCT1 window colours 2021-05-13 18:28:09 +02:00
Ryan
8a282fa31c Add more properties to Park API (#14620)
* Add more properties to Park API

* Add new feature to changelog
2021-05-11 12:46:15 +01:00
Duncan
975ed665f8 Fix opengl extra zoom bugs (#14601)
* Fix #14449: Surface smoothing not working at extra zooms

Caused by two issues. One was spotted by @AaronVanGeffen in that surface smoothing was turned off. The other was caused by a bug in the opengl renderer that went unnoticed due to never being hit during normal play.

* Fix merrygoround and enterprise extra zoom peep drawing

* Add changelog entry
2021-05-10 12:43:46 -03:00
Michael Steenbeek
984a660ad7 Fix RCT1 American-style Steam Trains import 2021-05-09 18:53:35 +02:00
Basssiiie
6c65105261 Add getter for current plugin api version (#14538) 2021-04-27 21:08:56 -03:00
Basssiiie
ec7088364e Rename 'ListView' to 'ListViewWidget' in Typescript declaration 2021-04-27 17:14:23 +02:00
Ted John
2a0535d966 Fix #13986: OpenGL: Track preview, flip/rotate does not update thumbnail
Invalidate SPR_TEMP so that it is not cached in the OpenGL drawing engine.
2021-04-27 11:30:52 +02:00
Basssiiie
594b08c911 Rename 'Object' to 'LoadedObject' 2021-04-21 15:32:55 +02:00
Hielke Morsink
7525f5d5da Fix #14493: isHidden broken for elements with baseheight > 32 (#14499) 2021-04-19 19:44:11 +02:00
adam-bloom
06e0e3db51 add MACOS_BUNDLE cmake option to build self-contained app bundle 2021-04-01 22:00:04 -06:00
Gymnasiast
22ba7a2bc1 Fix drawing; fix formatting 2021-03-27 15:56:01 +01:00
Duncan
177b5e1b08 Add plugin hook for guest generation (#14107)
* Add plugin hook for guest generation

* Update api version and add ts entry
2021-03-26 05:49:24 +00:00
Michael Steenbeek
430711a33b Cache HasFilePicker() value in UiContext 2021-03-20 14:51:15 +01:00
Cory Sanin
f1cd58c292 Fix #14330: join_server uses config default_port 2021-03-20 14:09:47 +01:00
Michael Steenbeek
850e7431c3 Merge pull request #14328 from Gymnasiast/fix/14315
Fix #14315: Crash when renaming APVC in Korean
2021-03-18 22:49:13 +01:00
Michael Steenbeek
35cf400ecb Add #14296 to changelog 2021-03-18 21:33:09 +01:00
Michael Steenbeek
e89c37e7ae Fix #11829: Glitches when using mismatched csg1/csg1i 2021-03-17 13:40:45 +01:00