Move towards serializing saves/loads faster
This commit is contained in:
+18
-15
@@ -33,17 +33,25 @@ defaultWorld =
|
||||
, _rbOptions = NoRightButtonOptions
|
||||
}
|
||||
|
||||
defaultCWCam :: CWCam
|
||||
defaultCWCam = CWCam
|
||||
{ _cwcCenter = V2 0 0
|
||||
, _cwcRot = 0
|
||||
, _cwcZoom = 1
|
||||
, _cwcDefaultZoom = 1
|
||||
, _cwcViewFrom = V2 0 0
|
||||
, _cwcViewDistance = 1000
|
||||
, _cwcItemZoom = 1
|
||||
, _cwcBoundBox = square 100
|
||||
, _cwcBoundDist = (100, -100, 100, -100)
|
||||
}
|
||||
|
||||
|
||||
defaultCWorld :: CWorld
|
||||
defaultCWorld =
|
||||
CWorld
|
||||
{ _cameraCenter = V2 0 0
|
||||
, _cameraRot = 0
|
||||
, _cameraZoom = 1
|
||||
{ _cwCam = defaultCWCam
|
||||
, _magnets = IM.empty
|
||||
, _itemZoom = 1
|
||||
, _defaultZoom = 1
|
||||
, _cameraViewFrom = V2 0 0
|
||||
, _viewDistance = 1000
|
||||
, _modifications = IM.empty
|
||||
, _creatures = IM.empty
|
||||
, _crZoning = mempty --Zoning IM.empty crZoneSize zoneOfCreature
|
||||
@@ -57,9 +65,7 @@ defaultCWorld =
|
||||
, _projectiles = IM.empty
|
||||
, _instantBullets = []
|
||||
, _bullets = []
|
||||
, -- , _instantParticles = []
|
||||
-- , _particles = []
|
||||
_flames = []
|
||||
, _flames = []
|
||||
, _radarSweeps = []
|
||||
, _sparks = []
|
||||
, _posEvents = []
|
||||
@@ -121,11 +127,8 @@ defaultCWorld =
|
||||
, _maybeWorld = Nothing'
|
||||
, _rewindWorlds = []
|
||||
, _genParams = GenParams M.empty
|
||||
, -- , _genPlacements = IM.empty
|
||||
-- , _genRooms = IM.empty
|
||||
_deathDelay = Nothing
|
||||
, _boundBox = square 100
|
||||
, _boundDist = (100, -100, 100, -100)
|
||||
, _deathDelay = Nothing
|
||||
, _cwSeed = 0
|
||||
}
|
||||
|
||||
defaultWorldHammers :: M.Map WorldHammer HammerPosition
|
||||
|
||||
Reference in New Issue
Block a user