aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2012-11-15 14:20:53 +0200
committerFilippos Karapetis2012-11-15 14:30:42 +0200
commit42b8f3db4d3fbddb2e59db761b8b1f488e279071 (patch)
tree270886cbe0e0722877593a8aba5932baa037787b /engines
parent3233edf9b843f16018b6142b344b08dedae74d67 (diff)
downloadscummvm-rg350-42b8f3db4d3fbddb2e59db761b8b1f488e279071.tar.gz
scummvm-rg350-42b8f3db4d3fbddb2e59db761b8b1f488e279071.tar.bz2
scummvm-rg350-42b8f3db4d3fbddb2e59db761b8b1f488e279071.zip
DREAMWEB: Add an extra line showing the available terminal commands
This is possible, since the game is freeware now. It is very helpful when playing the game in order to avoid referring to the manual. The extra help text is shown when the player uses the 'help' command inside the game terminal. Also, the list of games where copy protection is skipped has been reordered alphabetically in the README
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/dreamweb.cpp1
-rw-r--r--engines/dreamweb/dreamweb.h1
-rw-r--r--engines/dreamweb/monitor.cpp7
3 files changed, 9 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp
index 5f5d627553..cc9c9e6f33 100644
--- a/engines/dreamweb/dreamweb.cpp
+++ b/engines/dreamweb/dreamweb.cpp
@@ -374,6 +374,7 @@ Common::Error DreamWebEngine::run() {
ConfMan.registerDefault("bright_palette", true);
_hasSpeech = Common::File::exists(_speechDirName + "/r01c0000.raw") && !ConfMan.getBool("speech_mute");
_brightPalette = ConfMan.getBool("bright_palette");
+ _copyProtection = ConfMan.getBool("copy_protection");
_timer->installTimerProc(vSyncInterrupt, 1000000 / 70, this, "dreamwebVSync");
dreamweb();
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h
index a4597b1867..8cb903abcd 100644
--- a/engines/dreamweb/dreamweb.h
+++ b/engines/dreamweb/dreamweb.h
@@ -316,6 +316,7 @@ public:
uint16 _charShift;
uint8 _kerning;
bool _brightPalette;
+ bool _copyProtection;
uint8 _roomLoaded;
uint8 _didZoom;
uint16 _lineSpacing;
diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp
index 1886a80b6a..83563c8005 100644
--- a/engines/dreamweb/monitor.cpp
+++ b/engines/dreamweb/monitor.cpp
@@ -149,6 +149,13 @@ bool DreamWebEngine::execCommand() {
return true;
case 1:
monMessage(6);
+ // An extra addition in ScummVM: available commands.
+ // Since the reference to the game manual is a form of copy protection,
+ // this extra text is wrapped around the common copy protection check,
+ // to keep it faithful to the original, if requested.
+ if (!_copyProtection) {
+ monPrint("VALID COMMANDS ARE EXIT, HELP, LIST, READ, LOGON, KEYS");
+ }
break;
case 2:
dirCom();