Applied my patch for the BS1/2 video player
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot. - Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed - The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG) - The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported svn-id: r38236
This commit is contained in:
parent
47a1cd7545
commit
781d7da6b1
12 changed files with 196 additions and 1315 deletions
|
@ -58,10 +58,12 @@ SwordEngine::SwordEngine(OSystem *syst)
|
|||
Common::File::addDefaultDirectory(_gameDataDir.getChild("MUSIC"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("SPEECH"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("VIDEO"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("SMACKSHI"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("clusters"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("music"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("speech"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("video"));
|
||||
Common::File::addDefaultDirectory(_gameDataDir.getChild("smackshi"));
|
||||
}
|
||||
|
||||
SwordEngine::~SwordEngine() {
|
||||
|
@ -475,12 +477,6 @@ void SwordEngine::checkCdFiles(void) { // check if we're running from cd, hdd or
|
|||
*/
|
||||
// make the demo flag depend on the Gamesettings for now, and not on what the datafiles look like
|
||||
_systemVars.isDemo = (_features & GF_DEMO) != 0;
|
||||
_systemVars.cutscenePackVersion = 0;
|
||||
#ifdef USE_MPEG2
|
||||
if (Common::File::exists("intro.snd")) {
|
||||
_systemVars.cutscenePackVersion = 1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Common::Error SwordEngine::go() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue