aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm.h3
-rw-r--r--scummvm.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/scumm.h b/scumm.h
index 1d32fedf78..c76cd88f27 100644
--- a/scumm.h
+++ b/scumm.h
@@ -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(