struct BATTLE_ACTOR
ACTOR, field for field, as btObjectSpawnObjectsForList sees a battle unit's actor while it gives it its sprites: the sprite word untyped (void *), and the cursor, wait and userValue unsigned.
ACTOR, field for field, as btObjectSpawnObjectsForList sees a battle unit's actor while it gives it its sprites: the sprite word untyped (void *), and the cursor, wait and userValue unsigned. More…
Declared in battle_actor.h.
Fields
| Name | Description | |
|---|---|---|
const Sint32 * | script | |
Uint16 | scriptCursor | |
Uint16 | facing | |
Sint32 | x | |
Sint32 | y | |
Sint32 | z | |
Sint32 | groundHeight | |
Sint32 | scaleX | |
Sint32 | scaleY | |
Uint16 | radius | half the first part's box height |
Uint8 | layer | |
Uint8 | priorityFlags | |
Sint32 | velocityX | |
Sint32 | velocityY | |
Sint32 | velocityZ | |
Sint32 | speedLimit | |
Sint32 | acceleration | |
Sint32 | targetX | |
Sint32 | targetY | |
Sint32 | targetZ | |
Sint32 | bounce | |
Sint32 | gravity | |
Sint32 | sceneWord | |
void * | sprite | one sprite, or a list of a two-part enemy's |
Uint8 | spriteStorageKind | two |
Uint8 | motionFlags | |
Uint8 | arrivalAxis | |
Uint8 | conditionResult | |
Uint8 | snapToTarget | |
Uint8 | collisionFlags | |
Uint8 | steeringFlags | |
Uint8 | paused | |
Uint8 | retainSpriteCache | |
Uint8 | repeatCount | |
Uint16 | wait | |
Uint8 | refused | |
Uint8 | frozen | |
Uint8 | sceneCount | |
Uint8 | sceneByte | |
Sint16 | timer | |
Uint16 | userValue | |
struct BATTLE_ACTOR * | watchedActor | |
void (* | update )(struct ACTOR *actor) |
Description
ACTOR, field for field, as btObjectSpawnObjectsForList sees a battle unit's
actor while it gives it its sprites: the sprite word untyped (void *), and
the cursor, wait and userValue unsigned. The plain form reads the actor
through ACTOR.
struct BATTLE_ACTOR
Referenced by btObjectSpawnObjectsForList().
Definition at line 18 of file battle_actor.h.
Fields in detail
script
const Sint32 *script
scriptCursor
Uint16 scriptCursor
facing
Uint16 facing
x
Sint32 x
y
Sint32 y
z
Sint32 z
groundHeight
Sint32 groundHeight
scaleX
Sint32 scaleX
scaleY
Sint32 scaleY
radius
Uint16 radius
half the first part's box height
layer
Uint8 layer
priorityFlags
Uint8 priorityFlags
velocityX
Sint32 velocityX
velocityY
Sint32 velocityY
velocityZ
Sint32 velocityZ
speedLimit
Sint32 speedLimit
acceleration
Sint32 acceleration
targetX
Sint32 targetX
targetY
Sint32 targetY
targetZ
Sint32 targetZ
bounce
Sint32 bounce
gravity
Sint32 gravity
sceneWord
Sint32 sceneWord
sprite
void *sprite
one sprite, or a list of a two-part enemy's
spriteStorageKind
Uint8 spriteStorageKind
two
motionFlags
Uint8 motionFlags
arrivalAxis
Uint8 arrivalAxis
conditionResult
Uint8 conditionResult
snapToTarget
Uint8 snapToTarget
collisionFlags
Uint8 collisionFlags
steeringFlags
Uint8 steeringFlags
paused
Uint8 paused
retainSpriteCache
Uint8 retainSpriteCache
repeatCount
Uint8 repeatCount
wait
Uint16 wait
refused
Uint8 refused
frozen
Uint8 frozen
sceneCount
Uint8 sceneCount
sceneByte
Uint8 sceneByte
timer
Sint16 timer
userValue
Uint16 userValue
watchedActor
struct BATTLE_ACTOR *watchedActor
update
void (*update)(struct ACTOR *actor)