summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Paths_htanks.hs4
-rw-r--r--htanks.cabal5
-rw-r--r--src/Bindings/GLPng.hsc (renamed from Bindings/GLPng.hsc)0
-rw-r--r--src/Bindings/GLX.hsc (renamed from Bindings/GLX.hsc)0
-rw-r--r--src/CPUPlayer.hs (renamed from CPUPlayer.hs)0
-rw-r--r--src/DefaultPlayer.hs (renamed from DefaultPlayer.hs)0
-rw-r--r--src/GLDriver.hs (renamed from GLDriver.hs)0
-rw-r--r--src/GLX.hs (renamed from GLX.hs)0
-rw-r--r--src/Game.hs (renamed from Game.hs)0
-rw-r--r--src/HTanks.hs (renamed from HTanks.hs)0
-rw-r--r--src/Level.hs (renamed from Level.hs)0
-rw-r--r--src/Player.hs (renamed from Player.hs)0
-rw-r--r--src/Render.hs (renamed from Render.hs)0
-rw-r--r--src/Texture.hs (renamed from Texture.hs)0
14 files changed, 3 insertions, 6 deletions
diff --git a/Paths_htanks.hs b/Paths_htanks.hs
deleted file mode 100644
index 7dd7e2a..0000000
--- a/Paths_htanks.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-module Paths_htanks where
-
-getDataFileName :: FilePath -> IO FilePath
-getDataFileName = return
diff --git a/htanks.cabal b/htanks.cabal
index 847d937..0a705e9 100644
--- a/htanks.cabal
+++ b/htanks.cabal
@@ -9,10 +9,11 @@ author: Matthias Schiffer
maintainer: matthias@gamezock.de
build-depends: base >= 4, syb, containers, mtl, time, X11, OpenGL
build-type: Simple
-data-files: tex/Bullet.png, tex/Cannon.png, tex/Tank.png, tex/Wood.png
+data-files: tex/*.png
executable: HTanks
+hs-source-dirs: src
main-is: HTanks.hs
-other-modules: Bindings.GLX, Bindings.GLPng
+other-modules: CPUPlayer, DefaultPlayer, Game, GLDriver, GLX, Level, Paths_htanks, Player, Render, Texture, Bindings.GLX, Bindings.GLPng
ghc-options: -threaded
extra-libraries: glpng
diff --git a/Bindings/GLPng.hsc b/src/Bindings/GLPng.hsc
index 453bddc..453bddc 100644
--- a/Bindings/GLPng.hsc
+++ b/src/Bindings/GLPng.hsc
diff --git a/Bindings/GLX.hsc b/src/Bindings/GLX.hsc
index d5fed4d..d5fed4d 100644
--- a/Bindings/GLX.hsc
+++ b/src/Bindings/GLX.hsc
diff --git a/CPUPlayer.hs b/src/CPUPlayer.hs
index 0276de3..0276de3 100644
--- a/CPUPlayer.hs
+++ b/src/CPUPlayer.hs
diff --git a/DefaultPlayer.hs b/src/DefaultPlayer.hs
index af9aaf5..af9aaf5 100644
--- a/DefaultPlayer.hs
+++ b/src/DefaultPlayer.hs
diff --git a/GLDriver.hs b/src/GLDriver.hs
index 7340075..7340075 100644
--- a/GLDriver.hs
+++ b/src/GLDriver.hs
diff --git a/GLX.hs b/src/GLX.hs
index 6f5b0fc..6f5b0fc 100644
--- a/GLX.hs
+++ b/src/GLX.hs
diff --git a/Game.hs b/src/Game.hs
index b31009e..b31009e 100644
--- a/Game.hs
+++ b/src/Game.hs
diff --git a/HTanks.hs b/src/HTanks.hs
index 6d07cb6..6d07cb6 100644
--- a/HTanks.hs
+++ b/src/HTanks.hs
diff --git a/Level.hs b/src/Level.hs
index c99a4b5..c99a4b5 100644
--- a/Level.hs
+++ b/src/Level.hs
diff --git a/Player.hs b/src/Player.hs
index baf1cbe..baf1cbe 100644
--- a/Player.hs
+++ b/src/Player.hs
diff --git a/Render.hs b/src/Render.hs
index d1276a3..d1276a3 100644
--- a/Render.hs
+++ b/src/Render.hs
diff --git a/Texture.hs b/src/Texture.hs
index bf89cf9..bf89cf9 100644
--- a/Texture.hs
+++ b/src/Texture.hs