mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
Additions for funshop titles.
svn-id: r17942
This commit is contained in:
parent
873c10c16b
commit
c4d2ac0eb7
@ -2348,6 +2348,7 @@ void ScummEngine_v100he::o100_getSpriteGroupInfo() {
|
||||
}
|
||||
|
||||
void ScummEngine_v100he::o100_getWizData() {
|
||||
byte filename[4096];
|
||||
int state, resId;
|
||||
int32 w, h;
|
||||
int16 x, y;
|
||||
@ -2407,6 +2408,7 @@ void ScummEngine_v100he::o100_getWizData() {
|
||||
break;
|
||||
case 111:
|
||||
pop();
|
||||
copyScriptString(filename, sizeof(filename));
|
||||
pop();
|
||||
push(0);
|
||||
warning("o100_getWizData() case 111 unhandled");
|
||||
|
@ -1742,7 +1742,7 @@ void ScummEngine_v72he::o72_openFile() {
|
||||
debug(0,"Final filename to %s", filename + r);
|
||||
|
||||
slot = -1;
|
||||
for (i = 0; i < 17; i++) {
|
||||
for (i = 1; i < 17; i++) {
|
||||
if (_hFileTable[i].isOpen() == false) {
|
||||
slot = i;
|
||||
break;
|
||||
|
@ -733,11 +733,36 @@ void ScummEngine_v90he::o90_wizImageOps() {
|
||||
_wizParams.processFlags |= kWPFDstResNum;
|
||||
_wizParams.dstResNum = pop();
|
||||
break;
|
||||
case 93: // HE99+
|
||||
_wizParams.processFlags |= 0x100000;
|
||||
_wizParams.field_180 = pop();
|
||||
_wizParams.field_184 = pop();
|
||||
break;
|
||||
case 95: // HE99+
|
||||
_wizParams.processMode = 13;
|
||||
break;
|
||||
case 96: // HE99+
|
||||
_wizParams.field_239D = pop();
|
||||
_wizParams.field_2399 = pop();
|
||||
_wizParams.field_23A5 = pop();
|
||||
_wizParams.field_23A1 = pop();
|
||||
copyScriptString(_wizParams.string2, sizeof(_wizParams.string2));
|
||||
_wizParams.processMode = 15;
|
||||
break;
|
||||
case 97: // HE99+
|
||||
_wizParams.processMode = 16;
|
||||
_wizParams.field_23AD = pop();
|
||||
_wizParams.field_23A9 = pop();
|
||||
copyScriptString(_wizParams.string1, sizeof(_wizParams.string1));
|
||||
break;
|
||||
case 108:
|
||||
_wizParams.processFlags |= kWPFSetPos;
|
||||
_wizParams.img.y1 = pop();
|
||||
_wizParams.img.x1 = pop();
|
||||
break;
|
||||
case 150: // HE99+
|
||||
_wizParams.processMode = 14;
|
||||
break;
|
||||
case 171: // HE99+
|
||||
_wizParams.processMode = 8;
|
||||
break;
|
||||
@ -1625,6 +1650,7 @@ void ScummEngine_v90he::o90_setSpriteGroupInfo() {
|
||||
}
|
||||
|
||||
void ScummEngine_v90he::o90_getWizData() {
|
||||
byte filename[4096];
|
||||
int state, resId;
|
||||
int32 w, h;
|
||||
int16 x, y;
|
||||
@ -1694,6 +1720,13 @@ void ScummEngine_v90he::o90_getWizData() {
|
||||
pop();
|
||||
push(0);
|
||||
break;
|
||||
case 111:
|
||||
pop();
|
||||
copyScriptString(filename, sizeof(filename));
|
||||
pop();
|
||||
push(0);
|
||||
warning("o90_getWizData() case 111 unhandled");
|
||||
break;
|
||||
default:
|
||||
error("o90_getWizData: Unknown case %d", subOp);
|
||||
}
|
||||
|
@ -1818,6 +1818,18 @@ void ScummEngine_v90he::processWizImage(const WizParameters *params) {
|
||||
case 10:
|
||||
fillWizParallelogram(params);
|
||||
break;
|
||||
case 13:
|
||||
// Used in SamsFunShop
|
||||
// Start font
|
||||
break;
|
||||
case 14:
|
||||
// Used in SamsFunShop
|
||||
// End font
|
||||
break;
|
||||
case 15:
|
||||
// Used in SamsFunShop
|
||||
// Create font
|
||||
break;
|
||||
default:
|
||||
error("Unhandled processWizImage mode %d", params->processMode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user