aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-08-14 12:24:23 +1000
committerPaul Gilbert2011-08-14 12:24:23 +1000
commitfed3306b15666fb989a08a6e62322577de1e9414 (patch)
tree682e6a9f3ef397443fba96a02bf12035e024dab6
parent3101dfab165e519c06d71f1b2a8fb653a8052aae (diff)
downloadscummvm-rg350-fed3306b15666fb989a08a6e62322577de1e9414.tar.gz
scummvm-rg350-fed3306b15666fb989a08a6e62322577de1e9414.tar.bz2
scummvm-rg350-fed3306b15666fb989a08a6e62322577de1e9414.zip
TSAGE: Removed recently added preloadVisage method
Method associated was actually the standard getVisage method
-rw-r--r--engines/tsage/scenes.cpp10
-rw-r--r--engines/tsage/scenes.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index 954c63e081..8db1a321f4 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -501,16 +501,6 @@ void Scene::setZoomPercents(int yStart, int minPercent, int yEnd, int maxPercent
_zoomPercents[yEnd++] = minPercent;
}
-byte *Scene::preloadVisage(int resNum) {
- // This isn't being used, since modern systems can load the data much quicker, and in any case
- // visage data is specially loaded into the Visage class, and the resources discarded from memory.
- return NULL;
-/*
- assert(!_v52C9F);
- return _resourceManager->getResource(RES_VISAGE, resNum, 9999, false);
-*/
-}
-
/*--------------------------------------------------------------------------*/
void Game::execute() {
diff --git a/engines/tsage/scenes.h b/engines/tsage/scenes.h
index 665da585f8..5845efaec9 100644
--- a/engines/tsage/scenes.h
+++ b/engines/tsage/scenes.h
@@ -67,7 +67,6 @@ public:
void loadBackground(int xAmount, int yAmount);
void refreshBackground(int xAmount, int yAmount);
void loadSceneData(int sceneNum);
- byte *preloadVisage(int resNum);
};
class SceneManager : public GameHandler, public SaveListener {