mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Added A_SetTics.
SVN r3851 (trunk)
This commit is contained in:
parent
3bfe7b74f4
commit
a94cf9d548
2 changed files with 15 additions and 4 deletions
|
@ -4449,3 +4449,17 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RadiusGive)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// A_SetTics
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SetTics)
|
||||
{
|
||||
ACTION_PARAM_START(1);
|
||||
ACTION_PARAM_INT(tics_to_set, 0);
|
||||
|
||||
self->tics = tics_to_set;
|
||||
}
|
|
@ -290,6 +290,7 @@ ACTOR Actor native //: Thinker
|
|||
action native A_SetUserArray(name varname, int index, int value);
|
||||
action native A_SetSpecial(int spec, int arg0 = 0, int arg1 = 0, int arg2 = 0, int arg3 = 0, int arg4 = 0);
|
||||
action native A_Quake(int intensity, int duration, int damrad, int tremrad, sound sfx = "world/quake");
|
||||
action native A_SetTics(int tics);
|
||||
|
||||
action native A_CheckSightOrRange(float distance, state label);
|
||||
|
||||
|
@ -323,7 +324,3 @@ ACTOR Actor native //: Thinker
|
|||
Stop
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue