mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Allow fine-tuning the virtual floor style (#7577)
The virtual floor by @JeroenDStout, introduced in the v0.1.2 release, has generally been well-received. However, some players find it too intrusive in its current appearance (cf. #7221). This PR gives them the option of a toned-down version, rather than having to turn it off completely.  The clear/transparent style, introduced by this PR, looks like the virtual floor as originally introduced in #6338:  The glassy/translucent style is the virtual floor as we've come to know it since the v0.1.2 release, and remains the default setting.
This commit is contained in:
committed by
Hielke Morsink
parent
2127a0170e
commit
bf44007197
@@ -176,7 +176,7 @@ void input_handle_keyboard(bool isTitle)
|
||||
}
|
||||
}
|
||||
|
||||
if (gConfigGeneral.use_virtual_floor)
|
||||
if (gConfigGeneral.virtual_floor_style != VIRTUAL_FLOOR_STYLE_OFF)
|
||||
{
|
||||
if (gInputPlaceObjectModifier & (PLACE_OBJECT_MODIFIER_COPY_Z | PLACE_OBJECT_MODIFIER_SHIFT_Z))
|
||||
virtual_floor_enable();
|
||||
|
||||
Reference in New Issue
Block a user