mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 15:40:57 +00:00
STARK: Stub opPlayAnimation
This commit is contained in:
parent
4291c0605e
commit
c5d30e58cf
@ -67,6 +67,8 @@ Command *Command::execute(uint32 callMode, Script *script) {
|
||||
return opItem3DPlaceOn(_arguments[1].referenceValue, _arguments[2].referenceValue);
|
||||
case kItemEnable:
|
||||
return opItemEnable(_arguments[1].referenceValue, _arguments[2].intValue);
|
||||
case kPlayAnimation:
|
||||
return opPlayAnimation(_arguments[1].referenceValue, _arguments[2].intValue);
|
||||
case kScriptEnable:
|
||||
return opScriptEnable(_arguments[1].referenceValue, _arguments[2].intValue);
|
||||
case kSetBoolean:
|
||||
@ -196,6 +198,14 @@ Command *Command::opItemEnable(const ResourceReference &itemRef, int32 enable) {
|
||||
return nextCommand();
|
||||
}
|
||||
|
||||
Command *Command::opPlayAnimation(const ResourceReference &animRef, int32 unknown) {
|
||||
assert(_arguments.size() == 3);
|
||||
Object *anim = animRef.resolve<Object>();
|
||||
warning("(TODO: Implement) opPlayAnimation(%s, %d) : %s", anim->getName().c_str(), unknown, animRef.describe().c_str());
|
||||
|
||||
return nextCommand();
|
||||
}
|
||||
|
||||
Command *Command::opScriptEnable(const ResourceReference &scriptRef, int32 enable) {
|
||||
assert(_arguments.size() == 3);
|
||||
Script *script = scriptRef.resolve<Script>();
|
||||
|
@ -69,6 +69,7 @@ public:
|
||||
|
||||
kItemEnable = 87,
|
||||
|
||||
kPlayAnimation = 93,
|
||||
kScriptEnable = 94,
|
||||
|
||||
kSetBoolean = 96,
|
||||
@ -137,6 +138,7 @@ protected:
|
||||
Command *opPauseRandom(Script *script, const ResourceReference &itemRef);
|
||||
Command *opItem3DPlaceOn(const ResourceReference &itemRef, const ResourceReference &targetRef);
|
||||
Command *opItemEnable(const ResourceReference &itemRef, int32 enable);
|
||||
Command *opPlayAnimation(const ResourceReference &animRef, int32 unknown);
|
||||
Command *opScriptEnable(const ResourceReference &scriptRef, int32 enable);
|
||||
Command *opSetBoolean(const ResourceReference &knowledgeRef, int32 value);
|
||||
Command *opEnableFloorField(const ResourceReference &floorFieldRef, int32 value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user