diff options
author | Le Philousophe | 2019-05-20 20:52:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-06-01 22:43:48 +0200 |
commit | edf2fdb12880b2b96beb3a753da4c1ad44b0bbf4 (patch) | |
tree | 6ee3c66463aa3cf2c0c90b8bf8393925aa6b7ebf /engines/cryomni3d/cryomni3d.h | |
parent | 1c4d0d87ecde1fdea1cf1473da3665605d956657 (diff) | |
download | scummvm-rg350-edf2fdb12880b2b96beb3a753da4c1ad44b0bbf4.tar.gz scummvm-rg350-edf2fdb12880b2b96beb3a753da4c1ad44b0bbf4.tar.bz2 scummvm-rg350-edf2fdb12880b2b96beb3a753da4c1ad44b0bbf4.zip |
CRYOMNI3D: Add hook to video playing
That will be used for countdown
Diffstat (limited to 'engines/cryomni3d/cryomni3d.h')
-rw-r--r-- | engines/cryomni3d/cryomni3d.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/cryomni3d/cryomni3d.h b/engines/cryomni3d/cryomni3d.h index c06df5b69f..17e9cd39e3 100644 --- a/engines/cryomni3d/cryomni3d.h +++ b/engines/cryomni3d/cryomni3d.h @@ -108,8 +108,10 @@ public: void fillSurface(byte color); void setCursor(const Graphics::Cursor &cursor) const; void setCursor(unsigned int cursorId) const; + typedef void (CryOmni3DEngine::*HNMCallback)(unsigned int frameNum); void playHNM(const Common::String &filename, - Audio::Mixer::SoundType soundType = Audio::Mixer::kPlainSoundType); + Audio::Mixer::SoundType soundType = Audio::Mixer::kPlainSoundType, + HNMCallback beforeDraw = nullptr, HNMCallback afterDraw = nullptr); void displayHLZ(const Common::String &filename); bool pollEvents(); |