mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
Fix A_SetAnimation
This commit is contained in:
parent
461c2f77b7
commit
c693e3b073
1 changed files with 3 additions and 3 deletions
|
@ -1310,7 +1310,7 @@ class Actor : Thinker native
|
||||||
native bool A_AttachLight(Name lightid, int type, Color lightcolor, int radius1, int radius2, int flags = 0, Vector3 ofs = (0,0,0), double param = 0, double spoti = 10, double spoto = 25, double spotp = 0);
|
native bool A_AttachLight(Name lightid, int type, Color lightcolor, int radius1, int radius2, int flags = 0, Vector3 ofs = (0,0,0), double param = 0, double spoti = 10, double spoto = 25, double spotp = 0);
|
||||||
native bool A_RemoveLight(Name lightid);
|
native bool A_RemoveLight(Name lightid);
|
||||||
|
|
||||||
native version("4.12") void SetAnimation(Name animName, double framerate = -1, int startFrame = -1, int loopFrame= -1, int endFrame = -1, int interpolateTics = -1, int flags = 0);
|
native version("4.12") void SetAnimation(Name animName, double framerate = -1, int startFrame = -1, int loopFrame = -1, int endFrame = -1, int interpolateTics = -1, int flags = 0);
|
||||||
native version("4.12") ui void SetAnimationUI(Name animName, double framerate = -1, int startFrame = -1, int loopFrame = -1, int endFrame = -1, int interpolateTics = -1, int flags = 0);
|
native version("4.12") ui void SetAnimationUI(Name animName, double framerate = -1, int startFrame = -1, int loopFrame = -1, int endFrame = -1, int interpolateTics = -1, int flags = 0);
|
||||||
|
|
||||||
native version("4.12") void SetAnimationFrameRate(double framerate);
|
native version("4.12") void SetAnimationFrameRate(double framerate);
|
||||||
|
@ -1321,9 +1321,9 @@ class Actor : Thinker native
|
||||||
native version("4.12") void ResetModelFlags();
|
native version("4.12") void ResetModelFlags();
|
||||||
|
|
||||||
|
|
||||||
action version("4.12") void A_SetAnimation(Name animName, double framerate = -1, int startFrame = -1, int loopFrame= -1, int interpolateTics = -1, int flags = 0)
|
action version("4.12") void A_SetAnimation(Name animName, double framerate = -1, int startFrame = -1, int loopFrame = -1, int endFrame = -1, int interpolateTics = -1, int flags = 0)
|
||||||
{
|
{
|
||||||
invoker.SetAnimation(animName, framerate, startFrame, loopFrame, interpolateTics, flags);
|
invoker.SetAnimation(animName, framerate, startFrame, loopFrame, endFrame, interpolateTics, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
action version("4.12") void A_SetAnimationFrameRate(double framerate)
|
action version("4.12") void A_SetAnimationFrameRate(double framerate)
|
||||||
|
|
Loading…
Reference in a new issue