summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-04 00:31:46 -0700
committerMike Buland <eichlan@xagasoft.com>2012-01-04 00:31:46 -0700
commit8f3b08c826f1174019386c0bfe22627bb269123d (patch)
tree1c9b0bcb10f32a64b6b268316856762e6c6b6a0d /src/main.cpp
parentd8f0276ec9d3b538a5ef8918a3072e3528a480d5 (diff)
downloadstage-8f3b08c826f1174019386c0bfe22627bb269123d.tar.gz
stage-8f3b08c826f1174019386c0bfe22627bb269123d.tar.bz2
stage-8f3b08c826f1174019386c0bfe22627bb269123d.tar.xz
stage-8f3b08c826f1174019386c0bfe22627bb269123d.zip
Attempt to generate version.h from git.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6646d79..7e2ef7f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,6 +1,7 @@
1#include "gamebuilder.h" 1#include "gamebuilder.h"
2#include "game.h" 2#include "game.h"
3#include "gamestate.h" 3#include "gamestate.h"
4#include "options.h"
4 5
5#include <stdlib.h> 6#include <stdlib.h>
6#include <time.h> 7#include <time.h>
@@ -14,6 +15,9 @@ using namespace Bu;
14 15
15int main( int argc, char *argv[] ) 16int main( int argc, char *argv[] )
16{ 17{
18 Options &opt = Options::getInstance();
19 opt.parse( argc, argv );
20
17 srandom( time( NULL ) ); 21 srandom( time( NULL ) );
18 22
19 GameBuilder bld; 23 GameBuilder bld;