aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorraziel-2014-08-09 15:57:35 +0300
committerraziel-2014-08-09 15:57:35 +0300
commit0c625084c22e7a0d4134e93dd277b1675c45ab29 (patch)
tree6f2bb12cc541020554a2e868656640f828113c10 /base
parente11fe13620be4b500c91b6141337786948c13694 (diff)
downloadscummvm-rg350-0c625084c22e7a0d4134e93dd277b1675c45ab29.tar.gz
scummvm-rg350-0c625084c22e7a0d4134e93dd277b1675c45ab29.tar.bz2
scummvm-rg350-0c625084c22e7a0d4134e93dd277b1675c45ab29.zip
AMIGAOS: Add AmigaOS version format
AmigaOS features a "version" command which can read out version information if stored in a sepcific way. To get to that information it parses the exe for "$VER:" and prints out everything behind it. This adds such a version information to ScummVM so users on AmigaOS can read it out without the need to use "scummvm --version"
Diffstat (limited to 'base')
-rw-r--r--base/version.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/version.cpp b/base/version.cpp
index fba3554f67..ef02ff9d21 100644
--- a/base/version.cpp
+++ b/base/version.cpp
@@ -56,6 +56,9 @@
* to properly work in exports (i.e. release tar balls etc.).
*/
const char *gScummVMVersion = SCUMMVM_VERSION;
+#ifdef __amigaos4__
+static const char *version_cookie __attribute__((used)) = "$VER: ScummVM " SCUMMVM_VERSION " (" __DATE__ ", " __TIME__ ")";
+#endif
#ifdef __PLAYSTATION2__
const char *gScummVMBuildDate = "Git Master"; /* ScummVM Git Master */
const char *gScummVMVersionDate = SCUMMVM_VERSION " - PlayStation2";