- scriptified ArtiBlastRadius.
This commit is contained in:
parent
7385cd70c0
commit
4e802652c7
12 changed files with 273 additions and 175 deletions
|
|
@ -22,7 +22,6 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
// HEADER FILES ------------------------------------------------------------
|
||||
|
||||
#include <float.h>
|
||||
#include "templates.h"
|
||||
#include "i_system.h"
|
||||
|
|
@ -3342,6 +3341,16 @@ bool AActor::SpecialBlastHandling (AActor *source, double strength)
|
|||
return true;
|
||||
}
|
||||
|
||||
// This only gets called from the script side so we do not need a native wrapper like for the other virtual methods.
|
||||
DEFINE_ACTION_FUNCTION(AActor, SpecialBlastHandling)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_OBJECT(source, AActor);
|
||||
PARAM_FLOAT(strength);
|
||||
ACTION_RETURN_BOOL(self->SpecialBlastHandling(source, strength));
|
||||
}
|
||||
|
||||
|
||||
int AActor::SpecialMissileHit (AActor *victim)
|
||||
{
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue