More code/stubs for HE 7.2 games
Add another temp hack Add id for water, uses more actors Another small correction to music playback for HE 7.2 games svn-id: r14764
This commit is contained in:
parent
0e71cd9b58
commit
b1d8b144ba
10 changed files with 83 additions and 35 deletions
|
@ -549,6 +549,7 @@ void ScummEngine_v6he::o6_actorOps() {
|
|||
int i, j, k;
|
||||
int args[8];
|
||||
byte b;
|
||||
byte name[256];
|
||||
|
||||
b = fetchScriptByte();
|
||||
if (b == 197) {
|
||||
|
@ -620,7 +621,8 @@ void ScummEngine_v6he::o6_actorOps() {
|
|||
a->talkColor = pop();
|
||||
break;
|
||||
case 88: // SO_ACTOR_NAME
|
||||
loadPtrToResource(rtActorName, a->number, NULL);
|
||||
copyScriptString(name);
|
||||
loadPtrToResource(rtActorName, a->number, name);
|
||||
break;
|
||||
case 89: // SO_INIT_ANIMATION
|
||||
a->initFrame = pop();
|
||||
|
@ -999,7 +1001,8 @@ void ScummEngine_v6he::o6_openFile() {
|
|||
void ScummEngine_v6he::o6_closeFile() {
|
||||
int slot = pop();
|
||||
if (slot != -1)
|
||||
_hFileTable[slot].close();
|
||||
if (_hFileTable[slot].isOpen() == true)
|
||||
_hFileTable[slot].close();
|
||||
}
|
||||
|
||||
void ScummEngine_v6he::o6_deleteFile() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue