Hielke Morsink
a258008bef
Refactor window functions to take references 4
2022-07-31 17:23:16 +02:00
Hielke Morsink
523bb8136e
Refactor window functions to take references 3
2022-07-31 17:23:16 +02:00
Hielke Morsink
c8605a8763
Refactor window functions to take references 2
2022-07-31 17:23:15 +02:00
Hielke Morsink
76c1bc8980
Refactor window functions to take references 1
2022-07-31 17:23:15 +02: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
frutiemax
e96f428c7b
Add RIDE_TYPE_FLAG_HAS_SEAT_ROTATION for multi-dim rollercoaster
2022-07-31 12:01:22 +02:00
frutiemax
aab94437dc
Add RIDE_TYPE_FLAG_HAS_ONE_STATION for gokarts and minigolf
2022-07-31 02:16:48 +02:00
Michał Janiszewski
575bae7ac4
Rename global variable text_palette -> gTextPalette ( #17647 )
2022-07-30 23:21:34 +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
Michael Steenbeek
0bfc151ab9
Remove remaining usages of gGameCommandErrorText
2022-07-30 18:04:59 +02:00
Ted John
142b9ff243
Optimise object selection search
...
* Do case insensitive string matching for object search.
* Return as soon as first field is a hit.
2022-07-30 16:50:54 +02:00
frutiemax
d556eafc73
Add LightFXAddLightsMagicVehicle to RTD ( #17211 )
2022-07-30 16:45:41 +02:00
Michael Steenbeek
5a5b107245
Refactor Twist rotations, fix truncating of operating value ( #17636 )
2022-07-30 16:32:22 +02:00
Hielke Morsink
e2da19f0f7
Add missing includes
2022-07-29 18:45:10 +02:00
Michael Steenbeek
2b859c7099
Remove __ENABLE_LIGHTFX__ define
...
It is already enabled for all our builds, and upcoming changes to RTD would add a slew more.
Discussed in team chat with Duncan and Hielke.
2022-07-28 21:34:02 +00: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
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
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
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
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
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
frutiemax and 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
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
Ted John
bd6817cb45
Fix #17533 : Missing audio when specifying --rct2-data-path
2022-07-25 14:26:28 +00:00
frutiemax
bf432cc943
Add name field to RideTypeDescriptor structure
2022-07-25 00:06:37 +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
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
Sadret and duncanspumpkin
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
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
Michael Steenbeek
11614d7170
Merge pull request #17486 from duncanspumpkin/inventionWnd
...
Invention List Window Class Refactor
2022-07-12 19:49:03 +02:00
Gymnasiast
452206701a
Drop support for old names for CAR_ENTRY_FLAG_*
2022-07-11 18:06:23 +02:00
Gymnasiast
8871760472
Rename car entry animation flags
2022-07-11 18:06:22 +02:00
Gymnasiast
06c368694a
Update variables containing a CarEntry
2022-07-11 18:06:22 +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