remove surface from load function
This commit is contained in:
parent
004f52aeb4
commit
0963ca4f42
6 changed files with 12 additions and 12 deletions
|
@ -41,8 +41,8 @@ data UserData = UserData
|
||||||
{ nodeGraph :: M.Map String G.GeglNode
|
{ nodeGraph :: M.Map String G.GeglNode
|
||||||
}
|
}
|
||||||
|
|
||||||
load :: SDL.Surface -> IO UserData
|
load :: IO UserData
|
||||||
load _ = do
|
load = do
|
||||||
traceM "loading"
|
traceM "loading"
|
||||||
root <- G.gegl_node_new
|
root <- G.gegl_node_new
|
||||||
traceM "new root node"
|
traceM "new root node"
|
||||||
|
|
|
@ -43,8 +43,8 @@ data UserData = UserData
|
||||||
-- , lastTick :: Double
|
-- , lastTick :: Double
|
||||||
}
|
}
|
||||||
|
|
||||||
load :: SDL.Surface -> IO UserData
|
load :: IO UserData
|
||||||
load _ = do
|
load = do
|
||||||
traceM "loading"
|
traceM "loading"
|
||||||
root <- G.gegl_node_new
|
root <- G.gegl_node_new
|
||||||
traceM "new root node"
|
traceM "new root node"
|
||||||
|
|
|
@ -32,8 +32,8 @@ data UserData = UserData
|
||||||
, lastTick :: Double
|
, lastTick :: Double
|
||||||
}
|
}
|
||||||
|
|
||||||
load :: SDL.Surface -> IO UserData
|
load :: IO UserData
|
||||||
load _ = do
|
load = do
|
||||||
-- traceM "loading"
|
-- traceM "loading"
|
||||||
-- root <- G.gegl_node_new
|
-- root <- G.gegl_node_new
|
||||||
-- traceM "new root node"
|
-- traceM "new root node"
|
||||||
|
|
|
@ -32,8 +32,8 @@ data UserData = UserData
|
||||||
, updateActors :: [Actor String]
|
, updateActors :: [Actor String]
|
||||||
}
|
}
|
||||||
|
|
||||||
load :: SDL.Surface -> IO UserData
|
load :: IO UserData
|
||||||
load _ = do
|
load = do
|
||||||
traceM "loading"
|
traceM "loading"
|
||||||
root <- G.gegl_node_new
|
root <- G.gegl_node_new
|
||||||
traceM "new root node"
|
traceM "new root node"
|
||||||
|
|
|
@ -37,8 +37,8 @@ data UserData = UserData
|
||||||
, partsys :: ParticleSystem
|
, partsys :: ParticleSystem
|
||||||
}
|
}
|
||||||
|
|
||||||
load :: SDL.Surface -> IO UserData
|
load :: IO UserData
|
||||||
load _ = do
|
load = do
|
||||||
traceM "loading"
|
traceM "loading"
|
||||||
root <- G.gegl_node_new
|
root <- G.gegl_node_new
|
||||||
traceM "new root node"
|
traceM "new root node"
|
||||||
|
|
|
@ -35,8 +35,8 @@ data UserData = UserData
|
||||||
, updateActors :: [Actor String]
|
, updateActors :: [Actor String]
|
||||||
}
|
}
|
||||||
|
|
||||||
load :: SDL.Surface -> IO UserData
|
load :: IO UserData
|
||||||
load _ = do
|
load = do
|
||||||
traceM "loading"
|
traceM "loading"
|
||||||
root <- G.gegl_node_new
|
root <- G.gegl_node_new
|
||||||
traceM "new root node"
|
traceM "new root node"
|
||||||
|
|
Loading…
Reference in a new issue