VOYEUR: Preliminary support for Voyeur demo (without title)

This commit is contained in:
Paul Gilbert 2020-06-03 17:24:57 -07:00
parent 342861636b
commit 4778aa9769
2 changed files with 23 additions and 8 deletions

View File

@ -28,14 +28,27 @@ static const VoyeurGameDescription gameDescriptions[] = {
{
"voyeur",
0,
AD_ENTRY1s("a1100100.rl2", "b44630677618d034970ca0a13c1c1237", 336361),
AD_ENTRY1s("bvoy.blt", "12e9e10654171501cf8be3a7aa7198e1", 13036269),
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NOMIDI)
},
}
},
{
// Voyeur DOS English
{
"voyeur",
"Demo",
AD_ENTRY1s("bvoy.blt", "abd10f241b845ebc2a76d27a43770709", 13015827),
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_DEMO,
GUIO1(GUIO_NOMIDI)
}
},
{ AD_TABLE_END_MARKER }
};

View File

@ -164,7 +164,7 @@ bool VoyeurEngine::doHeadTitle() {
if (_loadGameSlot == -1) {
// Show starting screen
if (_bVoy->getBoltGroup(0x500)) {
if (!getIsDemo() && _bVoy->getBoltGroup(0x500)) {
showConversionScreen();
_bVoy->freeBoltGroup(0x500);
@ -179,11 +179,13 @@ bool VoyeurEngine::doHeadTitle() {
return false;
}
// Show the title screen
_eventsManager->getMouseInfo();
showTitleScreen();
if (shouldQuit())
return false;
if (!getIsDemo()) {
// Show the title screen
_eventsManager->getMouseInfo();
showTitleScreen();
if (shouldQuit())
return false;
}
// Opening
_eventsManager->getMouseInfo();