diff options
author | Max Horn | 2006-01-25 20:53:25 +0000 |
---|---|---|
committer | Max Horn | 2006-01-25 20:53:25 +0000 |
commit | 7fddfa20c6ca3dd36be82adc755a4a2c1b8cfed6 (patch) | |
tree | adccb3b5f87f570b50a0a14e86e8a7bb2ac729ae /base | |
parent | 7ad5158ae1448242bc8d3222b8a2fcb567dce2e2 (diff) | |
download | scummvm-rg350-7fddfa20c6ca3dd36be82adc755a4a2c1b8cfed6.tar.gz scummvm-rg350-7fddfa20c6ca3dd36be82adc755a4a2c1b8cfed6.tar.bz2 scummvm-rg350-7fddfa20c6ca3dd36be82adc755a4a2c1b8cfed6.zip |
New tools/update-version.pl script (usage: CMD 1 2 3 CVS -> results in version 1.2.3CVS)
svn-id: r20165
Diffstat (limited to 'base')
-rw-r--r-- | base/internal_version.h | 1 | ||||
-rw-r--r-- | base/internal_version.h.in | 1 | ||||
-rw-r--r-- | base/main.cpp | 5 |
3 files changed, 5 insertions, 2 deletions
diff --git a/base/internal_version.h b/base/internal_version.h new file mode 100644 index 0000000000..1634c04d2c --- /dev/null +++ b/base/internal_version.h @@ -0,0 +1 @@ +#define SCUMMVM_VERSION "0.9.0cvs" diff --git a/base/internal_version.h.in b/base/internal_version.h.in new file mode 100644 index 0000000000..c994f24156 --- /dev/null +++ b/base/internal_version.h.in @@ -0,0 +1 @@ +#define SCUMMVM_VERSION "@VERSION@" diff --git a/base/main.cpp b/base/main.cpp index 8ede678bb6..84b26599af 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -32,6 +32,7 @@ #include "base/engine.h" #include "base/gameDetector.h" #include "base/plugins.h" +#include "base/internal_version.h" #include "base/version.h" #include "common/config-manager.h" #include "common/file.h" @@ -93,9 +94,9 @@ * to setup, but I have no idea if/how one can also change files which are not * currently being commit'ed. */ -const char *gScummVMVersion = "0.9.0CVS"; +const char *gScummVMVersion = SCUMMVM_VERSION; const char *gScummVMBuildDate = __DATE__ " " __TIME__; -const char *gScummVMFullVersion = "ScummVM 0.9.0CVS (" __DATE__ " " __TIME__ ")"; +const char *gScummVMFullVersion = "ScummVM " SCUMMVM_VERSION " (" __DATE__ " " __TIME__ ")"; const char *gScummVMFeatures = "" #ifdef USE_TREMOR "Tremor " |