Don't draw shadowed walls
This commit is contained in:
@@ -45,10 +45,12 @@ wallsToDraw w =
|
||||
-- g (V2 i j) = w ^? wlZoning . znObjects . ix i . ix j
|
||||
|
||||
wlOpaqueDraw :: Wall -> Bool
|
||||
wlOpaqueDraw wl = wlIsOpaque wl && _wlHeight wl == 100
|
||||
wlOpaqueDraw wl = wlIsOpaque wl && _wlHeight wl == 100 && _wlUnshadowed wl
|
||||
|
||||
wlSeeThroughDraw :: Wall -> Bool
|
||||
wlSeeThroughDraw wl = wlIsSeeThrough wl && _wlHeight wl == 100
|
||||
wlSeeThroughDraw wl = wlIsSeeThrough wl
|
||||
&& _wlHeight wl == 100
|
||||
&& _wlUnshadowed wl
|
||||
|
||||
getWallSPic :: Wall -> SPic
|
||||
getWallSPic wl = case wl ^? wlOpacity . opDraw of
|
||||
|
||||
Reference in New Issue
Block a user