packages feed

gloss-examples 1.6.1.1 → 1.7.0.1

raw patch · 17 files changed

+33/−35 lines, 17 filesdep ~gloss

Dependency ranges changed: gloss

Files

Boids/Main.hs view
@@ -11,7 +11,7 @@ import Debug.Trace import Graphics.Gloss import Graphics.Gloss.Data.Picture-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate   -- Parameters -----------------------------------------------------------------
Conway/Main.hs view
@@ -3,7 +3,6 @@ import World import Cell import Graphics.Gloss-import Graphics.Gloss.Interface.Simulate import qualified Data.Vector	as Vec  main :: IO ()
Conway/World.hs view
@@ -5,7 +5,7 @@ import System.Random import Control.Monad import Graphics.Gloss-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import qualified Data.Vector	as Vec type Vec	= Vec.Vector 
Draw/Main.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE PatternGuards #-} -- | Simple picture drawing application.  --   Like MSPaint, but you can only draw lines.-import Graphics.Gloss.Interface.Game+import Graphics.Gloss.Interface.Pure.Game import Graphics.Gloss import Data.Maybe (maybe) import Debug.Trace
Eden/Main.hs view
@@ -3,7 +3,7 @@ module Main where import World import Graphics.Gloss-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import System.Random  -- varying prng sequence
Eden/World.hs view
@@ -1,7 +1,7 @@ module World where  import Graphics.Gloss-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import System.Random import Community import Cell
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2010 Benjamin Lippmeier +Copyright (c) 2010-2012 Benjamin Lippmeier    Permission is hereby granted, free of charge, to any person  obtaining a copy of this software and associated documentation
Lifespan/Main.hs view
@@ -3,7 +3,7 @@ module Main where import World import Graphics.Gloss-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import System.Random  -- varying prng sequence
Lifespan/World.hs view
@@ -1,7 +1,7 @@ module World where  import Graphics.Gloss-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import System.Random import Community import Cell
Occlusion/Main.hs view
@@ -4,7 +4,7 @@ import Data import State import Cell-import Graphics.Gloss.Interface.Game+import Graphics.Gloss.Interface.Pure.Game import Graphics.Gloss.Data.QuadTree import Graphics.Gloss.Data.Extent import System.Environment
Occlusion/State.hs view
@@ -2,7 +2,7 @@  module State where import World-import Graphics.Gloss.Interface.Game+import Graphics.Gloss.Interface.Pure.Game  -- | The game state. data State
Occlusion/World.hs view
@@ -2,7 +2,7 @@  module World where import Cell-import Graphics.Gloss.Interface.Game+import Graphics.Gloss.Interface.Pure.Game import Graphics.Gloss.Data.Extent import Graphics.Gloss.Data.QuadTree import Graphics.Gloss.Algorithms.RayCast
Styrene/Advance.hs view
@@ -10,7 +10,7 @@ import Config  import Graphics.Gloss.Geometry-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import Graphics.Gloss.Data.Point import Graphics.Gloss.Data.Vector 
Styrene/Main.hs view
@@ -9,7 +9,7 @@  import Graphics.Gloss import Graphics.Gloss.Geometry-import Graphics.Gloss.Interface.Simulate+import Graphics.Gloss.Interface.Pure.Simulate import Graphics.Gloss.Data.Vector  import qualified Data.Map	as Map
Visibility/Interface.hs view
@@ -4,7 +4,7 @@ 	, stepState) where import State-import qualified Graphics.Gloss.Interface.Game	as G+import qualified Graphics.Gloss.Interface.Pure.Game	as G  -- Input ------------------------------------------------------------------------------------------ -- | Handle an input event.
Visibility/Main.hs view
@@ -15,7 +15,7 @@ import Draw import State import World-import Graphics.Gloss.Interface.Game+import Graphics.Gloss.Interface.Pure.Game  main :: IO () main
gloss-examples.cabal view
@@ -1,5 +1,5 @@ Name:                gloss-examples-Version:             1.6.1.1+Version:             1.7.0.1 License:             MIT License-file:        LICENSE Author:              Ben Lippmeier@@ -21,7 +21,7 @@ Executable gloss-bitmap   Build-depends:         base           == 4.*,-        gloss          == 1.6.*,+        gloss          == 1.7.*,         bytestring     == 0.9.*,         bmp            == 1.2.*   Main-is: Main.hs@@ -32,7 +32,7 @@ Executable gloss-boids   Build-depends:         base           == 4.*,-        gloss          == 1.6.*+        gloss          == 1.7.*   Main-is: Main.hs   other-modules: KDTree2d Vec2   hs-source-dirs: Boids@@ -42,7 +42,7 @@ Executable gloss-clock   Build-depends:          base            == 4.*,-        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Clock/Main.hs   ghc-options: -threaded -O2 @@ -50,7 +50,7 @@ Executable gloss-conway   Build-depends:          base            == 4.*,-        gloss           == 1.6.*,+        gloss           == 1.7.*,         vector          >= 0.7 && < 1.0   Main-is: Main.hs   other-modules: Cell World@@ -61,7 +61,7 @@ Executable gloss-draw   Build-depends:         base           == 4.*,-        gloss          == 1.6.*+        gloss          == 1.7.*   Main-is: Main.hs   hs-source-dirs: Draw   ghc-options: -threaded -O2@@ -70,7 +70,7 @@ Executable gloss-easy   Build-depends:         base            == 4.*,-        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Easy/Main.hs   ghc-options: -threaded -O2 @@ -78,7 +78,7 @@ Executable gloss-eden   Build-depends:          base            == 4.*,-        gloss           == 1.6.*,+        gloss           == 1.7.*,         random          == 1.0.*   Main-is: Main.hs   other-modules: Cell Community World@@ -89,7 +89,7 @@ Executable gloss-flake   Build-depends:         base            == 4.*,-        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Flake/Main.hs   ghc-options: -threaded -O2 @@ -97,7 +97,7 @@ Executable gloss-gameevent   Build-depends:          base            == 4.*,-        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Main.hs   hs-source-dirs: GameEvent   ghc-options: -threaded -O2@@ -106,7 +106,7 @@ Executable gloss-hello   Build-depends:          base            == 4.*, -        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Hello/Main.hs   ghc-options: -threaded -O2 @@ -114,7 +114,7 @@ Executable gloss-lifespan   Build-depends:          base            == 4.*, -        gloss           == 1.6.*, +        gloss           == 1.7.*,          random          == 1.0.*   Main-is: Main.hs   other-modules: Cell Community World@@ -125,7 +125,7 @@ Executable gloss-machina   Build-depends:          base            == 4.*, -        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Machina/Main.hs   ghc-options: -threaded -O2 @@ -133,7 +133,7 @@ Executable gloss-occlusion   Build-depends:          base            == 4.*, -        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Main.hs   other-modules: Cell World State Data   hs-source-dirs: Occlusion@@ -143,7 +143,7 @@ Executable gloss-styrene   Build-depends:          base            == 4.*,-        gloss           == 1.6.*,+        gloss           == 1.7.*,         containers      >= 0.3 && <= 0.5,         ghc-prim        == 0.2.*   Main-is: Main.hs@@ -155,7 +155,7 @@ Executable gloss-tree   Build-depends:          base            == 4.*, -        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Tree/Main.hs   ghc-options: -threaded -O2 @@ -163,7 +163,7 @@ Executable gloss-visibility   Build-depends:          base            == 4.*, -        gloss           == 1.6.*,+        gloss           == 1.7.*,         vector          >= 0.7 && < 1.0   Main-is: Main.hs   other-modules: Draw Interface State World Geometry.Randomish Geometry.Segment@@ -174,9 +174,8 @@ Executable gloss-zen   Build-depends:          base            == 4.*, -        gloss           == 1.6.*+        gloss           == 1.7.*   Main-is: Zen/Main.hs   ghc-options: -threaded -O2-