[Scummvm-cvs-logs] scummvm master -> 253d443085407b56b0ccaed88057fce057791122

sev- sev at scummvm.org
Sat Aug 9 15:38:28 CEST 2014


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0c625084c2 AMIGAOS: Add AmigaOS version format
253d443085 Merge pull request #490 from raziel-/patch-2


Commit: 0c625084c22e7a0d4134e93dd277b1675c45ab29
    https://github.com/scummvm/scummvm/commit/0c625084c22e7a0d4134e93dd277b1675c45ab29
Author: raziel- (raziel- at users.noreply.github.com)
Date: 2014-08-09T15:57:35+03:00

Commit Message:
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"

Changed paths:
    base/version.cpp



diff --git a/base/version.cpp b/base/version.cpp
index fba3554..ef02ff9 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";


Commit: 253d443085407b56b0ccaed88057fce057791122
    https://github.com/scummvm/scummvm/commit/253d443085407b56b0ccaed88057fce057791122
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-08-09T15:38:03+02:00

Commit Message:
Merge pull request #490 from raziel-/patch-2

AMIGAOS: Add AmigaOS version format

Changed paths:
    base/version.cpp









More information about the Scummvm-git-logs mailing list