- Added FDARI's get actor height and radius patch.
SVN r3955 (trunk)
This commit is contained in:
parent
6c64f19a7e
commit
2ce1debe8d
3 changed files with 11 additions and 0 deletions
|
|
@ -2766,6 +2766,8 @@ enum
|
|||
APROP_Mass = 32,
|
||||
APROP_Accuracy = 33,
|
||||
APROP_Stamina = 34,
|
||||
APROP_Height = 35,
|
||||
APROP_Radius = 36,
|
||||
};
|
||||
|
||||
// These are needed for ACS's APROP_RenderStyle
|
||||
|
|
@ -3045,6 +3047,8 @@ int DLevelScript::GetActorProperty (int tid, int property)
|
|||
case APROP_Mass: return actor->Mass;
|
||||
case APROP_Accuracy: return actor->accuracy;
|
||||
case APROP_Stamina: return actor->stamina;
|
||||
case APROP_Height: return actor->height;
|
||||
case APROP_Radius: return actor->radius;
|
||||
|
||||
default: return 0;
|
||||
}
|
||||
|
|
@ -3085,6 +3089,8 @@ int DLevelScript::CheckActorProperty (int tid, int property, int value)
|
|||
case APROP_Mass:
|
||||
case APROP_Accuracy:
|
||||
case APROP_Stamina:
|
||||
case APROP_Height:
|
||||
case APROP_Radius:
|
||||
return (GetActorProperty(tid, property) == value);
|
||||
|
||||
// Boolean values need to compare to a binary version of value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue