Commit Graph

1511 Commits

Author SHA1 Message Date
Gymnasiast c1149895fa
Close #17955: Make ratings setting networked and freeze them 2022-09-21 19:15:10 +02:00
Hielke Morsink 8d08c13fa6
Fix #17963: Opening research tab breaks marketing tab 2022-09-21 14:49:08 +00:00
Hielke Morsink 43dbf9eb18
Fix #18032: non-interactive widgets produce sound 2022-09-19 20:38:34 +00:00
Rik Smeets d2634640ce
Fix visual glitch with Mine Ride's large turn (#18051) 2022-09-18 23:05:20 +02:00
Basssiiie a1be5dead3
Fix park rating overflow with over 32k guests, excitement or intensity (#18026) 2022-09-15 16:08:17 +02:00
Rik Smeets b161a46beb
Fix visual glitch with litter at sloped path 2022-09-11 16:30:49 +00:00
Rik Smeets a271c6c6f1
Fix Steeplechase S-bends bounding boxes 2022-09-11 17:56:21 +02:00
Gymnasiast 74161d5b02
Add #5141 to changelog
[ci skip]
2022-09-07 02:40:28 +02:00
Michael Steenbeek 1956b718ef
Merge pull request #17821 from Basssiiie/plugin-tracksegment-subposition-length
[Plugin] Implement plugin getters for track and vehicle subpositions
2022-09-07 02:36:42 +02:00
Michael Steenbeek 99a0876ad6
Disable track elements if no train supports them (#17909)
This can be useful in several situations:
- In RCT1 scenarios, or when playing with ported RCT1 vehicles, it will disable elements like banked turns
- We can add extra elements to existing coaster types by default, even if no RCT2 train supports them
2022-09-06 21:24:02 +00:00
Henry Cheng 121f121d4e
#17735 Track elements are listed twice when building backwards
Fix: Instead of checking whether bank has the value TRACK_BANK_UPSIDE_DOWN, instead check bank_start, as bank is not guaranteed to be bank_start.
2022-09-06 23:21:22 +02:00
Michael Steenbeek 9578c514d2
Fix #17966: Reversed steel trains do not properly import from S4 2022-09-06 22:57:58 +02:00
Yuvraj Tetarwal 90b6cdb62e
Fix #17904: Trees are removed at no cost to make way for ride entrance/exits 2022-09-05 22:49:16 +02:00
Michael Steenbeek f8459e106d
Changelog: fix order and add a few extra PRs 2022-09-04 22:35:39 +02:00
Michael Steenbeek 8709b7800f
Merge pull request #17878 from Gymnasiast/feature/flag15-import
Close #6326: Add support for RCTC SV6 files with 15000 entities
2022-09-04 14:10:48 +02:00
Gymnasiast 83c6ce6b39
Fix #17865: Unopened rides contribute to difficult guest cap 2022-09-03 16:22:54 +02:00
spacek531 8c8dc632b8
Implement #17806: Warn user if fallback images are used
Warns user on the object debug info, when closing the object selection window after selecting objects, and when opening a park.
2022-09-03 13:56:23 +00:00
Bas 8c39881353 Implement plugin getter for subposition coordinates 2022-09-02 23:19:15 +02:00
Bas 7b5aeece59 Implement plugin getters for subposition and subposition length 2022-09-02 23:18:29 +02:00
Gymnasiast 05a9ef8b70
Add some missing issues to changelog
[ci skip]
2022-09-02 22:45:16 +02:00
Henry Cheng b6ceb1afce
Fix #17866: Wrong Soft Guest Cap at start of new game (#17869)
* Change _suggestedGuestMaximum initalization

* Update initialization method

* Add changelog

* Update changelog entry
2022-09-02 08:27:13 +01:00
Tulio Leao bdc71aca44
Merge pull request #17943 from Gymnasiast/fix/17897 2022-08-31 22:45:55 -03:00
Gymnasiast 5b11f0eb2c
Add #17394 to changelog
[ci skip]
2022-09-01 00:03:53 +02:00
lalip a891d85dd9
Fix #17897: Guest can get stuck on construction rights outside the park
Caused by a refactor mistake in f0777e5418.
2022-08-31 23:51:05 +02:00
Michael Steenbeek a5a6d3a66c
Merge pull request #17929 from IntelOrca/rctc-support
Add support for RCT Classic assets
2022-08-31 23:26:25 +02:00
Henry Cheng 5f24099f39
Close #17868: Allow scripting to change active tab 2022-08-31 23:13:02 +02:00
Henry Cheng 0c76872869
Fix #17816: Option to pause Steam Overlay not greyed out when using OpenGL 2022-08-31 23:08:36 +02:00
Ted John 35e0f6a3ce
Update changelog 2022-08-31 22:48:51 +02:00
Gymnasiast fdf6e1fca7
Close #6326: Add support for RCTC SV6 files with 15000 entities 2022-08-31 22:44:12 +02:00
Hielke Morsink f0e4fcc05e
Add changelog entry 2022-08-30 11:59:23 +02:00
Rik Smeets e0648f8ddb
Fix guests leaving queue if other guest rejoins it (#17788)
If another guest returns to the queue from the entrance building, guests arriving at the entrance building through the queue could decide to leave it.
2022-08-29 19:57:51 +01:00
Hielke Morsink 61c35c8f1c
Fix #17905: chain button enabled for rectangular maps 2022-08-28 09:36:18 +02:00
AuraSpecs 2633eb013f
Add three colour schemes to Flying Roller Coaster 2022-08-27 15:37:24 +00:00
spacek531 74ff5429a9
Add Classic Wooden Roller Coaster
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2022-08-26 23:53:03 +02:00
Tulio Leao 8ae01beeb1
Merge pull request #17736 from rik-smeets/calculate-maze-support-costs 2022-08-24 00:24:46 -03:00
Rik Smeets 67ea7e739f
Fix #14337: Guest blocking ride entrance (#17743)
If the ride price becomes unaffordable for a guest who is already waiting to enter a vehicle, that guest became stuck due to an animation loop.
2022-08-22 21:15:58 +01:00
Rik Smeets f7c769603b Close #9104: Calculate maze support costs 2022-08-22 19:30:01 +02:00
Michael Steenbeek 564a902b5f
Fix #15328: Incorrect railing on Wooden RC station (#17831) 2022-08-18 23:24:23 +02:00
skdltmxn 4fcdafc0f4
Fix #17834: finance window becomes blank after 4096 years 2022-08-17 23:05:18 +02:00
Michael Steenbeek bae07efb20
Add #3588 to changelog 2022-08-17 19:24:33 +02:00
ale b359aff596
Add changelog entry for #17836 2022-08-15 21:46:06 -04:00
ale a187e10819
Fix #17535: Multiplayer desync when placing rides with scenery 2022-08-13 18:27:43 +02:00
Ted John b0656122c1
Fix #17784: Colour preset RNG is biased 2022-08-13 17:33:21 +02:00
Michael Steenbeek be52f6457e
Fix .park scenarios messing up Other Parks tab 2022-08-11 16:14:06 +00:00
spacek531 48530026a2
Flying coaster track additions 2022-08-10 22:54:33 +00:00
Michael Steenbeek 746722df1b
Fix #17703: (undefined string) when building on invalid height 2022-08-06 15:42:51 +02:00
leoleotte 863892391d
Fix #17600: Notifications aren't cleared on park load (#17705)
When loading a save using the New Save Format (.park files), the notification (news) list is not properly terminated and is preserving previously loaded news from other save files, including the main menu ones.
2022-08-06 13:42:07 +00:00
Michael Steenbeek 43b72eba6a
Add #17638 and objects#198 to changelog
[ci skip]
2022-08-02 00:15:41 +02:00
Michael Steenbeek 56f6828ba9
Fix #17571: Researched rides show up as new vehicles in .park scenarios 2022-08-01 23:46:33 +02:00
Henry Cheng 281cf137f4
Fix #17639: Duplicate special elements when building upside down 2022-07-31 21:51:08 +00:00
Rik Smeets 889293f2b7
Lower default price for the Crooked House (#17655)
Guests didn't want to pay the previous default price,
even if the ride was brand new.
2022-07-31 14:07:36 +02:00
Michael Steenbeek 92d7c79ac8
Fix #17532: Object Selection allows unselecting all stations
While it shouldn’t be possible to unselect them under normal circumstances,
I added checks for terrain surfaces and edges as well for good measure.
2022-07-30 20:01:42 +02:00
Duncan 5f9b0da5ff
Parkinfo object query (#16283)
* Add basic parkinfo object query

* Cleanup output and remove remnants of future work

* Make review changes

* Update changelog
2022-07-28 21:20:55 +00:00
Hielke Morsink 0392925450
Close #16840: Add support for rectangular heightmaps 2022-07-28 20:24:37 +00:00
Gymnasiast 5e8b749277
Fix #17542: Stalls will autorotate towards paths outside the park 2022-07-28 21:26:11 +02:00
Michael Steenbeek 6852b184b6
Fix #17541: Station style not correctly saved to TD6 2022-07-28 14:23:53 +02:00
Rik Smeets 1eb3a86770
Ride operating settings can be set via text input
Both minimum and maximum wait time and operating settings for flat rides can now be set via text input.
2022-07-27 22:50:04 +02:00
Michael Steenbeek 30f477972c
Close #15358: Increase park name character limit 2022-07-27 17:35:15 +02:00
Hielke Morsink 6f48ffdf41
Fix #17430: Crash when modifying tile when in multiplayer 2022-07-26 19:47:38 +02:00
Duncan 68ded02b14
Fix #17605. Prevent crash when parks include missing objects (#17606)
* Fix #17605. Prevent crash when parks include missing objects

Specifically the park needs to have had removed an object that is referenced within a scenery group object.
2022-07-26 14:33:30 +00:00
Ted John bd6817cb45
Fix #17533: Missing audio when specifying --rct2-data-path 2022-07-25 14:26:28 +00:00
Henry Cheng 08e0b9ae8d
Fix #17508: Grid Doesn't Disable After Setting Patrol Area (#17574)
* Move show_gridlines to only run under condition

* Update changelog.txt

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-07-25 13:39:19 +00:00
AuraSpecs d82360cc16
Add Authors to the list of things you can search for in the Object Selection menu (#17575)
* Add Authors to Search option

Joint effort from Spacek and karst

* Update changelog.txt

* Apply code review comment

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-07-23 20:28:39 +00:00
Duncan 3edcc91e40
Fix #17339. Reset Scaleing frame buffers on scale change (#17598)
* Fix #17339. Poor visuals due to scalling incorrectly

Mistake made during refactor meant that the scaleing framebuffers were
kept enabled even though at integer numbers of scale they are not meant
to be used.

* Update changelog
2022-07-23 20:11:00 +00:00
Karst a74acee961
Fix: Wrong boundboxes for tunnels & terrain. (#17312)
* Edit Boundboxes

* Make all code consistent

Eight is the magic number
2022-07-21 07:57:49 +01:00
Sadret ed18ef1146
Fix #16392: Scenery on sloped surface is placed at wrong height. (#17343)
* Fix #16392: Scenery on sloped surface is placed at wrong height.

* fix SceneryQuadrantOffset

* fix valley land height

* Bump network version

* update replays

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-07-20 20:33:33 +01:00
Henry Cheng 3bad01a704
Fix #17553: Crash when moving invention list items to empty list (#17555)
* Fix content check

* Add change log entry

Co-authored-by: Duncan <duncans_pumpkin@hotmail.co.uk>
2022-07-17 07:12:29 +00:00
Cory Sanin 37a38af6a5
Fix: [#17503] Correct staff refactor issue (#17546) 2022-07-17 07:43:32 +01:00
8street 213696ea27
Add option to sell merchandise in random colours
Co-authored-by: 8street <nikolai_e@rambler.ru>
2022-07-12 22:20:49 +00:00
Hielke Morsink fd5c5f546c
Fix #16476: Crash on demolishing maze 2022-07-12 20:28:16 +00:00
Michael Steenbeek 1bf49f95ba
Fix #17444: “Manta Ray” boats slowed down too much in “Ayers Rock” 2022-07-12 20:09:20 +02:00
Hielke Morsink d4a07ad458
Reword and move changelog entry to correct position
[ci skip]
2022-07-08 09:43:14 +02:00
Henry Cheng 3d16bca6ab
Add notification for mismatched g2.dat entries size (#17496)
Added expected number of sprites to StringIds.h and a mismatch check upon loading g2.dat in Drawing.Sprite.cpp. If the mismatch catch fails, then an error is logged and a notification is displayed

* Add improper install warning
2022-07-08 06:57:24 +02:00
Huu Kim Nguyen c949edd591
Crop giant screenshot to horizontal view-clip area 2022-07-06 23:11:43 +02:00
spacek531 312ad3e3ce
Warn user if unsupported vehicle or element used 2022-07-04 19:06:59 +00:00
Gymnasiast b499a0517f
Start v0.4.2 2022-07-04 20:02:23 +02:00
Gymnasiast be518f48e3
Release v0.4.1
- Feature: [#16825] Add Alpine Coaster track type.
- Feature: [#17011] Option to show ride vehicles as separate entries when selecting a ride to construct.
- Feature: [#17217] Add FLAC and OGG/vorbis as supported audio formats for ride music objects.
- Feature: [#12328, #17418] Add vehicles for the Hybrid Coaster, Single-Rail Roller Coaster and Classic Mini Roller Coaster.
- Improved: [#7983] The red colour in the ride stat screen and the ride graphs now corresponds better to negative effects on a ride’s stats.
- Improved: [#13966] Music Style dropdown is now sorted by name.
- Improved: [#16978] Tree placement is more natural during map generation.
- Improved: [#16992] The checkbox in the visibility column of the Tile Inspector has been replaced with an eye symbol.
- Improved: [#16999] The maximum price for the park entry has been raised to £999.
- Improved: [#17050] Transparency can be enabled directly without needing see-through enabled first.
- Improved: [#17059] Show Tile Inspector usage hint when nothing is selected.
- Improved: [#17199] Allow creation of Spiral Slide reskins.
- Improved: [#17242] More natural looking shorelines in map generator.
- Improved: [#17328] Parks can now be resized into rectangular shapes from the map and map generation windows.
- Change: [#16952] Make “Object Selection” order more coherent.
- Change: [#17002] Weather no longer resets when converting a save to scenario.
- Change: [#17294] New ride window remembers scroll position per tab instead of highlighted ride.
- Removed: [#16864] Title sequence editor (replaced by plug-in).
- Removed: [#16911, #17411] Residual support for pre-Vista Windows systems.
- Fix: [#13997] Placing a track design interferes with other players building a ride.
- Fix: [#15787] When deselecting "Show banner text in upper case", the banners remain upper case for 10 seconds.
- Fix: [#16539] CustomListView header not clickable when listview is scrolled.
- Fix: [#16799] Browsing “Up” in the Load Save window shows no files, only folders.
- Fix: [#16934] Park size displayed incorrectly in Park window.
- Fix: [#16974] Small scenery ghosts can be deleted.
- Fix: [#16989] Re-focusing maximised window triggers a restore and maximise.
- Fix: [#17005] Unable to set patrol area for first staff member in park.
- Fix: [#17017] [Plugin] Crash when using tile element properties that require a valid ride to be linked.
- Fix: [#17073] Corrupt ride window and random crashes when trains have more than 144 cars.
- Fix: [#17080] “Remove litter” cheat does not empty litter bins.
- Fix: [#17099] Object selection thumbnail box is one pixel too tall.
- Fix: [#17104] Changing map size does not invalidate park size.
- Fix: [#17157] Crash when browsing “Up” to folder with CJK characters in its name.
- Fix: [#17187] Text input window does not resize correctly.
- Fix: [#17197] Segfault when extracting files from the GOG installer.
- Fix: [#17205] Map generator sometimes crashes when not all standard terrain objects are available.
- Fix: [#17221] Object ghosts and tooltips follow invisible cursor when moving the viewport by right-click dragging.
- Fix: [#17255] Cursor position is incorrect when adjusting terrain and water height.
- Fix: [#17257] [Plugin] Add tertiary colour to large scenery scripting API.
- Fix: [#17261] Hand cursor position is incorrect when dragging items in the Inventions List window.
- Fix: [#17292] Rows in shortcut key list stay highlighted when cursor leaves list.
- Fix: [#17295] Pause status not cleared when loading a scenario made from a converted paused save.
- Fix: [#17310] Reversed reversible vehicles not imported properly when loading RCT1 parks.
- Fix: [#17335] [Plugin] Documentation has an incorrect type for PixelData ‘data’ attribute.
- Fix: [#17337] Air Powered Vertical Coaster trains not imported properly when loading RCT1 parks.
- Fix: [#17346] Surface height markers are concealed by sprites of same surface.
- Fix: [#17369] [Plugin] ‘Car.travelBy()’ moves other cars as well.
- Fix: [#17377] When building the park entrance before opening the Footpaths window, the path will be invisible.
- Fix: [#17381] Air Powered Vertical Coaster stat penalty is wrong.
- Fix: [#17399] Guests never generate the being watched thought.
- Fix: [#17433] Wrong T-shirt colours for guests on a Twist ride.
- Fix: [#17450] Ducks can swim on three-corners-up land tile.
- Fix: [#17461] Footpath Railing tooltip showing incorrect tooltip.
- Fix: [#17464] Green Tarmac footpath is not available in the Track Designer.
- Fix: [#17466] New object types not packed in save files.
- Fix: [#17481] Roto-drop cars try going up to top pieces that are ghosts or belong to other rides.
2022-07-04 18:53:36 +02:00
Duncan 5d896c65b5
Refactor Guest Window to Class 2022-07-03 22:00:37 +02:00
Cory Sanin 05f1007dd9
Fix #16989: Re-focusing maximised window triggers a restore and maximise
Fixes #16989 by removing an SDL hack. Originally added to address issue #2158, I can't reproduce this issue with the hack removed. Tested on Linux (by CorySanin) and Windows (by Broxzier).
2022-07-02 21:48:43 +02:00
Gymnasiast def2a714ab
Add #12328 to changelog
[ci skip]
2022-07-02 16:48:52 +02:00
Artem Yanenko 019ed54a48
Fix #17377: Park entrance can be placed without path in Scenario Editor 2022-07-02 14:02:27 +00:00
Sadret 544770c0fb
Fix #16539: CustomListView header unclickable when scrolled 2022-07-02 12:34:12 +02:00
Gymnasiast 5f71d2788c
Add #17464 to changelog
[ci skip]
2022-07-02 12:30:48 +02:00
Gymnasiast d936aa48e1
Fix #17481: Roto-drop cars try going up to the wrong top pieces 2022-07-01 18:23:03 +02:00
Karst 7345dd58fe
Fix: Footpath Railing tooltip showing incorrect tooltip (#17461)
* Fix Footpath Railing tooltip

* Add changelog entry

* Update src/openrct2-ui/windows/Footpath.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-06-28 21:15:44 -03:00
Ted John 17a736bab6 Update the changelog 2022-06-28 21:11:40 +01:00
Sadret 1b154b1b6e
Fix #17450: Ducks can swim on three-corners-up land tile. (#17456) 2022-06-27 21:37:00 -03:00
giraty 0d6a8af643
Typo in changelog.txt (#17458)
* Typo in changelog.txt

* Found one more typo in changelog.txt

Co-authored-by: octavianputra <octavianputra@yummycorp.com>
2022-06-27 14:54:36 +01:00
Basssiiie 4d8dd516bf
Fix plugin ‘Car.travelBy()’ moving other cars as well (#17369) 2022-06-26 20:28:54 +01:00
Hielke Morsink fb7be451e5
Add changlog entry for #17433 2022-06-23 11:50:31 +02:00
Gymnasiast c76d90932e
Add #15787 to changelog, reword #16911 2022-06-21 20:38:55 +02:00
Gymnasiast 49f8743894
Amend changelog 2022-06-21 19:06:47 +02:00
Silent 5fe1942c0d
Update changelog.txt 2022-06-21 09:46:38 +02:00
autofire372 d76a21551a
Fix #17381: wrong stat penalty on APVC
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
2022-06-13 18:31:26 +00:00
Hielke Morsink f57da4a2e8
Fix a few inconsistent quote usages 2022-06-10 23:37:31 +02:00
MaxMallon f178163fe9
Don't Reset the weather when converting a save to scenario 2022-06-10 09:56:55 +02:00
Sadret 6b29d03475
Fix #17346: Surface height markers are concealed by surface sprites. (#17345) 2022-06-09 20:05:27 +01:00
Sadret 1c7c4c14c2
Add tertiary colour for large scenery to plugin API (#17314)
Add tertiaryColour to ScTileElement.
2022-06-09 20:03:32 +01:00
Ted John cd6e718c6f Update changelog for #17217 2022-06-08 00:39:06 +01:00
Michael Steenbeek 3243183680
Fix #17187: Text input window does not resize correctly
window_set_resize() already invalidates, so no need to call it twice.

Co-authored-by: guljam <guljam@users.noreply.github.com>
2022-06-06 00:11:29 +02:00
Michael Steenbeek 60659f4a27
Fix #17337: APVC trains not imported properly when loading RCT1 parks 2022-06-05 23:19:35 +02:00
Sadret 29bcd0dee9
Fix #17335: plugin docs now show correct type for PixelData 'data' attribute 2022-06-05 21:05:51 +02:00
Hielke Morsink d1d1a8507b
Merge pull request #17328 2022-06-05 18:41:57 +02:00
Hielke Morsink 5592e88ea7
Add changelog entry 2022-06-05 09:53:25 +02:00
Michael Steenbeek 339edcd0f3
Fix #17310: Reversed reversible vehicles not imported properly from S4 2022-06-05 09:40:53 +02:00
Hielke Morsink 529c1bcd07
Merge pull request #17294 2022-05-30 19:37:57 +02:00
Hielke Morsink 3ea70cdeaf
Fix: shortcut key highlight remains when cursor leaves list 2022-05-28 20:55:42 +00:00
MaxMallon a45a788da9
Fix scenarios made from paused saves starting paused 2022-05-28 21:55:34 +02:00
Hielke Morsink 15581b509d
Fix cursor pivot for land up/down cursor (#17255)
Co-authored-by: guljam <cube4none@gmail.com>
2022-05-28 11:53:45 +00:00
Hielke Morsink 8347e02582
Add changlog entry 2022-05-28 13:09:27 +02:00
Rik Smeets 275adc9e68
Fix #7983: Change when certain G-forces show up in red
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-27 22:09:18 +00:00
X123M3-256 502f06af91
Add "Alpine Coaster" ride type (#16825)
* Implement "Alpine Coaster" ride type


Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-05-26 21:28:17 +00:00
Hielke Morsink 6b94d8c0bc
Fix overwriting buffer for parent directory when browsing "Up" 2022-05-22 14:32:06 +00:00
guljam 530c62c27b
Fix hand cursor position on Inventions List 2022-05-22 14:02:26 +02:00
Ken Reese eab90843a2
Improve shorelines in map generation (#17242) 2022-05-22 08:05:20 +02:00
Hielke Morsink 95df149804
Fix: Ghosts and tooltips move when panning the viewport by right-click dragging
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-21 09:40:43 +02:00
Michael Steenbeek 77d7a3a52f
Merge pull request #17199 from Gymnasiast/refactor/spiral-=slide
Load Spiral Slide images from the object
2022-05-15 17:33:07 +02:00
Hielke Morsink aac14f6ef3
Merge pull request #17212 from Broxzier/bugfix/17205-terrain-mapgen-crash 2022-05-15 15:52:42 +02:00
Hielke Morsink 71318dbcb3
Fix #17205: Crash in mapgen when base terrain is not selected 2022-05-15 00:01:00 +02:00
Gymnasiast 17026810b2
Fix #17201: typo in changelog 2022-05-14 23:53:40 +02:00
Gymnasiast f883dda643
Update changelog 2022-05-14 23:49:40 +02:00
Ted John 16585ecaf2
Merge pull request #17192 from IntelOrca/fix/13997-network-track-design
Fix #13997: Placing a track design interferes with other players building a ride

A bit of a hack due to track design placement code using and sharing global variables with the UI code. Eventually this will change, when windows get upgrade to classes and when NTDF is implemented.
2022-05-14 11:43:42 +01:00
Hielke Morsink 07520ce0ba
Fix #17200: Format error in changelog 2022-05-12 23:53:08 +02:00
Michael Steenbeek 5ccf04b2e5
Fix segfault when extracting files from the GOG installer 2022-05-12 23:38:23 +02:00
Ted John 0b9184b99b Avoid overwriting _currentTrackPieceDirection when placing TD 2022-05-10 22:41:09 +01:00
Hielke Morsink 8d5116419d
Merge pull request #17183 from Broxzier/bugfix/plug-in-crashes 2022-05-10 00:02:07 +02:00
Hielke Morsink 75caf23b84
Add changelog entry 2022-05-08 23:53:44 +02:00
Karst b08c87c0c4
Make changelog the same order as previous editions
Modifies the changelog to be the same order as all other changelogs. So people can add onto that instead.
2022-05-08 13:13:20 +02:00
Michael Steenbeek 493c97246c
Merge pull request #16952 from karst/reorg-objsel
Make "Object Selection" order more coherent
2022-05-08 00:02:12 +02:00
Gymnasiast 0708b82430
Remove unnecessary code, check bounds and restore newline 2022-05-07 23:39:59 +02:00
Sebastian Flinck Lindström 8fe124b1dd
Close #13966: Sort Music Style dropdown by name 2022-05-07 20:51:51 +00:00
Karst cfa18bd113 Change Object Selection order
Might take a little bit for people to get used to. But it's a lot more coherent and makes more sense.
2022-05-07 19:55:58 +02:00
Hielke Morsink 5f2bde9375
Show Tile Inspector hint when nothing is selected 2022-05-07 13:42:24 +00:00
hobyr 4035139f31
Fix #17104: Changing map size does not invalidate park size 2022-05-07 13:41:15 +00:00
Duncan 2b19b14d34
Revert "Fix #17068: Compiling on armel or mipsel requires -latomic flag (#17146)" (#17168)
This reverts commit 1699409392.
2022-05-07 09:14:43 +02:00
Mathias Gibbens 1699409392
Fix #17068: Compiling on armel or mipsel requires -latomic flag (#17146)
Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2022-05-05 00:21:36 +02:00
Olivier Wervers 593be7ef28
Add option to show ride vehicles separately 2022-05-03 22:49:47 +02:00
Hielke Morsink 9da63961de
Use eye glyph instead of checkbox for visibility 2022-05-02 22:07:06 +02:00
MaxMallon cc519c2520
Fix park size (#16934)
* Fix park size overflow with big parks

* Add a changelog

* Increase the version number
2022-04-30 08:11:10 +01:00
Olivier Wervers ef1eabd04e
Fix thumbnail box size in object selection window 2022-04-30 01:43:50 +02:00
Hielke Morsink b7cd8ccfcc
Add changelog entry 2022-04-28 20:55:37 +02:00
MaxMallon e2af1588ff
Increase limit of park entry price 2022-04-28 18:57:30 +02:00
Michael Steenbeek f127a2c8bc
Fix: “Remove litter” cheat does not empty litter bins 2022-04-27 23:17:23 +02:00
Hielke Morsink 2954b0a30d
Fix #17005: Unable to set patrol area for first staff member in park 2022-04-27 21:11:45 +00:00
Hielke Morsink 35915b0a5d
Fix: Writing out of bounds when trains have over 144 cars 2022-04-27 22:02:39 +02:00
Hielke Morsink 1c55e6ee7a
Close #17050: Transparency can be toggled directly (#17075) 2022-04-27 13:30:58 +02:00
Ted John e9799aa243
Update changelog 2022-04-26 22:18:18 +02:00
Greg 176c2f1e57
Fix OpenRCT2#16974: Small scenery ghosts can be deleted (#17062) 2022-04-26 12:25:56 +02:00
Gymnasiast bc6921e1cf
Start v0.4.1 2022-04-25 20:25:09 +02:00
Gymnasiast c6302a1dae
Release v0.4.0
- Headline feature: [#10664] New save format with increased limits.
- Feature: [#714] Allow up to 255 trains per ride.
- Feature: [#2253] Path surfaces and railings can be mixed and matched, like in RCT1.
- Feature: [#2766] The Fruity Ices Stall can now be recoloured, like in RCT1.
- Feature: [#4933] Allow map sizes of 999 × 999 (up from 254 × 254).
- Feature: [#7660] Custom music objects that are distributed with the save.
- Feature: [#8407] Ride platforms can be made invisible.
- Feature: [#12793] Add Excitement/Intensity/Nausea ratings to Ride List view with sorting.
- Feature: [#13858] Flatride bases can be made invisible.
- Feature: [#14676] [Plugin] Allow plugins to store data in .park files.
- Feature: [#15367] Individual track elements can now be drawn as another ride type.
- Feature: [#15901] [Plugin] Add ‘map.getAllEntitiesOnTile’ to API.
- Feature: [#16029] [Plugin] Add ‘TrackElement.rideType’ to API.
- Feature: [#16097] The Looping Roller Coaster can now draw all elements from the LIM Launched Roller Coaster.
- Feature: [#16132, #16389] The Corkscrew, Twister and Vertical Drop Roller Coasters can now draw inline twists.
- Feature: [#16144] [Plugin] Add ‘ImageManager’ to API.
- Feature: [#16707] [Plugin] Implement intransient plugins.
- Feature: [#16707] [Plugin] New API for current mode, ‘map.change’ hook and toolbox menu items on title screen.
- Feature: [#16731] [Plugin] New API for fetching and manipulating a staff member’s patrol area.
- Feature: [#16800] [Plugin] Add lift hill speed properties to API.
- Feature: [#16806] Parkobj can load sprites from RCT image archives.
- Feature: [#16831] Allow tertiary colours for small and large scenery objects.
- Feature: [#16872] [Plugin] Add support for custom images.
- Improved: [#3517] Cheats are now saved with the park.
- Improved: [#10150] Ride stations are now properly checked if they’re sheltered.
- Improved: [#10664, #16072] Visibility status can be modified directly in the Tile Inspector’s list.
- Improved: [#16251] Plugin API handles null values better.
- Improved: [#16251] openrct2.d.ts: mark ‘callback’ argument of queryAction and executeAction as optional.
- Improved: [#16251] openrct2.d.ts: change ‘network.status’ to ‘network.mode’ in network API docs.
- Improved: [#16251] openrct2.d.ts: added previously undocumented ‘GroupBoxWidget.text’ property.
- Improved: [#16251] openrct2.d.ts: removed unused ‘LabelWidget.onChange’ property.
- Improved: [#16258] Increased image limit in the engine.
- Improved: [#16408] Improve ‘--version’ cli option to report more compatibility information.
- Improved: [#16740] Allow staff patrol areas to be defined with individual tiles rather than groups of 4x4.
- Improved: [#16764] [Plugin] Add hook ‘map.save’, called before the map is saved.
- Improved: [#16925] The queue length of 1000 guests is lifted, and a warning for too long queues is added instead.
- Change: [#14484] Make the Heartline Twister coaster ratings a little bit less hateful.
- Change: [#16077] When importing SV6 files, the RCT1 land types are only added when they were actually used.
- Change: [#16424] Following an entity in the title sequence no longer toggles underground view when it’s underground.
- Change: [#16493] Boat Hire and Submarine Ride support costs now match their visual appearance.
- Change: [#16710] Changed default view of Guest List to ‘Thoughts’ and selected tab will default to ‘Summarised’ (when opened from the menu).
- Change: [#16859] Guests with umbrellas no longer always avoid going into a Maze.
- Change: [#16912] Tired or nauseated guests will no longer jump in a Maze.
- Fix: [#6767] Black screen after Alt-Tabbing back into the game.
- Fix: [#11752] Track pieces with fractional cost are too cheap to build.
- Fix: [#12556] Allow game to run without audio devices.
- Fix: [#12774] [Plugin] Scripts will not be re-initialised when a new scenario is loaded from within a running scenario.
- Fix: [#13336] Can no longer place Bumble Bee track design (reverts #12707).
- Fix: [#14155] Map Generator sometimes places non-tree objects as trees.
- Fix: [#14674] Recent Messages only shows first few notifications.
- Fix: [#14920] Ghosts for rides and shops do not auto-elevate when obscured.
- Fix: [#15413] Modifying park rating with plugins desyncs park rating history from actual park rating.
- Fix: [#15571] Non-ASCII characters in scenario description get distorted while saving.
- Fix: [#15830] Objects with RCT1 images are very glitchy if OpenRCT2 is not linked to an RCT1 install.
- Fix: [#15909] Text can overflow in ‘Select ride design’ windows.
- Fix: [#15947, #15960] Removing a flat ride results in an error message and duplicate structures.
- Fix: [#15998] Cannot set map size to the actual maximum.
- Fix: [#16007] Scenario Editor “Entry Price” appears to the right of the value field.
- Fix: [#16008] Tile Inspector can select elements from last tile without reselecting it.
- Fix: [#16024] Go-Karts with more than 32 vehicles do not colour themselves correctly.
- Fix: [#16026] Newly created rides with “Disable vehicle limits” cheat always get 32 trains with 12 cars each.
- Fix: [#16063] Object Selection preview for objects with glass is broken.
- Fix: [#16075] Exporting track designs saves scenery in incorrect locations.
- Fix: [#16087] The Looping Roller Coaster booster is now always drawn correctly.
- Fix: [#16140] The ‘Follow this’ option is now disabled when the ride view is set to ‘overall’ or a station.
- Fix: [#16162] Go Karts speeds are not correctly randomised, they only go very fast or very slow.
- Fix: [#16188] Medium-size banked turns on the Twister and Vertical Roller Coaster have incorrect support placement (partly original bug).
- Fix: [#16264, #16572] Placing saved track design crashes game.
- Fix  [#16308] Crash when trying to place down a ride on Android.
- Fix: [#16327] Crash on malformed network packet.
- Fix: [#16449] [Plugin] Viewport doesn't hide when switching tabs.
- Fix: [#16450] Banner style not copied when using tile inspector.
- Fix: [#16535] Entering construction mode unblocks all paths.
- Fix: [#16542] “Same price throughout park” status not correctly imported for RCT1 saves.
- Fix: [#16572] Crash when trying to place track designs.
- Fix: [#16591] [Plugin] ‘setInterval’ and ‘setTimeout’ is not disposed when map unloads.
- Fix: [#16711] [Plugin] ‘Car.rideObject’ overflowing with more than 256 ride types.
- Fix: [#16779] Fix case where title music doesn't unmute properly.
- Fix: [#16808] Incorrect track design serialisation causing vehicle object replacement.
- Fix: [#16869] Soft Toy Stall cannot be recoloured, but shows a recolouring option anyway (original bug).
- Fix: [#16995] Native Linux dialog windows do not open if the path contains single quotes.
- Fix: [objects#165] Glitch when Bengal Tiger Cars go through a corner.
2022-04-25 19:21:38 +02:00
Gymnasiast 3435f91ddf
Fix typo in changelog [ci skip] 2022-04-25 18:57:07 +02:00
Hielke Morsink 779f0d995a
Merge pull request #17007 from Broxzier/bugfix/changelog-typo 2022-04-20 20:12:19 +02:00
Gymnasiast e1b41f0ba4
Add #16869 and #16995 to changelog [ci skip] 2022-04-20 18:23:49 +02:00
Hielke Morsink 37bccd8ea6
Add missing changelog entry for #14920 2022-04-18 16:28:03 +02:00
Hielke Morsink 94f7198fd6
Add quotes around code and command line references 2022-04-17 21:49:43 +02:00
Hielke Morsink a4502d6e0b
Consistent usage of quotes 2022-04-17 21:49:42 +02:00
Hielke Morsink 017965c47b
Add missing full stops 2022-04-17 21:49:42 +02:00
Hielke Morsink 2fd0785de2
Fix typo in changelog 2022-04-17 21:49:37 +02:00
Michał Janiszewski 897a6c240c
Add changelog entry for #16070 2022-04-09 23:56:38 +02:00
Rik Smeets 760c96224c
Prevent slow motion jumps in Maze 2022-04-06 10:42:00 +02:00
Hielke Morsink c429fc329a
Add a new warning for queue length complaints 2022-04-05 19:55:48 +02:00
Hielke Morsink b66d15659f
Remove the new cheat that disable queue length limits
This partially reverts commit 0ece5d0f44.
2022-04-05 19:55:44 +02:00
Charles Machalow 0ece5d0f44
Add a new cheat to disable queue length limits 2022-04-02 20:07:06 +02:00
Rik Smeets 4e8ea47e1b
Guests with umbrellas no longer always avoid Maze when it rains (#16859)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-28 23:26:56 -03:00
lawrence ed08654bfa
Fix #16308: Update changelog 2022-03-28 20:38:33 +02:00
Michael Steenbeek 07f66f2322
Merge pull request #16872 from IntelOrca/plugin/image-apis
[Plugin] Add support for custom images
2022-03-28 20:27:10 +02:00
Ted John 46999c1222 Update changelog 2022-03-24 23:33:14 +00:00
Tulio Leao 8200321464 Add changelog 2022-03-23 23:44:50 -03:00
Ted John cfc1b622c2 Update changelog 2022-03-21 21:43:00 +00:00
Ted John 793acf67ae Implement small scenery ternary colours 2022-03-20 18:53:11 +00:00
Charles Machalow 37965560a9
Add ability for plugins to access ride's chain lift speed
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:28 +00:00
andrewpratt64 5ea89b9b47
Add function to get all entities on a tile to plugin api
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:08 +01:00
spacek531 a3700c832a
Parkobj loads rct_gx (#16806)
* allow loading of lgx rct_gx packed images within parkobjs

* add changelog entry

* allow loading of lgx without range
2022-03-19 18:02:02 +00:00
Duncan d266743083
Fix #16808: Incorrect serialisation of track design object (#16817) 2022-03-18 07:10:19 -03:00
Charles Machalow 99db07cfe0
Fix #16759: No music when unmuting the game in title screen 2022-03-14 21:16:16 +01:00
Ted John dff1d730da Implement #13620: [Plugin] Add support for patrol areas to Staff 2022-03-13 19:30:50 +00:00
Ted John 566bc4d311 Allow patrol areas to be single tiles
Change the patrol areas to be stored as a sorted list of points grouped in fixed cells for each staff entity. The complexity will be a mixed O(1) and O(log n) search.
2022-03-11 18:39:04 +00:00
Ivan Krushkov eb423a73b7
Close #12793: Excitement/Intensity/Nausea ratings to Ride List view with sorting (#16655) 2022-03-11 11:17:14 +00:00
Michael Steenbeek 9b1c915f4d
Merge pull request #16744 from Basssiiie/fix-unlimited-vehicles-defaults
Fix “Disable vehicle limits” cheat giving all new rides 32 trains with 12 cars
2022-03-09 13:03:14 +01:00
Ted John b7b8816db7
Add plugin hook for map save 2022-03-07 21:40:48 +01:00
Bas d239529a73 Fix “Disable vehicle limits” cheat giving all new rides 32 trains 2022-03-03 22:26:33 +01:00
Rik Smeets d92f8c125d
Fix #15909: Prevent text overflow in 'Select ride design' windows
For designs with a long description, a line of text in the 'Select ride design' window could overflow onto the next window element. The window height was just one newline too small. Therefore, increased the window size with a single line.
2022-03-02 20:08:00 +01:00
Rik Smeets 2a7209bee5
Fix #16140: Disable 'follow this' in 'overall' and 'station' view 2022-03-02 20:05:53 +01:00
Rik Smeets 1f83fa417c
Update guest list defaults 2022-02-27 18:46:08 +01:00
Ted John 1182ff5f19 Add Plugin API for storing data in .park files 2022-02-24 23:55:23 +00:00
Bas b14c469232 Fix Car.rideObject from overflowing with more than 256 ride types 2022-02-23 21:33:40 +01:00
Ted John f2117508c4
Fix #15413: Modifying park rating with plugins desyncs history (#16672)
Update park rating history before park rating.
2022-02-23 13:07:04 +00:00
Michael Steenbeek 70121eae38
Close #14484: Make the Heartline Twister ratings less hateful (#16680)
This raises two parameters: the base excitement value (which is very low, especially since the air-time bonus is limited too) and the bonus value (the novelty of this ride type warrants a bigger value).
It leaves the rest of the poor bonuses as-is, as some of them (like scenery and synchronisation bonuses) might just be there because the track obscures the view.
2022-02-23 11:24:02 +01:00
Ted John d93f4bdc1d
Fix #12774: Plugin: Scripts are not reloaded after new scenario (#16686) 2022-02-20 23:14:51 -03:00
Silent 795144662a
Fix #11752: Track pieces with fractional cost are too cheap to build (#16477)
Fixes an inconsistency wuth RCT2 where track prices with a fractional part
did not have their price rounded up when building, but did when refunding.
This created an exploit where refunding such a track piece granted the player
0.50€ more than they spent on the piece.
2022-02-19 17:47:13 +00:00
Sadret 8898d0af56
Close #16251: Adjust openrct2.d.ts to actual API implementation 2022-02-18 21:59:44 +01:00
Tulio Leao 1e58ab4c98
Merge pull request #16673 from IntelOrca/fix/16591-plugin-timeout 2022-02-18 09:38:19 -03:00
Gymnasiast 406817e674
Add #16264 to changelog
[ci skip]
2022-02-17 23:06:59 +01:00
Ted John 105009f3f8 Fix #16591: Plugins: setInterval and setTimeout is not disposed... 2022-02-17 20:18:16 +00:00
Michael Steenbeek ed657f07f0
Add #16572 to changelog [ci skip] 2022-02-14 21:11:18 +01:00
Karst 9dd54b9ee1
Add Inline Twist to B&M Track (#16389)
This adds the inline twist to the B&M track.

Feature is complete. Note: The inline twist doesn't draw correctly when going out of the tunnel. This is sadly an original bug, as this is also present on the Flying RC's Flying Twist (#7466).
2022-02-12 22:31:08 +01:00
GalBr cb83d8ff05
Fix #14674: Recent Messages only shows at most 6 or 7 notifications 2022-02-11 21:47:08 +01:00
Gymnasiast 0389ac2e3d
Fix #14155, #15994: Map Generator places non-tree objects as trees 2022-02-09 15:54:44 +01:00
ζeh Matt 19dca61ee8
Fix #16535: Entering construction mode unblocks all paths 2022-01-31 23:05:26 +01:00
Sadret 6d0bb48b68
[#16251] mark 'callback' argument of [query|execute]Action as optional (#16563) 2022-01-31 18:49:02 +00:00