struct VIEW_MOVE_STATE
A view move's state: where the view and the map's view bounds stood when the move began, which edges it lies beside, and the actors it carries.
Declared in view_move.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | x | The view centre's position when the move began. |
Sint32 | y | |
Sint32 | z | |
Sint32 | savedMinX | The map's view bounds when the move began. |
Sint32 | savedMaxX | |
Sint32 | savedMinZ | |
Sint32 | savedMaxZ | |
Sint16 | edgeX | -1 beside the low edge, 1 beside the |
Sint16 | edgeZ | high edge, else 0. |
struct ACTOR * | actors [8] | The actors near the caster it rocks. |
Uint16 | spriteRotations [8] | Each one's sprite rotation, given back |
Sint32 | count | after. |
Description
A view move's state: where the view and the map's view bounds stood when the move began, which edges it lies beside, and the actors it carries.
struct VIEW_MOVE_STATE
Referenced by fdPsynergyTremor(), fdViewMoveEnd(), fdViewMoveRestoreNearbySprites(), fdViewMoveSaveNearbySprites(), fdViewMoveStart() and fdViewMoveSwing().
Definition at line 23 of file view_move.h.
Fields in detail
x
Sint32 x
The view centre's position when the move began.
y
Sint32 y
z
Sint32 z
savedMinX
Sint32 savedMinX
The map's view bounds when the move began.
savedMaxX
Sint32 savedMaxX
savedMinZ
Sint32 savedMinZ
savedMaxZ
Sint32 savedMaxZ
edgeX
Sint16 edgeX
-1 beside the low edge, 1 beside the
edgeZ
Sint16 edgeZ
high edge, else 0.
actors
struct ACTOR *actors[8]
The actors near the caster it rocks.
spriteRotations
Uint16 spriteRotations[8]
Each one's sprite rotation, given back
count
Sint32 count
after.