Duncan
ea036a38fd
Use MapCanConstructWithClear in LandSetHeightAction ( #13037 )
2020-10-01 08:41:35 -03:00
Michael Steenbeek
e255c7bb58
Fix #13044 : Rides in RCT1 saves all have "0 customers per hour" ( #13045 )
2020-10-01 10:32:51 +01:00
Bryan DiLaura
56e8cc77c6
Close #12409 : Refactor CONSOLE_INPUT to use strong enum ( #13052 )
2020-10-01 10:31:03 +01:00
Duncan
afbc983a94
Fix #13050 : Mistake during refactor removed drawing cached track count ( #13051 )
2020-10-01 09:57:46 +02:00
Duncan
2063aea5ef
Remove common format formatter where possible ( #13034 )
...
* Remove common format formatter where possible
Eventually should have it limited to tooltips, window titles and widget args
* Remove remaining paint functions using common
* Remove misuse of gCommonFormatArgs
2020-09-30 22:42:04 +01:00
Michael Steenbeek
e4068b9fa8
Fix #8015 : RCT2 files are not found when put into the OpenRCT2 folder ( #13043 )
...
As mentioned in #8015 , gExePath is never set, so I removed that variable altogether.
2020-09-30 18:37:50 -03:00
rpstester
3508bdc37d
Close #12390 : Refactor PeepRideSubState to enum class
...
Also made a RideSubState as a union with SubState and SittingSubState
Updated all values across all files, and the corresponding assert.
2020-09-30 23:33:58 +02:00
Vinicius Sa
41820cd3c2
Close #12392 : Refactor PeepActionType to use strong enum
2020-09-30 23:19:10 +02:00
Tulio Leao
b92328ce34
Merge pull request #13004 from vjavs/strong-enum/PeepActionSpriteType
...
Refactor PeepActionSpriteType to use strong enum
2020-09-29 23:38:23 -03:00
ζeh Matt
30307ec42d
Merge pull request #13030 from ZehMatt/fix-4617-2
...
Fix #4617 : Crash when rotating with invalid viewport open
2020-09-30 00:53:32 +03:00
ζeh Matt
754f6b3e05
Merge pull request #13011 from ZehMatt/refactor/titlesequencemanager
...
Refactor code around TitleSequence
2020-09-29 23:51:38 +03:00
Matt
005e1e0e1f
Final cleanup
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:23:51 +03:00
Matt
850b10f1fd
Fix memory leak
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:23:41 +03:00
Matt
f765ed2f94
Use unique_ptr for TitleSequenceParkHandle Stream
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:23:28 +03:00
Matt
e3a4d6a245
Use std::string for TitleSequenceParkHandle HintPath
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:23:01 +03:00
Matt
17bff41e82
Use std::unique_ptr for TitleSequenceParkHandle
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:22:44 +03:00
Matt
464545b907
Cleanup remnants
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:22:35 +03:00
Matt
668bd8dc9b
Use std::string for TitleSequence paths
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:22:25 +03:00
Matt
f586981cd3
Use std::string for TitleSequence names
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:22:12 +03:00
Matt
612249bd74
Use vector for TitleSequence commands
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:21:58 +03:00
Matt
7245f23422
Use vector for TitleSequence saves
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:21:42 +03:00
Matt
ccb6eb06f8
Use unique_ptr for TitleSequence instances
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:21:27 +03:00
Matt
c23e2621a5
Cleanup string usage
...
Co-authored-by: Gabriel Guedes <gabriel.guedesaz@gmail.com>
2020-09-29 23:21:03 +03:00
Matt
d6c2ec898d
Fix #4617 : Crash when rotating with invalid viewport open
2020-09-29 21:44:59 +03:00
Michael Steenbeek
a850d76d60
Fix: Not all Junior RC pieces shown with "Show all track pieces" on
2020-09-29 19:57:34 +02:00
Vinicius Sa
ca8fa55fdb
Use EnumValue to get the underlying value of an enum
...
Applied to objects of the enum class PeepActionSpriteType when they are
used as arrays subscripts.
2020-09-29 11:15:07 -03:00
Vinicius Sa
f8dd0a57aa
Refactor PeepActionSpriteType to use strong enum
2020-09-29 11:15:04 -03:00
OpenRCT2 git bot
e9483ad6f0
Merge Localisation/master into OpenRCT2/develop
2020-09-29 04:05:04 +00:00
Ben Johnston
147daa8f01
Refactor PARK_AWARD to use strong enum ( #13017 )
...
* Refactor PARK_AWARD to use strong enum
2020-09-28 21:48:03 -03:00
Duncan
3c8adb1fc1
Remove gMapTooltip format args global ( #12971 )
...
Fix mistake
2020-09-28 21:45:28 -03:00
Aaron van Geffen
a0341a7aeb
Fix #13021 : Mowed grass and weeds don't show up ( #13031 )
2020-09-28 21:44:29 -03:00
Michael Steenbeek
43bc6babba
Merge pull request #12999 from Gymnasiast/feature/sea-files-in-scenario-list
...
Add .sea support to New Scenario list and extension handling
2020-09-28 22:09:35 +02:00
Gymnasiast
43478edf6e
Add #12999 to changelog
2020-09-28 21:48:37 +02:00
Gymnasiast
84201678ca
Add comment
2020-09-28 21:41:50 +02:00
Matt
213b6cc672
Use unique_ptr for GetStreamFromRCT2Scenario
2020-09-28 21:17:28 +02:00
Gymnasiast
5f0aed0929
Add .sea support to New Scenario list and extension handling
2020-09-28 21:17:28 +02:00
Łukasz Pękalski
d1cd2e08b5
Close #12388 , refactor PeepState to use strong enum ( #12927 )
...
* Close #12388 , refactor:PeepState to use strong enum
* refactor: refactored file PlayTests.cpp
* refactor: change PEEP_STATE_ to PeepState:: and camel case after merging
chore: code reformatting
2020-09-28 15:51:49 -03:00
Aaron van Geffen
d27e14f45b
Compact, statically initialized syntax for event lists ( #12973 )
2020-09-28 20:36:15 +02:00
ζeh Matt
54edba2272
Merge pull request #13023 from gsckoco/make_add_news_item_assoc_optional
...
Make add_news_item assoc optional
2020-09-28 20:28:45 +03:00
Łukasz Pękalski
065da23b3b
Close #12437 , refactor: RIDE_MODE_* to strong enums ( #12833 )
...
* partial refactor: RIDE_MODE_* to strong enums
* Close #12437 , refactor: RIDE_MODE_* to strong enums
* chore: code formatting
* refactor: RideMode, change enum names to CamelCase
and resolve casting order.
* chore: refactor due to code formatting
* Close #12437 , refactor: RIDE_MODE_* to strong enums
Resolved comments
* chore: Formatting correction.
* Use EnumsToFlags constexpr
* refactor: resolved comments
added newline at the end of file
* refactor: Change case stack to default in Switch
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2020-09-28 14:09:59 +01:00
gsckoco
869c3e938b
Updated PR id in changelog.txt
2020-09-28 12:35:51 +01:00
gsckoco
48ee6e02da
Updated changelog.txt
2020-09-28 12:31:40 +01:00
gsckoco
0e607fff43
Added myself to contributors.md
2020-09-28 12:29:22 +01:00
gsckoco
391dabc4f9
Made add_news_item argument assoc optional
2020-09-28 12:28:31 +01:00
Tulio Leao
8f5ee758ee
Fix #3200 : Close Construction window upon selecting vehicle page ( #13022 )
2020-09-28 07:37:22 -03:00
OpenRCT2 git bot
0297d0bef3
Merge Localisation/master into OpenRCT2/develop
2020-09-28 04:07:02 +00:00
Michael Steenbeek
3c07a9e49b
Allow opening Objective options via console ( #13000 )
2020-09-27 21:53:31 -03:00
Duncan
4ec10837a6
Remove Formatter::Common where not required ( #12972 )
...
* Remove Formatter::Common where not required
* Remove common from Guest window where possible
2020-09-27 21:09:08 -03:00
Richard Fine
a1222fa4ca
Staff code cleanup ( #12907 )
...
* Make UpdateFixing*() methods use const where possible
To make it clearer which steps actually modify the ride being fixed and which do not, pass const Ride* instead of Ride* where possible.
* Extract maximum litter search distance to a constant
* Make peep_update_*() methods return bool
* Use Direction type and helpers where applicable
* Const correctness and other cleanup
Make many functions take a const Peep* / const Staff* to clarify that they do not modify the peep being passed in. Also use the Direction type for some return values, and simplify staff_is_location_on_patrol_edge.
* Use clearer expression of constant value
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
* Convert staff functions to members
* Remove AsStaff const overload
* Use As<Staff>() instead of static_cast
* Simplify direction selection code
* Clean up use of magic constants
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2020-09-27 21:07:09 -03:00
Tulio Leao
0201c0bf63
Start v0.3.2
2020-09-27 18:53:53 -03:00