Mercurial > might-and-magic-trilogy
diff VideoPlayer.cpp @ 3:540178ef9b18
Main menu functionality
author | Nomad |
---|---|
date | Wed, 10 Oct 2012 19:10:15 +0200 |
parents | 2ca04ccb612a |
children | 17150bdf321e |
line wrap: on
line diff
--- a/VideoPlayer.cpp Wed Oct 10 14:21:15 2012 +0200 +++ b/VideoPlayer.cpp Wed Oct 10 19:10:15 2012 +0200 @@ -258,7 +258,7 @@ DrawCopyrightWindow(); pRenderer->EndScene(); pRenderer->Present(); - if ( !(dword_6BE364_game_settings_1 & 0x10) && pAudioPlayer->hAILRedbook ) + if (!bNoSound && pAudioPlayer->hAILRedbook ) { pAudioPlayer->SetMusicVolume((signed __int64)(pSoundVolumeLevels[uMusicVolimeMultiplier] * 64.0)); AIL_redbook_stop(pAudioPlayer->hAILRedbook); @@ -821,11 +821,7 @@ Unload(); pRenderer->EndScene(); } -// 4D83D0: using guessed type int __stdcall SmackBufferNewPalette(int, int, int); -// 4D83D4: using guessed type int __stdcall SmackColorRemapWithTrans(int, int, int, int, int); -// 4D83E4: using guessed type int __stdcall SmackDoFrame(int); -// 4D83E8: using guessed type int __stdcall SmackNextFrame(int); -// 4D8400: using guessed type int __stdcall SmackToBuffer(int, int, int, int, int, int, int); + //----- (004BF141) -------------------------------------------------------- _BINK *VideoPlayer::OpenBink(const char *pName)