mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
Add HoF CD demo.
svn-id: r31205
This commit is contained in:
parent
558625ff45
commit
91a33d4d63
@ -50,6 +50,7 @@ namespace {
|
||||
#define KYRA1_DEMO_FLAGS FLAGS(true, false, false, false, Kyra::GI_KYRA1)
|
||||
|
||||
#define KYRA2_CD_FLAGS FLAGS(false, false, true, false, Kyra::GI_KYRA2)
|
||||
#define KYRA2_CD_DEMO_FLAGS FLAGS(true, false, true, false, Kyra::GI_KYRA2)
|
||||
#define KYRA2_DEMO_FLAGS FLAGS(true, false, false, false, Kyra::GI_KYRA2)
|
||||
#define KYRA2_TOWNS_FLAGS FLAGS(false, false, false, false, Kyra::GI_KYRA2)
|
||||
#define KYRA2_TOWNS_SJIS_FLAGS FLAGS(false, false, false, true, Kyra::GI_KYRA2)
|
||||
@ -328,7 +329,19 @@ const KYRAGameDescription adGameDescs[] = {
|
||||
KYRA2_CD_FLAGS
|
||||
},
|
||||
|
||||
{ // Demo
|
||||
{ // Interactive Demo
|
||||
{
|
||||
"kyra2",
|
||||
"Demo",
|
||||
AD_ENTRY1("THANKS.CPS", "b1a78d990b120bb2234b7094f74e30a5"),
|
||||
Common::EN_ANY,
|
||||
Common::kPlatformPC,
|
||||
Common::ADGF_DEMO
|
||||
},
|
||||
KYRA2_CD_DEMO_FLAGS
|
||||
},
|
||||
|
||||
{ // Non-Interactive Demo
|
||||
{
|
||||
"kyra2",
|
||||
"Demo",
|
||||
|
@ -216,7 +216,7 @@ int KyraEngine_v2::init() {
|
||||
}
|
||||
|
||||
// No mouse display in demo
|
||||
if (_flags.isDemo)
|
||||
if (_flags.isDemo && !_flags.isTalkie)
|
||||
return 0;
|
||||
|
||||
tim_setupOpcodes();
|
||||
|
@ -75,7 +75,7 @@ bool Resource::reset() {
|
||||
loadPakFile("CHAPTER1.VRM");
|
||||
} else if (_vm->game() == GI_KYRA2) {
|
||||
// mouse pointer, fonts, etc. required for initializing
|
||||
if (_vm->gameFlags().isDemo) {
|
||||
if (_vm->gameFlags().isDemo && !_vm->gameFlags().isTalkie) {
|
||||
loadPakFile("GENERAL.PAK");
|
||||
} else {
|
||||
loadPakFile("INTROGEN.PAK");
|
||||
|
@ -2604,7 +2604,7 @@ void KyraEngine_v2::seq_init() {
|
||||
_res->loadFileList(_sequencePakList, _sequencePakListSize);
|
||||
|
||||
int numShp = -1;
|
||||
if (_flags.isDemo) {
|
||||
if (_flags.isDemo && !_flags.isTalkie) {
|
||||
int size;
|
||||
const uint8 *tmp = _staticres->loadRawData(k2SeqplayShapeDefs, size);
|
||||
_demoShapeDefs = new uint8[size];
|
||||
|
Loading…
x
Reference in New Issue
Block a user