Refactor floor items, removing ids (not fully checked)
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
module Dodge.Default.World (
|
||||
defaultWorld,
|
||||
) where
|
||||
module Dodge.Default.World (defaultWorld) where
|
||||
|
||||
import Data.Graph.Inductive.Graph hiding ((&))
|
||||
import qualified Data.Map as M
|
||||
@@ -8,7 +6,6 @@ import Dodge.Data.World
|
||||
import Geometry.Data
|
||||
import Geometry.Polygon
|
||||
import qualified IntMapHelp as IM
|
||||
import NewInt
|
||||
import System.Random
|
||||
|
||||
defaultInput :: Input
|
||||
@@ -87,7 +84,6 @@ defaultCWorld =
|
||||
{ _lWorld = defaultLWorld
|
||||
, _cwGen = defaultCWGen
|
||||
, _cClock = 0
|
||||
-- , _seenWalls = mempty
|
||||
, _pathGraph = Data.Graph.Inductive.Graph.empty
|
||||
, _cwTiles = mempty
|
||||
, _numberFloorVerxs = 0
|
||||
@@ -133,7 +129,7 @@ defaultLWorld =
|
||||
, _doors = IM.empty
|
||||
, _coordinates = IM.empty
|
||||
, _triggers = IM.empty
|
||||
, _floorItems = NIntMap IM.empty
|
||||
, _floorItems = mempty
|
||||
, _worldEvents = []
|
||||
, _delayedEvents = []
|
||||
, _pressPlates = IM.empty
|
||||
@@ -156,7 +152,7 @@ defaultLWorld =
|
||||
, _imHotkeys = mempty
|
||||
, _lAimPos = 0
|
||||
, _lInvLock = False
|
||||
, _respawnPos = (V2 20 20, pi/2)
|
||||
, _respawnPos = (V2 20 20, pi / 2)
|
||||
}
|
||||
|
||||
defaultHUD :: HUD
|
||||
@@ -176,7 +172,6 @@ defaultDisplayInventory =
|
||||
{ _subInventory = NoSubInventory
|
||||
, _diSections = mempty
|
||||
, _diSelection = Just (1, 0, mempty)
|
||||
-- , _diSelectionExtra = mempty
|
||||
, _diInvFilter = mempty
|
||||
, _diCloseFilter = mempty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user