Cleanup door mounts, noticed space leak when no debug-display paths

This commit is contained in:
2025-10-25 22:49:37 +01:00
parent cbf0f47b9b
commit 61910785c4
16 changed files with 217550 additions and 864094 deletions
+3 -2
View File
@@ -10,7 +10,6 @@ module Dodge.Data.CWorld (
import Control.Lens
import Data.Aeson
import Data.Aeson.TH
--import Data.Graph.Inductive
import Data.Tile
import Dodge.Data.Camera
import Dodge.Data.LWorld
@@ -19,13 +18,15 @@ import Geometry.ConvexPoly
import Geometry.Data
import qualified Data.Vector as V
import qualified Data.Vector.Unboxed as UV
import qualified Data.IntMap.Strict as IM
data CWorld = CWorld
{ _lWorld :: LWorld
, _cwGen :: CWGen
, _cClock :: Int
, _cwTiles :: [Tile]
, _incGraph :: V.Vector [(Int,SimpleEdge)]
-- , _incGraph :: V.Vector [(Int,SimpleEdge)]
, _incGraph :: V.Vector (IM.IntMap SimpleEdge)
, _incNode :: UV.Vector Point2
, _incEdges :: [(Int,Int)]
, _numberFloorVerxs :: Int