1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

23557 Commits

Author SHA1 Message Date
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
Michael Steenbeek
34a7421b98 Remove last references to WINNT 5.1 (#17631)
Probable oversight from https://github.com/OpenRCT2/OpenRCT2/pull/17411.
2022-07-28 22:39:04 +02:00
Hielke Morsink
0392925450 Close #16840: Add support for rectangular heightmaps 2022-07-28 20:24:37 +00:00
Michael Steenbeek
43bc0b0cd9 Merge pull request #17626 from Gymnasiast/fix/17542
Fix #17542: Stalls will autorotate towards paths outside the park
2022-07-28 21:56:42 +02:00
Gymnasiast
5e8b749277 Fix #17542: Stalls will autorotate towards paths outside the park 2022-07-28 21:26:11 +02:00
Gymnasiast
f0777e5418 Introduce constant for construction rights clearance 2022-07-28 21:25:42 +02:00
Raymond Zhao
7399163a3c Use more smart ptrs and u8strings (#17611)
* Use smart ptr for PlatformUiContext and WindowManager

* Remove more delete calls

* Apply PR feedback
2022-07-28 18:19:38 +01:00
Michael Steenbeek
e5d2e3001d Fix buffer size handling for ride operations input
Ensure a nicely terminated string
2022-07-28 14:24:19 +02:00
Michael Steenbeek
6852b184b6 Fix #17541: Station style not correctly saved to TD6 2022-07-28 14:23:53 +02:00
Michael Steenbeek
a75cc10dd5 Refactor Ride::Open, Ride::Test not to use gGameCommandErrorText 2022-07-28 14:23:33 +02:00
Michael Steenbeek
1a8660d59d Pass window reference to tool_set (#17625) 2022-07-27 22:22:22 -03:00
frutiemax
a3ce24658c Add StartRideMusic field to RTD 2022-07-27 23:50:20 +00:00
Michael Steenbeek
8c88a8684c Merge pull request #17107 from rik-smeets/text-input-ride-operating-window
Feature: Change ride operating settings via text input
2022-07-27 23:39:05 +02:00
Gymnasiast
39f60c3412 Input current value; fix dodgems mode detection 2022-07-27 23:13:01 +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
Duncan
7433119749 Fix #17620. Missing setting ride id for construction window (#17622)
This would eventually cause a crash when trying to reset the window on last track piece deletion. Mistake made in refactor #17578
2022-07-27 16:06:33 +01:00
Michael Steenbeek
710e0e30db Replace ride type check in S4Importer
This is more preparation needed to make ride types into objects. Supersedes #17209.
2022-07-27 12:44:15 +02:00
OpenRCT2 git bot
a516b0ce34 Merge Localisation/master into OpenRCT2/develop 2022-07-27 04:21:03 +00:00
frutiemax
bc72c7e24c Add UpdateLeaveEntrance field to the RTD (#16986)
Co-authored-by: frutiemax <frutiemax@users.noreply.github.com>
2022-07-26 19:33:54 -03:00
Hielke Morsink
4bac31c997 Improve placeholder text for steps to reproduce
Move value to placeholder, so the field is empty and the user has to write something in this field themselves.
Provide simple example steps to make it more clear what we expect.
2022-07-26 23:58:14 +02:00
Michael Steenbeek
3f56a0eac9 Fix stray white line 2022-07-26 20:08:05 +01:00
Hielke Morsink
6f48ffdf41 Fix #17430: Crash when modifying tile when in multiplayer 2022-07-26 19:47:38 +02:00
Raymond Zhao
4f23e5e9ec Refactor struct TrackDesignFileRef
- Refactors track_design_file_ref to TrackDesignFileRef and replaces the utf8* fields of that struct with u8string
- Gets rid of some String::Duplicate() and delete calls
- Uses a bunch of c_str() calls to interface with older functions
2022-07-26 16:12:46 +00: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
Nikolas Parshook
628da77c0e Refactor ride construction window (#17578) 2022-07-26 15:17:25 +01:00
OpenRCT2 git bot
e63e682731 Merge Localisation/master into OpenRCT2/develop 2022-07-26 04:28:26 +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
OpenRCT2 git bot
e33b35a04d Merge Localisation/master into OpenRCT2/develop 2022-07-25 04:19:38 +00:00
frutiemax
bf432cc943 Add name field to RideTypeDescriptor structure 2022-07-25 00:06:37 +02:00
Hielke Morsink
fe27421608 Merge pull request #17435 2022-07-24 21:17:16 +02:00
Hielke Morsink
323fad7b49 Allocate buffer on the stack and improve comments 2022-07-24 20:02:46 +02:00
jazzysoggy
c0853b56ad Fix Format_VA. Rename Format to StdFormat.
author jazzysoggy <39224097+jazzysoggy@users.noreply.github.com> 1655955994 -0400
committer jazzysoggy <39224097+jazzysoggy@users.noreply.github.com> 1656516326 -0400

Fixed Format_VA and renamed Format to StdFormat. Both now output to Std::String, while taking the same input as before. Changed functions that use these two to account for this output difference
2022-07-24 19:30:57 +02:00
X123M3-256
55c8a3d775 Add extra vehicle sprite groups (new track pieces part 1) (#17352)
* Add new sprite groups for zero G rolls

* Fix formatting

* Rename vehicle paint functions

* Fix formatting

* Fix parameter name

* Fix formatting
2022-07-24 05:40:41 +01: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
Henry Cheng
46a2047309 Refactor Server Start Window to Class (#17592)
* Refactor first

* Update refactor

* Add fixes requested

* Dropped static
2022-07-23 20:47:17 +01:00
Michał Janiszewski
5688eb511d Use SDL_free to release SDL_RWops (#17591) 2022-07-22 22:28:58 +00:00
Raymond Zhao
71ad3af930 Use more smart pointers in openrct2-ui (#17582)
* Use more smart ptrs

* Use move instead of copy ctor
2022-07-22 11:48:43 +01: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
Raymond Zhao
f4df6be8ae Remove some calls to free (#17577) 2022-07-21 07:50:43 +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
Michał Janiszewski
2a58719284 Improve CMake handling of g2.dat (#17558)
CMake variables already escape characters. Fixes #17534
2022-07-17 01:43:07 -07: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
underdoom
fe2f1bad5a Remove unwanted condition in ride_ratings_update_state_5 2022-07-12 19:58:40 +02:00