Keep track of seen walls in external list

This commit is contained in:
2023-01-03 22:36:44 +00:00
parent 5b4e8d75bb
commit 0b7da0489a
10 changed files with 30 additions and 727 deletions
-3
View File
@@ -13,7 +13,6 @@ defaultWall =
{ _wlLine = (V2 0 0, V2 50 0)
, _wlID = 0
, _wlColor = greyN 0.6
, _wlSeen = False
, _wlOpacity = Opaque
, _wlPathable = False
, _wlPenetrable = False
@@ -64,7 +63,6 @@ defaultDirtWall =
{ _wlLine = (V2 0 0, V2 50 0)
, _wlID = 0
, _wlColor = dirtColor
, _wlSeen = False
, _wlOpacity = Opaque
, _wlRotateTo = False
, _wlFireThrough = True
@@ -78,7 +76,6 @@ defaultWindow =
{ _wlLine = (V2 0 0, V2 50 0)
, _wlID = 0
, _wlColor = withAlpha 0.5 cyan
, _wlSeen = False
, _wlOpacity = SeeThrough
, _wlFireThrough = True
, _wlMaterial = Glass
+1
View File
@@ -110,6 +110,7 @@ defaultLWorld =
, _tractorBeams = mempty
, _linearShockwaves = mempty
, _walls = IM.empty
, _seenWalls = mempty
, _wallDamages = IM.empty
, _blocks = IM.empty
, _machines = IM.empty