Remove old zoning code

This commit is contained in:
2022-08-21 22:10:38 +01:00
parent c35dbf1ba8
commit 496066e727
5 changed files with 8 additions and 191 deletions
+8 -8
View File
@@ -180,7 +180,7 @@ debugDraw' cfig w bl = case bl of
Mouse_position -> drawMousePosition cfig w
Walls_info -> drawWlIDs cfig w
Pathing -> drawPathing cfig w
Show_nodes_near_select -> drawNodesNearSelect w
Show_nodes_near_select -> undefined --drawNodesNearSelect w
Show_path_between -> drawPathBetween w
Collision_test -> drawCollisionTest cfig w
@@ -212,13 +212,13 @@ drawPathBetween w =
sp = _lSelect w
ep = _rSelect w
drawNodesNearSelect :: World -> Picture
drawNodesNearSelect w =
setLayer DebugLayer $
runIdentity (S.foldMap_ (drawZoneCol orange pnZoneSize) (zoneAroundPoint pnZoneSize sp))
<> color green (drawCross sp)
where
sp = _lSelect w
--drawNodesNearSelect :: World -> Picture
--drawNodesNearSelect w =
-- setLayer DebugLayer $
-- runIdentity (S.foldMap_ (drawZoneCol orange pnZoneSize) (zoneAroundPoint pnZoneSize sp))
-- <> color green (drawCross sp)
-- where
-- sp = _lSelect w
drawInspectWalls :: World -> Picture
drawInspectWalls w =