1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 04:39:45 +00:00

Add more functionality to the bink stubs to make them behave more like the previous implementation did when built without BINK_SDK_AVAILABLE.

In particular, the intro movie now exits immediately again rather than staying indefinitely.

The important difference is to send the completion callback in plBinkPlayer::NextFrame(), i.e. act as if we had reached the end of the movie.

Storing the filename is to keep plClient::IHandleMovieMsg() from deleting and recreating the plBinkPlayer on every message.

The changed return values are just to better match the previous behavior and probably don?t matter.
This commit is contained in:
Christian Walther
2012-12-18 15:49:41 +01:00
parent 30d140b8a0
commit f03a837642
2 changed files with 28 additions and 8 deletions

View File

@ -50,7 +50,7 @@ class plLayerBink : public plLayerMovie
protected:
virtual Int32 ISecsToFrame(float secs) { return 0; }
virtual hsBool IInit() { return true; }
virtual hsBool IGetCurrentFrame() { return 0; }
virtual hsBool IGetCurrentFrame() { return true; }
virtual hsBool IRelease() { return true; }
public: