1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00
Commit Graph

19129 Commits

Author SHA1 Message Date
Michael Steenbeek
2a8872018b Close #13780: Refactor MapGen to class (#19477) 2023-03-01 08:26:30 +00:00
Michael Steenbeek
0674d9527c Fix #19475: Cannot increase loan when in debt (#19478)
* Small refactor of ParkSetLoanAction

* Fix #19475: Cannot increase loan when in debt
2023-02-28 20:34:18 +00:00
Matthias Moninger
d18de99579 Merge pull request #19515 from ZehMatt/fix-large-list
Fix window scrollbar not able to navigate to the end of large lists
2023-02-28 22:34:06 +02:00
Matthias Moninger
71e2618265 Merge pull request #19514 from ZehMatt/hire-staff-complexity
Improve performance of hiring staff and its window
2023-02-28 22:33:28 +02:00
Matthias Moninger
59875eb409 Merge pull request #19480 from Gymnasiast/refactor/dpi-string
Pass DPI by ref to string drawing
2023-02-28 22:27:51 +02:00
Michał Janiszewski
7459ba0efe GCC 13 fixes (#19519)
This addresses issues when compiling with GCC 13
2023-02-28 21:04:52 +02:00
ζeh Matt
8777ba0195 Improve performance staff list 2023-02-28 16:33:59 +02:00
ζeh Matt
16cc1d3eb9 Change loop for searching free staff id from O(N^2) to O(N*log(N)) 2023-02-28 16:32:42 +02:00
ζeh Matt
320894971f Fix window scrollbar not able to navigate to the end of large lists 2023-02-28 06:21:15 +02:00
Michael Steenbeek
291a778720 Remove unused WaveFormat and WaveFormatEx structs (#19512) 2023-02-27 23:29:42 +01:00
Matthias Moninger
edde337177 Merge pull request #19465 from Gymnasiast/refactor/cmd-line-consistent
Close #19176, close #19273: Consistent “CmdLine” naming
2023-02-27 18:54:38 +02:00
Andrew
0da9693e15 Fix blank row getting added at exactly 19 scenery groups (#19502) 2023-02-26 21:29:00 +00:00
ζeh Matt
7b398d89a6 Remove unused variable 2023-02-25 15:42:37 +02:00
ζeh Matt
365fcf24c3 Implement #19468 and rename functions cursor to caret 2023-02-25 15:42:37 +02:00
ζeh Matt
dc97eb5bbd Fix deleting characters in the middle of the text 2023-02-25 15:42:37 +02:00
ζeh Matt
ec2f332b92 Fix #19445: Text not cleared using Ctrl+Backspace 2023-02-25 15:42:37 +02:00
Gymnasiast
a15f72da87 Pass DPI by ref to string drawing 2023-02-24 22:05:07 +01:00
Matthias Moninger
777fea6c8c Avoid triggering an assert when saving the park 2023-02-24 12:45:24 +01:00
Michael Steenbeek
be52b55980 Remove some unused stuff (#19474)
* Remove unused symbols

* Remove unused SceneryObject.cpp

* Remove GetScgWallsHeader() and GetScgPiratHeader()
2023-02-23 22:27:21 +00:00
Michael Steenbeek
777d43ae18 Add W and Y with circumflex 2023-02-23 10:56:37 +01:00
Josh Trzebiatowski
04aeed8692 Add "All Scenery" tab to scenery window 2023-02-22 23:31:21 +00:00
Gymnasiast
fd4c9a7b9d Close #19176, close #19273: Consistent “CmdLine” naming 2023-02-23 00:03:30 +01:00
Hielke Morsink
d5b7569537 Merge pull request #19453 2023-02-22 20:42:21 +01:00
ζeh Matt
d6be08a410 Apply review suggestions 2023-02-22 15:58:05 +02:00
Michael Steenbeek
28476cb9a9 Raise max objective guests to 50000 2023-02-22 13:43:26 +01:00
Michael Steenbeek
767d65f101 RideConstruction: Create constant for group box width (#19461) 2023-02-22 09:08:44 -03:00
ζeh Matt
ef8d08c5e5 Add assert to test if the ride slot is actually free 2023-02-22 00:01:44 +02:00
ζeh Matt
6a5bfa5cad Ensure all rides names are cleared on map load 2023-02-21 23:45:11 +02:00
ζeh Matt
b1667d3423 Use a dedicated Ride instance for previews 2023-02-21 23:44:03 +02:00
ζeh Matt
d60890f7e5 Use ride id to determine if the slot is unused 2023-02-21 23:29:59 +02:00
ζeh Matt
063d97f4f2 Use fixed size storage for Rides, cleanup interface a bit 2023-02-21 23:20:48 +02:00
Gymnasiast
ee7b9ae6b0 Add missing null check 2023-02-19 23:06:05 +01:00
ζeh Matt
60bd8a4f3a Fix crash at scenario completion 2023-02-19 23:59:16 +02:00
ζeh Matt
b057f0fe82 Remove memset 2023-02-19 23:59:15 +02:00
ζeh Matt
1f03bc89d7 Remove unused String::Duplicate 2023-02-19 23:59:15 +02:00
ζeh Matt
b465b9d6e5 Use string to store ScenarioIndexEntry name 2023-02-19 23:59:15 +02:00
ζeh Matt
1b216c4d01 Use string to store ScenarioIndexEntry filename 2023-02-19 23:59:15 +02:00
ζeh Matt
a0bc5d9f3f Remove unused functions 2023-02-19 23:59:15 +02:00
ζeh Matt
a7ef031430 Remove String::Duplicate in TextComposition.cpp 2023-02-19 23:59:15 +02:00
Hielke Morsink
3e713e5c2f Fix memory leak in GetFileName (#19420) 2023-02-16 19:45:48 +00:00
kyphii
a428f20d46 Fix #19243: .park scenarios don't complete properly (#19411)
* Check for .park scenario during scenario completion

* Update changelog

---------

Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-02-16 05:39:31 +00:00
Michael Steenbeek
583b4ed0e6 Replace GfxDrawStringNoFormatting() (#19414)
* Replace GfxDrawStringNoFormatting()

* Unwrap static DrawText overload
2023-02-15 22:44:22 +00:00
Duncan
b56748bc82 ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery (#19385)
* Move footpathitem entry into new getter

* Move scenery group entry into new getter

* Move water entry into new getter

* Move large scenery entry into new getter

* Remove unused header includes

* Fix compile issue

* Include missing header from vcxproj
2023-02-15 21:35:16 +00:00
Michael Steenbeek
eb33147013 Bump network version for #19401 (#19410) 2023-02-15 11:34:03 +00:00
Raymond Zhao
a19cd214e7 Introduce mph literal for velocities 2023-02-15 10:40:46 +01:00
Duncan
93b5cabb9e Merge pull request #19399 from Gymnasiast/refactor/wooden-rc-track-paint
Update WoodenRCTrackPaint() signature
2023-02-14 23:01:29 +00:00
Michael Steenbeek
5fbd3e6ea5 Merge pull request #19401 from Gymnasiast/feature/better-clearances
Allow shops and stalls to set their own clearances
2023-02-14 23:56:43 +01:00
Michael Steenbeek
3ac7858549 Fix #7210: Land tile smoothing occurs with edge tiles (#19400) 2023-02-14 22:09:36 +00:00
Michael Steenbeek
b4dc2d3fe6 Fix #19339: Incorrect import of crashed particles from SV4 (#19404) 2023-02-14 22:08:42 +00:00
John R Patek Sr
6e9c10167e Refactor TopToolbar to class (#19043) 2023-02-14 21:19:42 +00:00