aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/sci.cpp13
-rw-r--r--engines/sci/sci.h12
2 files changed, 14 insertions, 11 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 48b8ea7beb..b2532e46b2 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -43,6 +43,19 @@ namespace Sci {
extern gfx_driver_t gfx_driver_scummvm;
+const char *versionNames[9] = {
+ "Autodetected",
+ "SCI0",
+ "SCI01 EGA",
+ "SCI01 VGA",
+ "SCI01 VGA ODD",
+ "SCI1 early",
+ "SCI1 late",
+ "SCI1.1",
+ "SCI32"
+};
+
+
int c_quit(EngineState *s, const Common::Array<cmd_param_t> &cmdParams) {
script_abort_flag = 1; // Terminate VM
_debugstate_valid = 0;
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index db8a40ebd1..b8eed055e5 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -77,17 +77,7 @@ enum SciGameVersions {
SCI_VERSION_32 = 8
};
-static const char *versionNames[9] = {
- "Autodetected",
- "SCI0",
- "SCI01 EGA",
- "SCI01 VGA",
- "SCI01 VGA ODD",
- "SCI1 early",
- "SCI1 late",
- "SCI1.1",
- "SCI32"
-};
+extern const char *versionNames[9];
enum SciGameFlags {
/*