- scriptified the RandomSpawner.
- fixed: String constants were not processed by the compiler backend. - added an explicit name cast for class types.
This commit is contained in:
parent
4d68f066a0
commit
40e7fa5be2
12 changed files with 331 additions and 276 deletions
14
src/info.cpp
14
src/info.cpp
|
|
@ -552,6 +552,13 @@ PClassActor *PClassActor::GetReplacement(bool lookskill)
|
|||
return rep;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, GetReplacement)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_POINTER(c, PClassActor);
|
||||
ACTION_RETURN_POINTER(c->GetReplacement());
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// PClassActor :: GetReplacee
|
||||
|
|
@ -595,6 +602,13 @@ PClassActor *PClassActor::GetReplacee(bool lookskill)
|
|||
return rep;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, GetReplacee)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_POINTER(c, PClassActor);
|
||||
ACTION_RETURN_POINTER(c->GetReplacee());
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// PClassActor :: SetDamageFactor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue