forked from LambdaHack/LambdaHack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLambdaHack.cabal
80 lines (74 loc) · 3.13 KB
/
LambdaHack.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
cabal-version: >= 1.6
name: LambdaHack
version: 0.1.20110918
license: BSD3
license-file: LICENSE
tested-with: GHC == 6.12.3, GHC == 7.3.20110911
data-files: LICENSE, CREDITS, DESIGN.markdown, PLAYING.markdown,
README.markdown, src/config.default, scores
author: Andres Loeh, Mikolaj Konarski
maintainer: Andres Loeh <[email protected]>
description: This is an alpha release of LambdaHack, a roguelike game engine
packaged together with a small example roguelike game
(not yet well separated; this is future work,
together with improving the AI monad EDSL,
so that the rules for synthesising monster behaviour
from game content are more readable and easier to debug).
.
Another game using this engine is Allure of the Stars
at <http://hackage.haskell.org/package/Allure>.
synopsis: A roguelike game engine in early development
homepage: http://github.com/kosmikus/LambdaHack
bug-reports: http://github.com/kosmikus/LambdaHack/issues
category: Game
build-type: Simple
flag curses
description: enable curses support
default: False
flag vty
description: enable vty support
default: False
executable LambdaHack
main-is: Main.hs
hs-source-dirs:src
other-modules: Action, Actions, ActorAdd, ActorKind, Actor, ActorState,
Color, Command, Config, ConfigDefault,
Display, Dungeon, DungeonState,
Effect, EffectAction, File, Flavour,
FOV, FOV.Common, FOV.Digital, FOV.Permissive, FOV.Shadow,
Frequency, Geometry, GeometryRnd, Grammar,
HighScores, Item, ItemKind, ItemAction,
Keys, Keybindings, Level, LevelState,
Main, Message, Multiline, Perception, Random,
Save, State, Strategy, StrategyState,
Turn, Terrain, Version
build-depends: base >= 4 && < 5, containers >= 0.1 && < 1,
binary >= 0.4 && < 1,
random >= 1 && < 2, zlib >= 0.4 && < 1,
bytestring >= 0.9 && < 1, directory >= 1 && < 2,
mtl >= 1.1 && < 3, old-time, ConfigFile >= 1.0.6 && < 2,
MissingH >= 1.1.0.3 && < 1.2, filepath >= 1.1.0.3 && < 2
extensions: CPP, FlexibleContexts, QuasiQuotes, MultiParamTypeClasses,
RankNTypes, BangPatterns
if impl(ghc < 7.0)
-- GHC 6.12.3 does not like template-haskell 2.6 and 7.3 does not like 2.5
build-depends: template-haskell >= 2.5 && < 2.6
else
build-depends: template-haskell >= 2.5
if flag(curses) {
other-modules: Display.Curses
build-depends: hscurses >= 1.3 && < 2
cpp-options: -DCURSES
extra-libraries: curses
} else { if flag(vty) {
other-modules: Display.Vty
build-depends: vty >= 4.4
} else {
other-modules: Display.Gtk
build-depends: gtk >= 0.11 && < 0.13
cpp-options: -DGTK
ghc-options: -threaded
} }
source-repository head
type: git
location: git://github.com/kosmikus/LambdaHack.git