Skip to Content
The Alchemy Project

struct PUSH_TARGET

A push, as scPushTargetFindStop works it out: where the pushed actor comes to rest, how big it is and which actor it is.

Declared in pushed_actor.h.

Fields

NameDescription
FIXEDxWhere it stops, in 16.16 fixed-point pixels: as far as it slides before it would run into something, its height as it stood.
FIXEDy
FIXEDz
Sint32rectangleIts footprint, a row of PushRectangles.
Sint32idThe pushed actor.
void *callbackRun as the leader follows it; scPushTargetFindStop leaves none.

Description

A push, as scPushTargetFindStop works it out: where the pushed actor comes to rest, how big it is and which actor it is.

struct PUSH_TARGET

Referenced by scEasternAlhafraRollLog(), scIsletsPushLogIntoWater(), scJupiterLighthousePushColumn(), scJupiterLighthousePushColumnOffTheLedge(), scMarsLighthouseTowersPushPipe(), scMarsLighthouseTowersPushPipeOrJump(), scPushTargetFindStop() and scPushTargetPush().

Definition at line 26 of file pushed_actor.h.

Fields in detail

x

FIXED x

Where it stops, in 16.16 fixed-point pixels: as far as it slides before it would run into something, its height as it stood.

y

FIXED y

z

FIXED z

rectangle

Sint32 rectangle

Its footprint, a row of PushRectangles.

id

Sint32 id

The pushed actor.

callback

void *callback

Run as the leader follows it; scPushTargetFindStop leaves none.