diff options
author | Paweł Kołodziejski | 2003-02-22 10:39:50 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-02-22 10:39:50 +0000 |
commit | 373e8455546d730fb628122ad9ba4b7fab2052b1 (patch) | |
tree | a769ca54ab0ee9751bd2f9956c56432b94288a10 /scumm/akos.cpp | |
parent | d540c146dcade54f7bf530f0f304a98dc7686526 (diff) | |
download | scummvm-rg350-373e8455546d730fb628122ad9ba4b7fab2052b1.tar.gz scummvm-rg350-373e8455546d730fb628122ad9ba4b7fab2052b1.tar.bz2 scummvm-rg350-373e8455546d730fb628122ad9ba4b7fab2052b1.zip |
improved a little akos_queCommand func
svn-id: r6631
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 69ba36919c..26adc184d2 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -24,7 +24,7 @@ #include "actor.h" #include "akos.h" #include "imuse.h" - +#include "sound.h" #if !defined(__GNUC__) #pragma START_PACK_STRUCTS @@ -1606,19 +1606,26 @@ void Scumm::akos_queCommand(byte cmd, Actor *a, int param_1, int param_2) case 1: a->putActor(0, 0, 0); break; + case 2: + warning("unimplemented akos_queCommand(2,%d,%d,%d)", a->number, param_1, param_2); + // start script token in actor + break; case 3: if (param_1 != 0) { - if (_imuseDigital) { - _imuseDigital->startSound(param_1); -// _imuseDigital->doCommand(12, 0x400, param_1, 0, 0, 0, 0, 0); - } + _sound->addSoundToQueue(param_1); } break; - case 2: case 4: + a->startAnimActor(param_1); + // param_2 ? + break; case 5: + a->forceClip = param_1; + break; case 6: - warning("unimplemented akos_queCommand(%d,%d,%d,%d)", cmd, a->number, param_1, param_2); + warning("unimplemented akos_queCommand(6,%d,%d,%d)", a->number, param_1, param_2); +// a->offs_x = param_1; +// a->offs_y = param_2; break; case 7: if (param_1 != 0) { |