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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
name: Spear
version: 0.1
cabal-version: >=1.8
build-type: Simple
license: BSD3
license-file: LICENSE
maintainer: 3gg@shellblade.net
homepage: http://spear.shellblade.net
synopsis: A 2.5D game framework.
category: Game
author: Marc Sunet
data-dir: ""
library
build-depends:
GLFW-b -any,
OpenAL -any,
ALUT -any,
OpenGL >= 3,
OpenGLRaw -any,
StateVar -any,
--stb-image >= 0.3.0, TODO: Remove
base -any,
bytestring -any,
directory -any,
exceptions -any,
file-embed -any,
hashable -any,
hashmap -any,
mtl -any,
text -any,
transformers -any,
resourcet -any,
parsec >= 3,
containers -any,
vector -any,
array -any
exposed-modules:
Spear.App
Spear.Asset.Image
Spear.Game
Spear.Math.AABB
Spear.Math.Algebra
Spear.Math.Camera
Spear.Math.Circle
Spear.Math.Frustum
Spear.Math.Matrix3
Spear.Math.Matrix4
Spear.Math.MatrixUtils
Spear.Math.Plane
Spear.Math.Quaternion
Spear.Math.Ray
Spear.Math.Segment
Spear.Math.Spatial
Spear.Math.Spatial2
Spear.Math.Spatial3
Spear.Math.Sphere
Spear.Math.Triangle
Spear.Math.Utils
Spear.Math.Vector
Spear.Math.Vector.Vector
Spear.Math.Vector.Vector2
Spear.Math.Vector.Vector3
Spear.Math.Vector.Vector4
Spear.Physics.Collision
Spear.Physics.RigidBody
Spear.Prelude
Spear.Render.Asset
Spear.Render.Core
Spear.Render.Core.Buffer
Spear.Render.Core.Constants
Spear.Render.Core.Geometry
Spear.Render.Core.Pipeline
Spear.Render.Core.Shader
Spear.Render.Core.State
Spear.Render.Core.Texture
Spear.Render.Immediate
Spear.Render.Shaders
Spear.Sound.Sound
Spear.Sound.State
Spear.Step
Spear.Sys.Store
Spear.Sys.Store.ID
Spear.Sys.Timer
Spear.Window
exposed: True
buildable: True
build-tools: hsc2hs -any
c-sources:
Spear/cbits/stb/stb_image.c
Spear/Sys/Timer/timer.c
includes:
cbits/stb/stb_image.h
Spear/Sys/Timer/timer.h
include-dirs:
.
Spear
Spear/cbits
Spear/Sys
hs-source-dirs: .
cc-options: -O2 -Wno-unused-result
ghc-options: -O2
ghc-prof-options: -O2 -g -fprof-auto -fprof-cafs
executable pong
hs-source-dirs: Demos/Pong
main-is: Main.hs
other-modules: Pong
build-depends: base, Spear
ghc-options: -O2
ghc-prof-options: -O2 -g -fprof-auto -fprof-cafs
executable balls
hs-source-dirs: Demos/Balls
main-is: Main.hs
build-depends: base, Spear
ghc-options: -O2
ghc-prof-options: -O2 -g -fprof-auto -fprof-cafs
|