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", "voyeur",
0, 0,
AD_ENTRY1s("a1100100.rl2", "b44630677618d034970ca0a13c1c1237", 336361), AD_ENTRY1s("bvoy.blt", "12e9e10654171501cf8be3a7aa7198e1", 13036269),
Common::EN_ANY, Common::EN_ANY,
Common::kPlatformDOS, Common::kPlatformDOS,
ADGF_NO_FLAGS, ADGF_NO_FLAGS,
GUIO1(GUIO_NOMIDI) 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 } { AD_TABLE_END_MARKER }
}; };

View File

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