Skip to content

Commit

Permalink
AMIGAOS: Add AmigaOS version format
Browse files Browse the repository at this point in the history
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"
  • Loading branch information
raziel- committed Aug 9, 2014
1 parent e11fe13 commit 0c62508
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base/version.cpp
Expand Up @@ -56,6 +56,9 @@
* to properly work in exports (i.e. release tar balls etc.).
*/
const char *gScummVMVersion = SCUMMVM_VERSION;
#ifdef __amigaos4__

This comment has been minimized.

Copy link
@polluks

polluks Aug 13, 2014

Contributor

if defined(amigaos4) || defined(AROS) || defined(MORPHOS) || defined(amigaos)

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";
Expand Down

0 comments on commit 0c62508

Please sign in to comment.