- added a larger batch of function exports.
- cleaned up the virtual function interface of APlayerPawn which still had many virtual declarations from old times when class properties were handled through virtual overrides. None of this makes sense these days anymore.
This commit is contained in:
parent
4372a14479
commit
bbf62132d8
12 changed files with 499 additions and 42 deletions
|
|
@ -1636,6 +1636,20 @@ void P_PoisonMobj (AActor *target, AActor *inflictor, AActor *source, int damage
|
|||
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, PoisonMobj)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_OBJECT(inflictor, AActor);
|
||||
PARAM_OBJECT(source, AActor);
|
||||
PARAM_INT(damage);
|
||||
PARAM_INT(duration);
|
||||
PARAM_INT(period);
|
||||
PARAM_NAME(mod);
|
||||
P_PoisonMobj(self, inflictor, source, damage, duration, period, mod);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
bool AActor::OkayToSwitchTarget (AActor *other)
|
||||
{
|
||||
if (other == this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue