svn-id: r35477
This commit is contained in:
Travis Howell 2008-12-22 00:32:01 +00:00
parent e07d509100
commit 5ef6d928b9
2 changed files with 4 additions and 24 deletions

View File

@ -725,18 +725,8 @@ void AGOSEngine::loadVGAVideoFile(uint16 id, uint8 type) {
} else if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {
if (getPlatform() == Common::kPlatformAtariST)
sprintf(filename, "%.2d%d.out", id, type);
else if (id == 20)
sprintf(filename, "D%d.out", type);
else if (id == 26)
sprintf(filename, "J%d.out", type);
else if (id == 27)
sprintf(filename, "K%d.out", type);
else if (id == 33)
sprintf(filename, "Q%d.out", type);
else if (id == 34)
sprintf(filename, "R%d.out", type);
else
sprintf(filename, "%.1d%d.out", id, type);
sprintf(filename, "%c%d.out", 48 + id, type);
} else if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2) {
sprintf(filename, "%.2d%d.pkd", id, type);
} else {

View File

@ -359,19 +359,9 @@ bool AGOSEngine::loadVGASoundFile(uint16 id, uint8 type) {
uint32 srcSize, dstSize;
if (getPlatform() == Common::kPlatformAmiga || getPlatform() == Common::kPlatformAtariST) {
if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {
if (id == 20)
sprintf(filename, "D%d.out", type);
else if (id == 26)
sprintf(filename, "J%d.out", type);
else if (id == 27)
sprintf(filename, "K%d.out", type);
else if (id == 33)
sprintf(filename, "Q%d.out", type);
else if (id == 34)
sprintf(filename, "R%d.out", type);
else
sprintf(filename, "%.1d%d.out", id, type);
if (getGameType() == GType_ELVIRA1 && (getFeatures() & GF_DEMO) &&
getPlatform() == Common::kPlatformAmiga) {
sprintf(filename, "%c%d.out", 48 + id, type);
} else if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2) {
sprintf(filename, "%.2d%d.out", id, type);
} else {