commit b6fd59ea
Version is now in a seperate file
Changed files
| M | source/code/main.cpp before |
| A | source/code/version.h |
diff --git a/source/code/main.cpp b/source/code/main.cpp
index 2ab6894..e82d6f7 100644
--- a/source/code/main.cpp
+++ b/source/code/main.cpp
@@ -29,10 +29,7 @@ http://www.blockattack.net
#include <string.h>
-
-#ifndef VERSION_NUMBER
-#define VERSION_NUMBER "2.0.0-SNAPSHOT"
-#endif
+#include "version.h"
//If DEBUG is defined: AI info and FPS will be written to screen
#ifndef DEBUG
diff --git a/source/code/version.h b/source/code/version.h
new file mode 100644
index 0000000..e2341fb
--- /dev/null
+++ b/source/code/version.h
@@ -0,0 +1,26 @@
+/*
+===========================================================================
+blockattack - Block Attack - Rise of the Blocks
+Copyright (C) 2005-2016 Poul Sander
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see http://www.gnu.org/licenses/
+
+Source information and contacts persons can be found at
+http://www.blockattack.net
+===========================================================================
+*/
+
+#ifndef VERSION_NUMBER
+#define VERSION_NUMBER "2.0.0-SNAPSHOT"
+#endif
\ No newline at end of file