diff options
author | 3gg <3gg@shellblade.net> | 2025-05-04 12:06:00 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-05-04 12:06:00 -0700 |
commit | b1ec5525bcf2fb101c57d93beeba26c8c4420638 (patch) | |
tree | 09068939a05f5715883dd0f816deb6edb37ca1e2 /Spear.cabal | |
parent | 96004458c9234c24e1cfb8c6718f9b8df9a4abe1 (diff) |
Diffstat (limited to 'Spear.cabal')
-rw-r--r-- | Spear.cabal | 42 |
1 files changed, 7 insertions, 35 deletions
diff --git a/Spear.cabal b/Spear.cabal index 56eb302..0be03fe 100644 --- a/Spear.cabal +++ b/Spear.cabal | |||
@@ -19,6 +19,7 @@ library | |||
19 | OpenGL >= 3, | 19 | OpenGL >= 3, |
20 | OpenGLRaw -any, | 20 | OpenGLRaw -any, |
21 | StateVar -any, | 21 | StateVar -any, |
22 | --stb-image >= 0.3.0, TODO: Remove | ||
22 | base -any, | 23 | base -any, |
23 | bytestring -any, | 24 | bytestring -any, |
24 | directory -any, | 25 | directory -any, |
@@ -37,20 +38,16 @@ library | |||
37 | 38 | ||
38 | exposed-modules: | 39 | exposed-modules: |
39 | Spear.App | 40 | Spear.App |
40 | Spear.Assets.Image | 41 | Spear.Asset.Image |
41 | Spear.Assets.Model | ||
42 | Spear.Game | 42 | Spear.Game |
43 | Spear.GL | ||
44 | Spear.Math.AABB | 43 | Spear.Math.AABB |
45 | Spear.Math.Algebra | 44 | Spear.Math.Algebra |
46 | Spear.Math.Camera | 45 | Spear.Math.Camera |
47 | Spear.Math.Circle | 46 | Spear.Math.Circle |
48 | Spear.Math.Collision | ||
49 | Spear.Math.Frustum | 47 | Spear.Math.Frustum |
50 | Spear.Math.Matrix3 | 48 | Spear.Math.Matrix3 |
51 | Spear.Math.Matrix4 | 49 | Spear.Math.Matrix4 |
52 | Spear.Math.MatrixUtils | 50 | Spear.Math.MatrixUtils |
53 | Spear.Math.Octree | ||
54 | Spear.Math.Plane | 51 | Spear.Math.Plane |
55 | Spear.Math.Quaternion | 52 | Spear.Math.Quaternion |
56 | Spear.Math.Ray | 53 | Spear.Math.Ray |
@@ -69,7 +66,7 @@ library | |||
69 | Spear.Physics.Collision | 66 | Spear.Physics.Collision |
70 | Spear.Physics.RigidBody | 67 | Spear.Physics.RigidBody |
71 | Spear.Prelude | 68 | Spear.Prelude |
72 | Spear.Render.AnimatedModel | 69 | Spear.Render.Asset |
73 | Spear.Render.Core | 70 | Spear.Render.Core |
74 | Spear.Render.Core.Buffer | 71 | Spear.Render.Core.Buffer |
75 | Spear.Render.Core.Constants | 72 | Spear.Render.Core.Constants |
@@ -77,15 +74,9 @@ library | |||
77 | Spear.Render.Core.Pipeline | 74 | Spear.Render.Core.Pipeline |
78 | Spear.Render.Core.Shader | 75 | Spear.Render.Core.Shader |
79 | Spear.Render.Core.State | 76 | Spear.Render.Core.State |
77 | Spear.Render.Core.Texture | ||
80 | Spear.Render.Immediate | 78 | Spear.Render.Immediate |
81 | Spear.Render.Material | ||
82 | Spear.Render.Model | ||
83 | Spear.Render.Program | ||
84 | Spear.Render.Shaders | 79 | Spear.Render.Shaders |
85 | Spear.Render.StaticModel | ||
86 | Spear.Scene.Graph | ||
87 | Spear.Scene.Loader | ||
88 | Spear.Scene.SceneResources | ||
89 | Spear.Sound.Sound | 80 | Spear.Sound.Sound |
90 | Spear.Sound.State | 81 | Spear.Sound.State |
91 | Spear.Step | 82 | Spear.Step |
@@ -101,36 +92,17 @@ library | |||
101 | build-tools: hsc2hs -any | 92 | build-tools: hsc2hs -any |
102 | 93 | ||
103 | c-sources: | 94 | c-sources: |
104 | Spear/Assets/Image/Image.c | 95 | Spear/cbits/stb/stb_image.c |
105 | Spear/Assets/Image/BMP/BMP_load.c | ||
106 | Spear/Assets/Model/Model.c | ||
107 | Spear/Assets/Model/MD2/MD2_load.c | ||
108 | Spear/Assets/Model/OBJ/cvector.c | ||
109 | Spear/Assets/Model/OBJ/OBJ_load.c | ||
110 | Spear/Render/RenderModel.c | ||
111 | Spear/Sys/Timer/timer.c | 96 | Spear/Sys/Timer/timer.c |
112 | 97 | ||
113 | includes: | 98 | includes: |
114 | Spear/Assets/Image/BMP/BMP_load.h | 99 | cbits/stb/stb_image.h |
115 | Spear/Assets/Image/Image.h | ||
116 | Spear/Assets/Image/Image_error_code.h | ||
117 | Spear/Assets/Image/sys_types.h | ||
118 | Spear/Assets/Model/MD2/MD2_load.h | ||
119 | Spear/Assets/Model/OBJ/OBJ_load.h | ||
120 | Spear/Assets/Model/OBJ/cvector.h | ||
121 | Spear/Assets/Model/Model.h | ||
122 | Spear/Assets/Model/Model_error_code.h | ||
123 | Spear/Assets/Model/sys_types.h | ||
124 | Spear/Render/RenderModel.h | ||
125 | Spear/Sys/Timer/timer.h | 100 | Spear/Sys/Timer/timer.h |
126 | 101 | ||
127 | include-dirs: | 102 | include-dirs: |
128 | . | 103 | . |
129 | Spear | 104 | Spear |
130 | Spear/Assets/Image | 105 | Spear/cbits |
131 | Spear/Assets/Image/BMP | ||
132 | Spear/Assets/Model | ||
133 | Spear/Render | ||
134 | Spear/Sys | 106 | Spear/Sys |
135 | 107 | ||
136 | hs-source-dirs: . | 108 | hs-source-dirs: . |