RynthSuite as of 2026-11-05 (internal a77109a): release 2026.11.3.2
This commit is contained in:
parent
d02690c0d2
commit
7166d256ce
62 changed files with 330 additions and 17 deletions
|
|
@ -36,7 +36,7 @@ internal sealed class SlopeOverlay
|
|||
|
||||
public void Submit(TickContext ctx)
|
||||
{
|
||||
if (!_settings.ShowUnclimbableSlopes || ctx.Terrain == null || !ctx.OnLandscape)
|
||||
if (!_settings.ShowUnclimbableSlopes || ctx.Terrain == null || !ctx.OnLandscape || ctx.Indoors)
|
||||
return;
|
||||
if (!_host.HasNav3DTriangle) // requires API v60+
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,12 @@ internal sealed class TickContext
|
|||
/// </summary>
|
||||
public bool OnLandscape;
|
||||
|
||||
/// <summary>
|
||||
/// True inside a building or dungeon cell (EnvCell). The terrain under a building runs
|
||||
/// through its floors, so the slope and water overlays stay off there.
|
||||
/// </summary>
|
||||
public bool Indoors => (CellId & 0xFFFF) >= 0x100;
|
||||
|
||||
/// <summary>The terrain around the player, or null while terrain data isn't loaded.</summary>
|
||||
public LandblockWindow? Terrain;
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ internal sealed class WaterOverlay
|
|||
|
||||
public void Submit(TickContext ctx)
|
||||
{
|
||||
if (!_settings.ShowImpassableWater || ctx.Terrain == null || !ctx.OnLandscape)
|
||||
if (!_settings.ShowImpassableWater || ctx.Terrain == null || !ctx.OnLandscape || ctx.Indoors)
|
||||
return;
|
||||
if (!_host.HasNav3DTriangle) // requires API v60+
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue