diff options
author | Simei Yin | 2017-07-21 00:14:09 +0200 |
---|---|---|
committer | Simei Yin | 2017-07-21 11:21:45 +0200 |
commit | 6858d3c6aefe1f39089a56ef3f2521b86d8abeb0 (patch) | |
tree | 39749e9cebd26f0ce30fc255a08d2b1398fb679a | |
parent | 4a54a027607cd41255406b8d82d0bf54ecd5fa14 (diff) | |
download | scummvm-rg350-6858d3c6aefe1f39089a56ef3f2521b86d8abeb0.tar.gz scummvm-rg350-6858d3c6aefe1f39089a56ef3f2521b86d8abeb0.tar.bz2 scummvm-rg350-6858d3c6aefe1f39089a56ef3f2521b86d8abeb0.zip |
SLUDGE: Remove unused files
-rw-r--r-- | engines/sludge/helpers.cpp | 42 | ||||
-rw-r--r-- | engines/sludge/helpers.h | 31 | ||||
-rw-r--r-- | engines/sludge/main_loop.cpp | 1 | ||||
-rw-r--r-- | engines/sludge/module.mk | 1 |
4 files changed, 0 insertions, 75 deletions
diff --git a/engines/sludge/helpers.cpp b/engines/sludge/helpers.cpp deleted file mode 100644 index 9cc44ab660..0000000000 --- a/engines/sludge/helpers.cpp +++ /dev/null @@ -1,42 +0,0 @@ -/* ScummVM - Graphic Adventure Engine - * - * ScummVM is the legal property of its developers, whose names - * are too numerous to list here. Please refer to the COPYRIGHT - * file distributed with this source distribution. - * - * 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. - * - */ - -#include "common/file.h" - -#include "sludge/allfiles.h" -#include "sludge/helpers.h" - -namespace Sludge { - -bool fileExists(const char *file) { - bool retval = false; - - Common::File tester; - if (tester.open(file)) { - retval = true; - tester.close(); - } - - return retval; -} - -} // End of namespace Sludge diff --git a/engines/sludge/helpers.h b/engines/sludge/helpers.h deleted file mode 100644 index 27625d2794..0000000000 --- a/engines/sludge/helpers.h +++ /dev/null @@ -1,31 +0,0 @@ -/* ScummVM - Graphic Adventure Engine - * - * ScummVM is the legal property of its developers, whose names - * are too numerous to list here. Please refer to the COPYRIGHT - * file distributed with this source distribution. - * - * 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. - * - */ -#ifndef SLUDGE_HELPERS_H -#define SLUDGE_HELPERS_H - -namespace Sludge { - -bool fileExists(const char *file); - -} // End of namespace Sludge - -#endif diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index 3a42d6d478..708d4df910 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -30,7 +30,6 @@ #include "sludge/event.h" #include "sludge/floor.h" #include "sludge/graphics.h" -#include "sludge/helpers.h" #include "sludge/language.h" #include "sludge/newfatal.h" #include "sludge/objtypes.h" diff --git a/engines/sludge/module.mk b/engines/sludge/module.mk index 4d05e826a5..07f1af36c0 100644 --- a/engines/sludge/module.mk +++ b/engines/sludge/module.mk @@ -13,7 +13,6 @@ MODULE_OBJS := \ freeze.o \ fonttext.o \ graphics.o \ - helpers.o \ hsi.o \ imgloader.o \ language.o \ |