packages feed

dow 0.2.4 → 0.2.5

raw patch · 4 files changed

+8/−5 lines, 4 filesdep ~GLFW

Dependency ranges changed: GLFW

Files

CHANGES view
@@ -1,3 +1,6 @@+0.2.5 - 140928+* fixed compilation with GLFW-0.5.2.*+ 0.2.4 - 111122 * adjusted for version 2.5.0 of the library * moved random number generator into the example
dow.cabal view
@@ -1,5 +1,5 @@ Name:                dow-Version:             0.2.4+Version:             0.2.5 Cabal-Version:       >= 1.2 Synopsis:            Dungeons of Wor Category:            game, reactivity, FRP@@ -15,7 +15,7 @@   discrete streams as first-class values.  Author:              Patai Gergely-Maintainer:          Patai Gergely (patai@iit.bme.hu)+Maintainer:          Patai Gergely (patai.gergely@gmail.com) Copyright:           (c) 2010-2011, Patai Gergely License:             BSD3 License-File:        LICENSE@@ -43,5 +43,5 @@ Executable dow   HS-Source-Dirs:    src   Main-IS:           Main.hs-  Build-Depends:     base >= 4 && < 5, elerea >= 2.5.0, OpenGL >= 2.4, GLFW >= 0.4, array, directory, mersenne-random+  Build-Depends:     base >= 4 && < 5, elerea >= 2.5.0, OpenGL >= 2.4, GLFW >= 0.5.2 && < 0.5.3, array, directory, mersenne-random   GHC-Options:       -O2 -fno-warn-deprecated-flags
src/Game.hs view
@@ -47,7 +47,7 @@        mkGame 0 = playGame storeScore renderGame newActor levels keyPress 1       mkGame 1 = playGame storeScore renderGame newActor levels keyPress 2-      mkGame _ = return (pure closeAction,pure True)+      mkGame _ = return (pure (void closeAction),pure True)    keys <- memo (keySet1 <$> keyPress)   (output,_) <- switcher . flip fmap highScore $ \score -> do
src/Main.hs view
@@ -36,7 +36,7 @@   windowSizeCallback $= setViewport aspectRatio    closed <- newIORef False-  let closeAction = writeIORef closed True+  let closeAction = writeIORef closed True >> return True   windowCloseCallback $= closeAction    clearColor $= Color4 0 0 0 1