- generate register type info for the parameter lists of all functions.

Currently used for loading parameters into registers.
For checking parameters of native functions some more work is needed to get the info to the function. Currently it doesn't receive the function descriptor.
This commit is contained in:
Christoph Oelckers 2018-11-18 17:10:55 +01:00
commit a981737855
11 changed files with 84 additions and 46 deletions

View file

@ -4689,14 +4689,6 @@ void AActor::Tick ()
}
}
DEFINE_ACTION_FUNCTION(AActor, Tick)
{
PARAM_SELF_PROLOGUE(AActor);
self->Tick();
return 0;
}
//==========================================================================
//
// AActor :: CheckNoDelay
@ -8282,13 +8274,6 @@ DEFINE_ACTION_FUNCTION(AActor, SetDamage)
return 0;
}
DEFINE_ACTION_FUNCTION(AActor, GetDefaultByType)
{
PARAM_PROLOGUE;
PARAM_CLASS(cls, AActor);
ACTION_RETURN_OBJECT(cls == nullptr? nullptr : GetDefaultByType(cls));
}
// This combines all 3 variations of the internal function
DEFINE_ACTION_FUNCTION(AActor, VelFromAngle)
{