Skip to Content
The Alchemy Project

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

NameDescription
const Sint32 *script
Uint16scriptCursor
Uint16facing
Sint32x
Sint32y
Sint32z
Sint32groundHeight
Sint32scaleX
Sint32scaleY
Uint16radiushalf the first part's box height
Uint8layer
Uint8priorityFlags
Sint32velocityX
Sint32velocityY
Sint32velocityZ
Sint32speedLimit
Sint32acceleration
Sint32targetX
Sint32targetY
Sint32targetZ
Sint32bounce
Sint32gravity
Sint32sceneWord
void *spriteone sprite, or a list of a two-part enemy's
Uint8spriteStorageKindtwo
Uint8motionFlags
Uint8arrivalAxis
Uint8conditionResult
Uint8snapToTarget
Uint8collisionFlags
Uint8steeringFlags
Uint8paused
Uint8retainSpriteCache
Uint8repeatCount
Uint16wait
Uint8refused
Uint8frozen
Uint8sceneCount
Uint8sceneByte
Sint16timer
Uint16userValue
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)