Skip to Content
The Alchemy Project

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

NameDescription
Sint32xThe view centre's position when the move began.
Sint32y
Sint32z
Sint32savedMinXThe map's view bounds when the move began.
Sint32savedMaxX
Sint32savedMinZ
Sint32savedMaxZ
Sint16edgeX-1 beside the low edge, 1 beside the
Sint16edgeZhigh edge, else 0.
struct ACTOR *actors [8]The actors near the caster it rocks.
Uint16spriteRotations [8]Each one's sprite rotation, given back
Sint32countafter.

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.