diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cine/auto00.cpp | 48 | ||||
-rw-r--r-- | engines/cine/auto00.h | 36 | ||||
-rw-r--r-- | engines/cine/module.mk | 1 | ||||
-rw-r--r-- | engines/cine/prc.cpp | 10 |
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); |