summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopherLaneHinson <>2010-07-12 02:22:32 (GMT)
committerLuite Stegeman <luite@luite.com>2010-07-12 02:22:32 (GMT)
commit82fcb3d41cb28c99774384836ad835ed0d77d82a (patch)
tree86ec2cf8346f4b233e77f2ad420f53a1b234ec01
parent0e3a1c3fd4160501d5c937df8c0fb38324296799 (diff)
version 0.4.0.20.4.0.2
-rw-r--r--roguestar-engine.cabal2
-rw-r--r--src/Main.hs6
2 files changed, 6 insertions, 2 deletions
diff --git a/roguestar-engine.cabal b/roguestar-engine.cabal
index 6f076e1..df1d497 100644
--- a/roguestar-engine.cabal
+++ b/roguestar-engine.cabal
@@ -1,5 +1,5 @@
name: roguestar-engine
-version: 0.4.0.1
+version: 0.4.0.2
license: OtherLicense
license-file: LICENSE
author: Christopher Lane Hinson
diff --git a/src/Main.hs b/src/Main.hs
index 4f2cad2..e28922c 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -9,9 +9,13 @@ import HierarchicalDatabase
import TerrainData
import Protocol
import GridRayCaster
+import Data.Version
+import Paths_roguestar_engine
+import Data.List (intersperse)
roguestar_version_number :: String
-roguestar_version_number = "0.3"
+roguestar_version_number = concat $
+ intersperse "." $ map show $ versionBranch version
roguestar_program_name :: String
roguestar_program_name = "roguestar-engine"