Split bullet spawning and bouncing/penetration

This commit is contained in:
2022-07-19 15:33:49 +01:00
parent 8ee4d2e0f2
commit 3031f2478c
12 changed files with 32 additions and 25 deletions
+4
View File
@@ -13,6 +13,7 @@ defaultWall = Wall
, _wlSeen = False
, _wlOpacity = Opaque
, _wlPathable = False
, _wlPenetrable = False
, _wlFireThrough = False
, _wlTouchThrough = False
, _wlReflect = False
@@ -41,6 +42,7 @@ defaultMachineWall = defaultWall
, _wlRotateTo = False
, _wlStructure = MachinePart 0
, _wlMaterial = Metal
, _wlPenetrable = True
}
defaultDirtWall :: Wall
defaultDirtWall = defaultWall
@@ -51,6 +53,7 @@ defaultDirtWall = defaultWall
, _wlOpacity = Opaque
, _wlRotateTo = False
, _wlFireThrough = True
, _wlPenetrable = True
, _wlMaterial = Dirt
}
defaultWindow :: Wall
@@ -62,4 +65,5 @@ defaultWindow = defaultWall
, _wlOpacity = SeeThrough
, _wlFireThrough = True
, _wlMaterial = Glass
, _wlPenetrable = True
}