diff options
author | Paul Gilbert | 2014-04-06 23:53:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-06 23:53:07 -0400 |
commit | 1c50c69ba69d255e3ba9ed5a88ea0985417b9357 (patch) | |
tree | ccba62b15c3d8be58a49340858cf174e79ca0951 | |
parent | 54bcb822fbd4e5d573ae5cd00ce3b813fbc7faa6 (diff) | |
download | scummvm-rg350-1c50c69ba69d255e3ba9ed5a88ea0985417b9357.tar.gz scummvm-rg350-1c50c69ba69d255e3ba9ed5a88ea0985417b9357.tar.bz2 scummvm-rg350-1c50c69ba69d255e3ba9ed5a88ea0985417b9357.zip |
MADS: Added stubbed Animation::preLoad method
-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); |