Alchemy
Loading...
Searching...
No Matches

object_runtime.h File Reference

ObjectRuntime, a field object's runtime state, and the object snapshots. More...

Go to the source code of this file.

Data Structures

struct  ObjectRuntime
 One of the 64 field objects in the object pool (heap slot 5): its script, position, motion toward a target, animation and update callback. More...
struct  ObjectTableSnapshot
 Actors kept across a battle or a saved scene, with parallel sprite state. More...

Enumerations

enum  { OBJECT_SNAPSHOT_CAPACITY = 32 , OBJECT_SNAPSHOT_EMPTY = 255 }

Functions

 STATIC_ASSERT (sizeof(struct ObjectRuntime)==0x70)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, priorityFlags)==0x23)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, arrivalAxis)==0x56)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, conditionResult)==0x57)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, snapToTarget)==0x58)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, collisionFlags)==0x59)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, wait)==0x5e)
 STATIC_ASSERT (offsetof(struct ObjectRuntime, footprintSide)==0x66)
 STATIC_ASSERT (offsetof(struct ObjectTableSnapshot, actors)==0x20)
 STATIC_ASSERT (offsetof(struct ObjectTableSnapshot, animations)==0xe20)
 STATIC_ASSERT (offsetof(struct ObjectTableSnapshot, spriteFlags)==0xe40)
 STATIC_ASSERT (offsetof(struct ObjectTableSnapshot, priorities)==0xe60)
 STATIC_ASSERT (sizeof(struct ObjectTableSnapshot)==0xe80)

Variables

struct ObjectTableSnapshot gObjectSnapshots

Detailed Description

ObjectRuntime, a field object's runtime state, and the object snapshots.

Definition in file object_runtime.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OBJECT_SNAPSHOT_CAPACITY 
OBJECT_SNAPSHOT_EMPTY 

Definition at line 84 of file object_runtime.h.

Function Documentation

◆ STATIC_ASSERT() [1/13]

STATIC_ASSERT ( sizeof(struct ObjectRuntime) = =0x70)

◆ STATIC_ASSERT() [2/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, priorityFlags) = =0x23)

◆ STATIC_ASSERT() [3/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, arrivalAxis) = =0x56)

◆ STATIC_ASSERT() [4/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, conditionResult) = =0x57)

◆ STATIC_ASSERT() [5/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, snapToTarget) = =0x58)

◆ STATIC_ASSERT() [6/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, collisionFlags) = =0x59)

◆ STATIC_ASSERT() [7/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, wait) = =0x5e)

◆ STATIC_ASSERT() [8/13]

STATIC_ASSERT ( offsetof(struct ObjectRuntime, footprintSide) = =0x66)

◆ STATIC_ASSERT() [9/13]

STATIC_ASSERT ( offsetof(struct ObjectTableSnapshot, actors) = =0x20)

◆ STATIC_ASSERT() [10/13]

STATIC_ASSERT ( offsetof(struct ObjectTableSnapshot, animations) = =0xe20)

◆ STATIC_ASSERT() [11/13]

STATIC_ASSERT ( offsetof(struct ObjectTableSnapshot, spriteFlags) = =0xe40)

◆ STATIC_ASSERT() [12/13]

STATIC_ASSERT ( offsetof(struct ObjectTableSnapshot, priorities) = =0xe60)

◆ STATIC_ASSERT() [13/13]

STATIC_ASSERT ( sizeof(struct ObjectTableSnapshot) = =0xe80)

Variable Documentation

◆ gObjectSnapshots

struct ObjectTableSnapshot gObjectSnapshots
extern