aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-08-28 19:13:54 +0000
committerTorbjörn Andersson2006-08-28 19:13:54 +0000
commit557af0cba5c2a59c74ed4e85af175bd51c93c240 (patch)
tree4e195a85c090c8e64ac172836e1aa9cb74131f71
parent610547acac60b84d155665c5003617903dc0b57d (diff)
downloadscummvm-rg350-557af0cba5c2a59c74ed4e85af175bd51c93c240.tar.gz
scummvm-rg350-557af0cba5c2a59c74ed4e85af175bd51c93c240.tar.bz2
scummvm-rg350-557af0cba5c2a59c74ed4e85af175bd51c93c240.zip
Removed the copy protection bypass for Future Wars. We should only bypass the
copy protection if we know there were versions sold that either didn't have the protection, or failed to include the information needed to get past it. Besides, this particular bypassing doesn't work. The game appears to start just fine, but the transporter early in the game is rendered non-functional. svn-id: r23801
-rw-r--r--engines/cine/auto00.cpp48
-rw-r--r--engines/cine/auto00.h36
-rw-r--r--engines/cine/module.mk1
-rw-r--r--engines/cine/prc.cpp10
4 files changed, 3 insertions, 92 deletions
diff --git a/engines/cine/auto00.cpp b/engines/cine/auto00.cpp
deleted file mode 100644
index b6bde378f9..0000000000
--- a/engines/cine/auto00.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2006 The ScummVM project
- *
- * cinE Engine is (C) 2004-2005 by CinE Team
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $URL$
- * $Id$
- *
- */
-
-#include "common/stdafx.h"
-#include "common/scummsys.h"
-
-#include "cine/auto00.h"
-
-
-namespace Cine {
-
-const byte AUT000[] = {
- 0x00, 0x32, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7a, 0x00, 0x6b, 0x6c, 0x01, 0x40, 0x50, 0x41, 0x52, 0x54,
- 0x30, 0x31, 0x00, 0x42, 0x00, 0x49, 0x4e, 0x54, 0x52, 0x4f, 0x2e, 0x50, 0x52, 0x43, 0x00, 0x42,
- 0x02, 0x49, 0x4e, 0x54, 0x52, 0x4f, 0x2e, 0x4f, 0x42, 0x4a, 0x00, 0x3d, 0x4c, 0x4f, 0x47, 0x4f,
- 0x2e, 0x50, 0x49, 0x31, 0x00, 0x46, 0x50, 0x6e, 0x44, 0x55, 0x47, 0x47, 0x45, 0x52, 0x2e, 0x44,
- 0x41, 0x54, 0x00, 0x3d, 0x43, 0x49, 0x4e, 0x45, 0x4d, 0x41, 0x2e, 0x50, 0x49, 0x31, 0x00, 0x47,
- 0x46, 0x6f, 0x43, 0x51, 0x00, 0x1e, 0x1e, 0x43, 0x51, 0x00,
-};
-
-} // End of namespace Cine
diff --git a/engines/cine/auto00.h b/engines/cine/auto00.h
deleted file mode 100644
index 15d945513e..0000000000
--- a/engines/cine/auto00.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ScummVM - Scumm Interpreter
- * Copyright (C) 2006 The ScummVM project
- *
- * cinE Engine is (C) 2004-2005 by CinE Team
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * $URL$
- * $Id$
- *
- */
-
-#ifndef CINE_AUTO00_H_
-#define CINE_AUTO00_H_
-
-namespace Cine {
-
-extern const byte AUT000[];
-
-#define AUT000_size sizeof(AUT000);
-
-} // End of namespace Cine
-
-#endif
diff --git a/engines/cine/module.mk b/engines/cine/module.mk
index 88106bb51b..24e7b55e55 100644
--- a/engines/cine/module.mk
+++ b/engines/cine/module.mk
@@ -2,7 +2,6 @@ MODULE := engines/cine
MODULE_OBJS = \
anim.o \
- auto00.o \
bg.o \
bg_list.o \
cine.o \
diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp
index 8eaff59004..631df16713 100644
--- a/engines/cine/prc.cpp
+++ b/engines/cine/prc.cpp
@@ -26,7 +26,6 @@
#include "common/endian.h"
#include "cine/cine.h"
-#include "cine/auto00.h"
#include "cine/various.h"
#include "common/config-manager.h"
@@ -78,15 +77,12 @@ void loadPrc(const char *pPrcName) {
}
checkDataDisk(-1);
- if ((gameType == Cine::GID_FW) && (!strcmp(pPrcName, "AUTO00.PRC"))) {
- if (!ConfMan.getBool("copy_protection"))
- scriptPtr = AUT000;
- else
- scriptPtr = readFile(pPrcName);
+ if ((gameType == Cine::GID_FW) && (!strcmp(pPrcName, BOOT_PRC_NAME))) {
+ scriptPtr = readFile(pPrcName);
} else {
scriptPtr = readBundleFile(findFileInBundle(pPrcName));
- assert(scriptPtr);
}
+ assert(scriptPtr);
setMouseCursor(MOUSE_CURSOR_DISK);