[Scummvm-cvs-logs] SF.net SVN: scummvm: [25760] scummvm/trunk
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Wed Feb 21 12:46:35 CET 2007
Revision: 25760
http://scummvm.svn.sourceforge.net/scummvm/?rev=25760&view=rev
Author: kirben
Date: 2007-02-21 03:46:35 -0800 (Wed, 21 Feb 2007)
Log Message:
-----------
Bypass the copy protection screens in floppy disk releases of Simon the Sorcerer 1 and 2, with permission from Adventure Soft.
Modified Paths:
--------------
scummvm/trunk/README
scummvm/trunk/engines/agos/agos.cpp
scummvm/trunk/engines/agos/agos.h
scummvm/trunk/engines/agos/script.cpp
Modified: scummvm/trunk/README
===================================================================
--- scummvm/trunk/README 2007-02-21 10:43:11 UTC (rev 25759)
+++ scummvm/trunk/README 2007-02-21 11:46:35 UTC (rev 25760)
@@ -255,6 +255,10 @@
* Inherit the Earth: Quest for the Orb (Floppy version)
-- bypassed with kind permission from Wyrmkeep Entertainment,
since it was bypassed in all CD releases of the game.
+ * Simon the Sorcerer 1 (Floppy version)
+ * Simon the Sorcerer 2 (Floppy version)
+ -- bypassed with kind permission from Adventure Soft,
+ since it was bypassed in all CD releases of the game.
3.2) Commodore64 games notes:
Modified: scummvm/trunk/engines/agos/agos.cpp
===================================================================
--- scummvm/trunk/engines/agos/agos.cpp 2007-02-21 10:43:11 UTC (rev 25759)
+++ scummvm/trunk/engines/agos/agos.cpp 2007-02-21 11:46:35 UTC (rev 25760)
@@ -180,6 +180,7 @@
_drawImagesDebug = false;
_dumpImages = false;
+ _copyProtection = false;
_pause = false;
_speech = false;
_subtitles = false;
@@ -558,6 +559,7 @@
_sound->effectsPause(_effectsPaused ^= 1);
}
+ _copyProtection = ConfMan.getBool("copy_protection");
_language = Common::parseLanguage(ConfMan.get("language"));
if (getGameType() == GType_PP) {
Modified: scummvm/trunk/engines/agos/agos.h
===================================================================
--- scummvm/trunk/engines/agos/agos.h 2007-02-21 10:43:11 UTC (rev 25759)
+++ scummvm/trunk/engines/agos/agos.h 2007-02-21 11:46:35 UTC (rev 25760)
@@ -277,6 +277,7 @@
uint16 _debugMode;
uint16 _language;
+ bool _copyProtection;
bool _pause;
bool _startMainScript;
bool _continousMainScript;
Modified: scummvm/trunk/engines/agos/script.cpp
===================================================================
--- scummvm/trunk/engines/agos/script.cpp 2007-02-21 10:43:11 UTC (rev 25759)
+++ scummvm/trunk/engines/agos/script.cpp 2007-02-21 11:46:35 UTC (rev 25760)
@@ -875,6 +875,14 @@
void AGOSEngine::o_freezeZones() {
// 138: freeze zones
freezeBottom();
+
+ if (!_copyProtection && !(getFeatures() & GF_TALKIE)) {
+ if ((getGameType() == GType_SIMON1 && _subroutine == 2924) ||
+ (getGameType() == GType_SIMON2 && _subroutine == 1322)) {
+ _variableArray[135] = 3;
+ setScriptCondition(0);
+ }
+ }
}
void AGOSEngine::o_placeNoIcons() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list