diff options
-rw-r--r-- | engines/mads/animation.cpp | 5 | ||||
-rw-r--r-- | engines/mads/animation.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp index 769bd39aef..b557a598ed 100644 --- a/engines/mads/animation.cpp +++ b/engines/mads/animation.cpp @@ -307,6 +307,11 @@ void Animation::load(UserInterface &interfaceSurface, MSurface &depthSurface, f.close(); } +void Animation::preLoad(const Common::String &resName, int level) { + // No implementation in ScummVM, since access is fast enough that data + // doesn't need to be preloaded +} + void Animation::startAnimation(int abortTimers) { _messageCtr = 0; _skipLoad = true; diff --git a/engines/mads/animation.h b/engines/mads/animation.h index 63f77d1fa2..8095bec5e0 100644 --- a/engines/mads/animation.h +++ b/engines/mads/animation.h @@ -173,6 +173,11 @@ public: int flags, Common::Array<RGB4> *palAnimData, SceneInfo *sceneInfo); /** + * Preload animation data for the scene + */ + void preLoad(const Common::String &resName, int level); + + /** * Setups up a loaded animation for playback */ void startAnimation(int abortTimers); |