View Angles (Part 1 - Redux) (#1002)
* Added ViewAngle/Pitch/Roll properties to actors. - These are offsets for camera angles that allow turning the camera without affecting aim or movement direction. - Added A_SetView<Angle/Pitch/Roll>, which will set the view direction. - Added ABSVIEWANGLES flag, used to make the view absolute instead of an offset. * Converted functions to be direct-native.
This commit is contained in:
parent
c57e669044
commit
eaba63e13b
10 changed files with 203 additions and 35 deletions
|
|
@ -1943,6 +1943,9 @@ DEFINE_FIELD(AActor, RenderRequired)
|
|||
DEFINE_FIELD(AActor, friendlyseeblocks)
|
||||
DEFINE_FIELD(AActor, SpawnTime)
|
||||
DEFINE_FIELD(AActor, InventoryID)
|
||||
DEFINE_FIELD_NAMED(AActor, ViewAngles.Yaw, viewangle)
|
||||
DEFINE_FIELD_NAMED(AActor, ViewAngles.Pitch, viewpitch)
|
||||
DEFINE_FIELD_NAMED(AActor, ViewAngles.Roll, viewroll)
|
||||
|
||||
DEFINE_FIELD_X(FCheckPosition, FCheckPosition, thing);
|
||||
DEFINE_FIELD_X(FCheckPosition, FCheckPosition, pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue