diff options
author | Travis Howell | 2004-09-05 09:36:51 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-05 09:36:51 +0000 |
commit | 6b09826b33a44f0b8c0f802fdcfef437695f86af (patch) | |
tree | b333a424e9e7a837ab1a7765b715dfe996dfa2d0 /scumm/script_v6he.cpp | |
parent | 010a781adaa311643dde1674a41f3728b87f0a29 (diff) | |
download | scummvm-rg350-6b09826b33a44f0b8c0f802fdcfef437695f86af.tar.gz scummvm-rg350-6b09826b33a44f0b8c0f802fdcfef437695f86af.tar.bz2 scummvm-rg350-6b09826b33a44f0b8c0f802fdcfef437695f86af.zip |
Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.
svn-id: r14903
Diffstat (limited to 'scumm/script_v6he.cpp')
-rw-r--r-- | scumm/script_v6he.cpp | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 6fa0003bc3..1b53af05c1 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -552,7 +552,6 @@ void ScummEngine_v6he::o6_actorOps() { int i, j, k; int args[8]; byte b; - byte name[256]; b = fetchScriptByte(); if (b == 197) { @@ -565,25 +564,12 @@ void ScummEngine_v6he::o6_actorOps() { return; switch (b) { - case 21: - // HE 7.3 (Pajama Sam onwards) - k = getStackList(args, ARRAYSIZE(args)); - break; case 30: // _heversion >= 70 _actorClipOverride.bottom = pop(); _actorClipOverride.right = pop(); _actorClipOverride.top = pop(); _actorClipOverride.left = pop(); - warning("o6_actorOps: stub case %d", b); - break; - case 64: - // _heversion >= 72 - _actorClipOverride.bottom = pop(); - _actorClipOverride.right = pop(); - _actorClipOverride.top = pop(); - _actorClipOverride.left = pop(); - warning("o6_actorOps: stub case %d", b); break; case 76: // SO_COSTUME a->setActorCostume(pop()); @@ -637,8 +623,7 @@ void ScummEngine_v6he::o6_actorOps() { a->talkColor = pop(); break; case 88: // SO_ACTOR_NAME - copyScriptString(name); - loadPtrToResource(rtActorName, a->number, name); + loadPtrToResource(rtActorName, a->number, NULL); break; case 89: // SO_INIT_ANIMATION a->initFrame = pop(); @@ -1252,7 +1237,6 @@ void ScummEngine_v6he::decodeParseString(int m, int n) { byte b; int i, color; int args[31]; - byte name[1024]; b = fetchScriptByte(); @@ -1304,23 +1288,6 @@ void ScummEngine_v6he::decodeParseString(int m, int n) { _scriptPointer += resStrLen(_scriptPointer) + 1; break; - case 194: // HE 7.2 - decodeScriptString(name, true); - switch (m) { - case 0: - actorTalk(name); - break; - case 1: - drawString(1, name); - break; - case 2: - unkMessage1(name); - break; - case 3: - unkMessage2(name); - break; - } - break; case 0xF9: color = pop(); if (color == 1) { |