add BobWeapon3D
This commit is contained in:
parent
9a1e666303
commit
46d36cf5c7
11 changed files with 243 additions and 51 deletions
|
|
@ -79,6 +79,7 @@ xx(__decorate_internal_float__)
|
|||
// Per-actor sound channels (for deprecated PlaySoundEx function) Do not separate this block!!!
|
||||
xx(Auto)
|
||||
xx(Weapon)
|
||||
xx(BobPivot3D)
|
||||
xx(Voice)
|
||||
xx(Item)
|
||||
xx(Body)
|
||||
|
|
|
|||
|
|
@ -215,6 +215,11 @@ struct VMReturn
|
|||
Location = loc;
|
||||
RegType = REGT_FLOAT | REGT_MULTIREG2;
|
||||
}
|
||||
void Vec3At(DVector3 *loc)
|
||||
{
|
||||
Location = loc;
|
||||
RegType = REGT_FLOAT | REGT_MULTIREG3;
|
||||
}
|
||||
void StringAt(FString *loc)
|
||||
{
|
||||
Location = loc;
|
||||
|
|
@ -229,6 +234,7 @@ struct VMReturn
|
|||
VMReturn(int *loc) { IntAt(loc); }
|
||||
VMReturn(double *loc) { FloatAt(loc); }
|
||||
VMReturn(DVector2 *loc) { Vec2At(loc); }
|
||||
VMReturn(DVector3 *loc) { Vec3At(loc); }
|
||||
VMReturn(FString *loc) { StringAt(loc); }
|
||||
VMReturn(void **loc) { PointerAt(loc); }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue