venzone 1.0.0.6 → 1.1.0.0
raw patch · 13 files changed
+26/−8 lines, 13 filesdep ~ansi-terminal-gamedep ~hspecdep ~megaparsec
Dependency ranges changed: ansi-terminal-game, hspec, megaparsec
Files
- NEWS +4/−0
- src/Blit.hs +6/−0
- src/Meeple/Operate.hs +2/−1
- src/Meeple/Primitives.hs +2/−0
- src/Tile.hs +2/−0
- stories/z_editor.vns +1/−1
- test/PlantSpec.hs +1/−0
- test/records/playthrough/bidin.vr binary
- test/records/playthrough/orcolat-bad.vr binary
- test/records/playthrough/orcolat-better.vr binary
- test/records/playthrough/orcolat-good.vr binary
- test/records/witch-spirit.vr binary
- venzone.cabal +8/−6
NEWS view
@@ -1,3 +1,7 @@+1.1.0.0+- Made `venzone` build with the last ansi-terminal-game version (1.5.0.0).+- mar 9 nov 2021, 17:09:37+ 1.0.0.6 - Made `venzone` build with the last ansi-terminal-game version.
+ src/Blit.hs view
@@ -0,0 +1,6 @@+module Blit where++import Terminal.Game++creaStaticAnimation :: Plane -> Animation+creaStaticAnimation p = creaAnimation [(1, p)]
src/Meeple/Operate.hs view
@@ -1,5 +1,6 @@ module Meeple.Operate ( module M, module Meeple.Operate ) where +import Blit import Meeple.Primitives as M import Lens.Micro.Platform@@ -9,7 +10,7 @@ import qualified Line.Draw as D -casualRandom :: (Random a, HasCasual c) => (a, a) -> c -> (a, c)+casualRandom :: (UniformRange a, HasCasual c) => (a, a) -> c -> (a, c) casualRandom bs c = let g = c ^. seed (i, g') = getRandom bs g in (i, c & seed .~ g')
src/Meeple/Primitives.hs view
@@ -6,7 +6,9 @@ -- NPC/PC/Objects primitives +import Blit import Input+ import Lens.Micro.Platform import Terminal.Game
src/Tile.hs view
@@ -1,5 +1,7 @@ module Tile where +import Blit+ import Terminal.Game data Tile = Tile { tType :: TileType,
stories/z_editor.vns view
@@ -81,7 +81,7 @@ @@ @@ Whenever '@' reached the edge of the room map, the game will try to find @@ the appropriate exit listed beneath the level data. If such room does-@@ exist, you will get a crash with an error!+@@ exist, the player will die and respawn. @@ @@
test/PlantSpec.hs view
@@ -4,6 +4,7 @@ import Terminal.Game +import Blit import Input import Plant import Tile
test/records/playthrough/bidin.vr view
binary file changed (2705 → 2832 bytes)
test/records/playthrough/orcolat-bad.vr view
binary file changed (1993 → 4047 bytes)
test/records/playthrough/orcolat-better.vr view
binary file changed (3836 → 5204 bytes)
test/records/playthrough/orcolat-good.vr view
binary file changed (3282 → 3209 bytes)
test/records/witch-spirit.vr view
binary file changed (328 → 365 bytes)
venzone.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: venzone-version: 1.0.0.6+version: 1.1.0.0 synopsis: ASCII platform-adventure game description: Steal the Earthquake Poleaxe from the Orcolat and save your valley. Binaries and more info in the@@ -35,6 +35,7 @@ main-is: Main.hs autogen-modules: Paths_venzone other-modules: Art,+ Blit, Gymnasium, Input, Meeple.Primitives,@@ -58,14 +59,14 @@ Venzone, Watcher build-depends: base == 4.*,- ansi-terminal-game >= 1.0 && < 1.1,+ ansi-terminal-game >= 1.5 && < 1.6, containers >= 0.6.0 && < 0.7, directory >= 1.3.3 && < 1.4, file-embed >= 0.0.11 && < 0.1, filepath >= 1.4.2 && < 1.5, fsnotify >= 0.3.0 && < 0.4, line-drawing >= 0.4.0 && < 0.5,- megaparsec >= 7.0.5 && < 8.1,+ megaparsec >= 7.0.5 && < 9.3, microlens-platform >= 0.4.0 && < 0.5, microlens >= 0.4.11.2 && < 0.5, mtl >= 2.2.2 && < 2.3,@@ -79,6 +80,7 @@ main-is: Test.hs autogen-modules: Paths_venzone other-modules: Art,+ Blit, Gymnasium, GymnasiumSpec, Input,@@ -106,19 +108,19 @@ Venzone, VenzoneSpec build-depends: base == 4.*,- ansi-terminal-game >= 1.0 && < 1.1,+ ansi-terminal-game >= 1.5 && < 1.6, containers >= 0.6.0 && < 0.7, directory >= 1.3.3 && < 1.4, file-embed >= 0.0.11 && < 0.1, filepath >= 1.4.2 && < 1.5, line-drawing >= 0.4.0 && < 0.5,- megaparsec >= 7.0.5 && < 8.1,+ megaparsec >= 7.0.5 && < 9.3, microlens-platform >= 0.4.0 && < 0.5, microlens >= 0.4.11.2 && < 0.5, mtl >= 2.2.2 && < 2.3, utf8-light >= 0.4.2 && < 0.5 -- the above + hspec/quickcheck- , hspec >= 2.7.0 && < 2.8,+ , hspec >= 2.7.0 && < 2.9, QuickCheck > 2.13 && < 2.15 hs-source-dirs: src, test default-language: Haskell2010