diff options
-rw-r--r-- | scumm.h | 3 | ||||
-rw-r--r-- | scummvm.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -21,6 +21,9 @@ #include "scummsys.h" + +#define SCUMMVM_VERSION "0.1.0 devel" + #define SWAP(a,b) do{int tmp=a; a=b; b=tmp; } while(0) #define ARRAYSIZE(x) (sizeof(x)/sizeof(x[0])) diff --git a/scummvm.cpp b/scummvm.cpp index 75e22bd511..a6fe62322b 100644 --- a/scummvm.cpp +++ b/scummvm.cpp @@ -379,6 +379,9 @@ void Scumm::parseCommandLine(int argc, char **argv) { case 'f': _fullScreen = true; break; + case 'v': + printf("ScummVM " SCUMMVM_VERSION "\nBuilt on " __TIMESTAMP__ "\n"); + exit(1); default: ShowHelpAndExit:; printf( |