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
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
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
Andrew
ef730aa56c
Fix #14635 : Show more scenery tab groups in rows ( #19373 )
2023-02-14 20:57:11 +00:00
Gymnasiast
d450a85c5b
Update WoodenRCTrackPaint() signature
...
Make the signature reflect the arguments and order of PaintAddImage*
2023-02-14 09:57:19 +01:00
Gymnasiast
8b2d3937fd
Clean up call to PaintAddImageAsParent()
2023-02-14 09:57:19 +01:00
Silent
0763fd5a78
Fix GfxWrapString potentially corrupting the in/out buffer
...
Fixes a consistent assertion when displaying "Cannot start construction"
in Japanese, but it has potential fix countless other crashes
related to string wrapping/display.
2023-02-14 09:50:05 +01:00
Silent
8216d00522
Set the container type in LanguagePack::FromFile to std::string
...
The code interpreting fileData assumes the string has a valid null terminator,
which is not guaranteed by std::vector, but is guaranteed by std::string.
2023-02-14 09:50:05 +01:00
ACGNnsj
d3ea4bfbc8
Remove Duplicated Preprocessor Macro Definition ( #19376 )
...
* Update openrct2.common.props
Remove duplicated preprocessor macro definition of _USE_MATH_DEFINES which defined in src/openrct2/common.h and SDL2/SDL_stdinc.h
* Remove the definition of _USE_MATH_DEFINES from 'common.h'
2023-02-14 08:19:58 +00:00
Michael Steenbeek
8a0a4819ca
Close #19393 : Replace PaintMonorailCyclesUtil7C() ( #19395 )
2023-02-14 08:14:47 +00:00
Michael Steenbeek
bd84d626c9
Clean up PaintAddImageAsChildRotated() ( #19394 )
2023-02-14 08:13:56 +00:00
Gymnasiast
e585f1a633
Base shop/facility bounding box on actual height
2023-02-14 01:05:13 +01:00
Gymnasiast
23a5044509
Allow shops and stalls to set their own clearances
2023-02-14 00:52:21 +01:00
Michael Steenbeek
70af1c6c0d
Clean up PaintAddImageAsParent() calls ( #19392 )
2023-02-13 22:07:39 +00:00
kyphii
dfb2c3fa60
Fix #17996 - Finances window not cleared when starting some .park scenarios ( #19368 )
...
* Clear Finances Graph on Scenario Load
* Update changelog
---------
Co-authored-by: Trevor Finney <8711258+finneyt@users.noreply.github.com>
2023-02-13 21:30:47 +00:00
Michael Steenbeek
3814d6b3af
Add some additional RCT1 vehicle IDs ( #19389 )
2023-02-13 20:38:03 +00:00
Matthias Moninger
7b61c6352a
Desnake some stuff, small string passing cleanup ( #19388 )
...
* Rename scenario_index_entry to ScenarioIndexEntry
* Desnake members of ScenarioIndexEntry
* Pass const u8string& instead of utf8 pointer
2023-02-13 20:30:16 +00:00
Gymnasiast
38b057a0ba
Use BoundBoxXYZ version of PaintAddImageAsParentRotated()
2023-02-13 20:51:42 +01:00
Gymnasiast
04f2479c34
Create PaintAddImageAsParentRotated() function that takes a BoundBoxXYZ
2023-02-13 19:59:30 +01:00
Silent
0383875692
Fix an assertion error in ResearchNextDesign, simplify code
2023-02-13 12:30:24 +01:00
spacek531
df0edc92d0
Vehicle/rename update flags ( #19363 )
...
* rename VEHICLE_UPDATE_FLAG_ON_LIFT_HILL
* rename VEHICLE_UPDATE_FLAG_COLLISION_DISABLED
* rename VEHICLE_UPDATE_FLAG_WAIT_ON_ADJACENT
* rename VEHICLE_UPDATE_FLAG_REVERSING_SHUTTLE
* rename VEHICLE_UPDATE_FLAG_READY_DEPART
* rename VEHICLE_UPDATE_FLAG_TESTING
* rename VEHICLE_UPDATE_FLAG_6
* rename VEHICLE_UPDATE_FLAG_ZERO_VELOCITY
* rename VEHICLE_UPDATE_FLAG_BROKEN_CAR
* rename VEHICLE_UPDATE_FLAG_BROKEN_TRAIN
* rename VEHICLE_UPDATE_FLAG_ON_BRAKE_FOR_DROP
* rename VEHICLE_UPDATE_FLAG_USE_INVERTED_SPRITES
* rename VEHICLE_UPDATE_FLAG_12
* rename VEHICLE_UPDATE_FLAG_ROTATION_OFF_WILD_MOUSE
* rename VEHICLE_UPDATE_FLAG_SINGLE_CAR_POSITION
* rename VEHICLE_UPDATE_FLAG_CRASHED
* name flag 12 to Reverse Incline Completed Lap
* name flag 6 to Currently Colliding
* fix formatting
* rename has/clear/set update flag
* fix formatting again
* move to namespace constexpr
* fix formatting
* the one that got away
2023-02-12 22:32:16 +00:00
Michael Steenbeek
3912381502
Implement "no platforms" for Junior RC ( #19379 )
2023-02-12 21:33:24 +00:00
Michael Steenbeek
07d198f084
Close #12466 : Add flag to use RCT1 interest ( #19377 )
...
* Close #12466 : Add flag to use RCT1 interest
* Bump network version
2023-02-12 21:23:05 +00:00
Michael Steenbeek
bc20c33568
Add command to combine CSG1i and CSG1 ( #19378 )
2023-02-12 21:13:46 +00:00
Duncan
d811c9a9ba
Add Object Entry Manager ( #19332 )
...
* Add object entry manager
Port over wall and banner
* Port over small scenery to ObjectEntryManager
Clang format files
Actually make things safe
Fix build
2023-02-12 20:43:11 +00:00
Silent
7fb21721a7
Fix a division by zero in TitleScreen::TitleInitialise ( #19380 )
...
This occurs when there are no installed sequences
and random_title_sequence is enabled in the config.
2023-02-12 18:59:28 +00:00
spacek531
1dfbb5f124
Widen Vehicle::update_flags to 32 bits ( #19340 )
...
* Expand update_flags to uint32
* move IsCrashedVehicle to update_flags
* rename update_flags to Flags
* Update replays
---------
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-02-10 21:46:06 +00:00
eaeiv
96bfa633fe
Widens TotalRideValue to fix overflow reported in #19292 ( #19326 )
...
* Widens TotalRideValue to 64 bits
* Adds name to contributors file
* Adds totalRideValue overflow fix to changelog
2023-02-09 21:51:03 +00:00
Josh Trzebiatowski
4591ad2f4e
scenery filtering improvements
2023-02-08 23:54:58 +01:00
Matthias Moninger
ece0ee42d5
Rename snake functions in Station.cpp ( #19316 )
2023-02-05 20:48:35 +00:00