mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
Allow maxing out launch speed and many other operation settings as well
This commit is contained in:
@@ -3470,7 +3470,7 @@ STR_5133 :{SMALLFONT}{BLACK}Adjust smaller area of land rights
|
|||||||
STR_5134 :{SMALLFONT}{BLACK}Adjust larger area of land rights
|
STR_5134 :{SMALLFONT}{BLACK}Adjust larger area of land rights
|
||||||
STR_5135 :{SMALLFONT}{BLACK}Buy land rights and construction rights
|
STR_5135 :{SMALLFONT}{BLACK}Buy land rights and construction rights
|
||||||
STR_5136 :Land rights
|
STR_5136 :Land rights
|
||||||
STR_5137 :Allow lift hill speeds up to {VELOCITY}
|
STR_5137 :Allow lift hill and launch speeds{NEWLINE}up to {VELOCITY}
|
||||||
STR_5138 :{SMALLFONT}{WINDOW_COLOUR_2}{STRINGID}
|
STR_5138 :{SMALLFONT}{WINDOW_COLOUR_2}{STRINGID}
|
||||||
STR_5139 :{WHITE}{STRINGID}
|
STR_5139 :{WHITE}{STRINGID}
|
||||||
STR_5140 :Disable brakes failure
|
STR_5140 :Disable brakes failure
|
||||||
|
|||||||
@@ -2700,7 +2700,10 @@ static void window_ride_mode_tweak_increase(rct_window *w)
|
|||||||
{
|
{
|
||||||
rct_ride *ride = GET_RIDE(w->number);
|
rct_ride *ride = GET_RIDE(w->number);
|
||||||
uint8 value = ride->var_0D0;
|
uint8 value = ride->var_0D0;
|
||||||
if (value < RCT2_GLOBAL(RCT2_ADDRESS_RIDE_FLAGS + (ride->type * 8) + 5, uint8))
|
//fast_lift_hill is the cheat that allows maxing out many limits on the Operating tab.
|
||||||
|
uint8 max_value = gConfigCheat.fast_lift_hill ? 255 : RCT2_GLOBAL(RCT2_ADDRESS_RIDE_FLAGS + (ride->type * 8) + 5, uint8);
|
||||||
|
|
||||||
|
if (value < max_value)
|
||||||
value += ride->mode == RIDE_MODE_BUMPERCAR ? 10 : 1;
|
value += ride->mode == RIDE_MODE_BUMPERCAR ? 10 : 1;
|
||||||
|
|
||||||
window_ride_mode_tweak_set(w, value);
|
window_ride_mode_tweak_set(w, value);
|
||||||
|
|||||||
Reference in New Issue
Block a user