Initial pass at shadows from level geometry

This commit is contained in:
jgk
2021-06-29 15:27:26 +02:00
parent 089dcc3f5d
commit 3d16c33d33
20 changed files with 181 additions and 74 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ import Dodge.World.Trigger.Data
import Data.Preload
import Picture.Data
import Geometry.Data
import Polyhedra.Data
import Sound.Data
import qualified DoubleStack as DS
@@ -74,7 +75,7 @@ data World = World
, _soundQueue :: [(Int,Int16)]
, _sounds :: M.Map SoundOrigin Sound
, _decorations :: IM.IntMap Picture
, _foregroundDecorations :: [Picture]
, _foregroundDecorations :: [Polyhedra]
, _corpses :: IM.IntMap (IM.IntMap [Corpse])
, _clickMousePos :: (Float,Float)
, _pathGraph :: ~(Gr Point2 Float)