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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
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:
--stb-image >= 0.3.0, TODO: Remove
ALUT,
GLFW-b,
OpenAL,
OpenGL >=3,
OpenGLRaw,
StateVar,
array,
base,
bytestring,
containers,
directory,
exceptions,
file-embed,
hashable,
hashmap,
mtl,
parsec >=3,
resourcet,
text,
transformers,
vector
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 >=0
c-sources:
Spear/Sys/Timer/timer.c
Spear/cbits/stb/stb_image.c
includes:
Spear/Sys/Timer/timer.h
cbits/stb/stb_image.h
include-dirs:
.
Spear
Spear/Sys
Spear/cbits
hs-source-dirs: .
cc-options:
-O2
-Wno-unused-result
ghc-options: -O2
ghc-prof-options:
-O2
-g
-prof
-fprof-auto
-fprof-cafs
-rtsopts
executable pong
hs-source-dirs: Demos/Pong
main-is: Main.hs
other-modules: Pong
build-depends:
Spear,
base
ghc-options: -O2
ghc-prof-options:
-O2
-g
-prof
-fprof-auto
-fprof-cafs
-rtsopts
executable balls
hs-source-dirs: Demos/Balls
main-is: Main.hs
build-depends:
Spear,
base
ghc-options: -O2
ghc-prof-options:
-O2
-g
-prof
-fprof-auto
-fprof-cafs
-rtsopts
|