Skip to content

Commit

Permalink
JADE: Play correct intro videos, according to platform
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jul 29, 2018
1 parent 2a69fc9 commit 1208e85
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions src/engines/jade/jade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,34 @@ void JadeEngine::deinit() {
}

void JadeEngine::playIntroVideos() {
playVideo("black");
playVideo("publisher");
playVideo("bwlogo");
playVideo("black");
playVideo("graymatr");
switch (_platform) {
case Aurora::kPlatformXbox:
playVideo("bwlogo"); // BioWare
playVideo("gsl_short"); // Microsoft
break;

default:
case Aurora::kPlatformWindows:
playVideo("black"); // One second of black
playVideo("publisher"); // 2K Games (original DVD version) or Electronic Arts (GOG version)
playVideo("black"); // One second of black
playVideo("bwlogo"); // BioWare
playVideo("black"); // One second of black
playVideo("graymatr"); // Gray Matter
break;

case Aurora::kPlatformAndroid:
case Aurora::kPlatformIOS:
// TODO: These are Bink 2 videos, they don't actually play in xoreos

playVideo("black"); // One second of black
playVideo("publisher"); // EA
playVideo("black"); // One second of black
playVideo("bwlogo"); // BioWare
playVideo("black"); // One second of black
playVideo("aspyr"); // Aspyr
break;
}
}

} // End of namespace Jade
Expand Down

0 comments on commit 1208e85

Please sign in to comment.