Start simplifying/removing Wall records

This commit is contained in:
2025-10-23 18:11:01 +01:00
parent fc7c4d6468
commit 819f0d37ea
18 changed files with 230 additions and 243 deletions
+1 -4
View File
@@ -16,14 +16,12 @@ defaultAutoWall :: Wall
defaultAutoWall =
defaultDoorWall
& wlColor .~ dim yellow
& wlPathable .~ True
& wlOpacity .~ Opaque 9
defaultSwitchWall :: Wall
defaultSwitchWall =
defaultDoorWall
& wlColor .~ red
& wlPathable .~ False
& wlOpacity .~ Opaque 0
defaultDoor :: Door
@@ -33,7 +31,7 @@ defaultDoor =
-- , _drWallIDs = mempty
-- , _drStatus = DoorClosed
, _drTrigger = WdBlConst False
, _drMech = DrWdId
, _drUpdate = DoorDoNothing
-- , _drPos = (0, 0)
-- , _drOpenPos = (0, 0)
-- , _drClosePos = (0, 0)
@@ -42,7 +40,6 @@ defaultDoor =
, _drLerp = 0
, _drFootPrint = mempty
, _drHP = 10000
, _drSpeed = 1
, _drPushedBy = PushesItself
, _drPushes = Nothing
, _drMounts = mempty
+1 -4
View File
@@ -23,13 +23,10 @@ defaultWall =
, _wlColor = greyN 0.6
, _wlPathFlag = S.fromList [WallBlockVisibility
, WallNotAutoOpen, WallNotDestrucable]
, --, _wlOpacity = Opaque 11
_wlOpacity = Opaque 11
, _wlPathable = False
, _wlOpacity = Opaque 11
, _wlPenetrable = False
, _wlFireThrough = False
, _wlTouchThrough = False
, _wlReflect = False
, _wlUnshadowed = True
, _wlRotateTo = True
, _wlStructure = StandaloneWall