From 9dd2e198aec75791ed7052148997bac25a46ec55 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 29 Aug 2016 21:17:50 -0400 Subject: TITANIC: Remove redundant CFilesManager::fn4 It looks like the original method scanned subfolders for the file, and prefixed on the found path. We don't need this for ScummVM --- engines/titanic/support/files_manager.cpp | 4 ---- engines/titanic/support/files_manager.h | 2 -- engines/titanic/support/mouse_cursor.cpp | 1 - 3 files changed, 7 deletions(-) (limited to 'engines') diff --git a/engines/titanic/support/files_manager.cpp b/engines/titanic/support/files_manager.cpp index 2d16c8f8c5..3ee17e9769 100644 --- a/engines/titanic/support/files_manager.cpp +++ b/engines/titanic/support/files_manager.cpp @@ -116,10 +116,6 @@ void CFilesManager::resetView() { } } -void CFilesManager::fn4(const CString &name) { - warning("TODO: CFilesManager::fn4"); -} - void CFilesManager::preload(const CString &name) { // We don't currently do any preloading of resources } diff --git a/engines/titanic/support/files_manager.h b/engines/titanic/support/files_manager.h index 454a72d8b0..c530b05ece 100644 --- a/engines/titanic/support/files_manager.h +++ b/engines/titanic/support/files_manager.h @@ -94,8 +94,6 @@ public: */ void resetView(); - void fn4(const CString &name); - /** * Preloads and caches a file for access shortly */ diff --git a/engines/titanic/support/mouse_cursor.cpp b/engines/titanic/support/mouse_cursor.cpp index 4f949a1c0e..d342e6cccb 100644 --- a/engines/titanic/support/mouse_cursor.cpp +++ b/engines/titanic/support/mouse_cursor.cpp @@ -67,7 +67,6 @@ CMouseCursor::~CMouseCursor() { void CMouseCursor::loadCursorImages() { const CResourceKey key("ycursors.avi"); - g_vm->_filesManager->fn4(key.getString()); // Iterate through getting each cursor for (int idx = 0; idx < NUM_CURSORS; ++idx) { -- cgit v1.2.3