Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced DirectMovie commands with another library (BlitzMovie).
This will hopefully fix the crashes that some users had relating to the incompability of DirectMovie.It's also worth to mention that the audio is seperated from the video. There are 2 reasons for this: The first reason is that some people had problems with the audio either during or after the video or general audio problems happened during the playing of the avi file. The other reason is because the BlitzMovie plugin doesn't has a command to check if the movie is finished playing (it technically has, but it either is for a different purpose or it is broken), so the audio file is determining when the program can continue without the user having any need to press a button to continue.
- Loading branch information
Showing
5 changed files
with
107 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
;BlitzMovie 1.3 (C) Harriman Software 2004, 2005 | ||
.lib "BlitzMovie.dll" | ||
|
||
BlitzMovie_Open%(strName$):"_BLITZMOVIE_Open@4" | ||
BlitzMovie_Close():"_BLITZMOVIE_Close@0" | ||
BlitzMovie_GetWidth%():"_BLITZMOVIE_GetWidth@0" | ||
BlitzMovie_GetHeight%():"_BLITZMOVIE_GetHeight@0" | ||
BlitzMovie_GetPixel%(offset%):"_BLITZMOVIE_GetPixel@4" | ||
BlitzMovie_Play%():"_BLITZMOVIE_Play@0" | ||
BlitzMovie_Stop%():"_BLITZMOVIE_Stop@0" | ||
|
||
; Direct3D7 specific stuff (much faster than the software versions) | ||
BlitzMovie_OpenD3D%(strName$, device%, ddraw%):"_BLITZMOVIE_OpenD3D@12" | ||
BlitzMovie_DrawD3D%(x%, y%, width%, height%):"_BLITZMOVIE_DrawD3D@16" | ||
|
||
; new stuff for 1.2 | ||
BlitzMovie_MuteAudio%():"_BLITZMOVIE_MuteAudio@0" | ||
BlitzMovie_SetVolume%(volume%):"_BLITZMOVIE_SetVolume@4" | ||
BlitzMovie_IsPlaying%():"_BLITZMOVIE_IsPlaying@0" | ||
|
||
; new stuff for 1.3 | ||
BlitzMovie_OpenDecodeToImage%(strName$, buffer%, looping%):"_BLITZMOVIE_OpenDecodeToImage@12" | ||
BlitzMovie_OpenDecodeToTexture%(strName$, buffer%, looping%):"_BLITZMOVIE_OpenDecodeToTexture@12" | ||
BlitzMovie_Pause%():"_BLITZMOVIE_Pause@0" | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters