Alchemy
Loading...
Searching...
No Matches

motobj.h File Reference

MotionObject, an effect object that moves and draws one sprite. More...

Go to the source code of this file.

Data Structures

struct  MotionObject
 An effect object that moves and draws one sprite: its position, scale, velocity and target, and its per-frame update. More...
struct  SpriteEntry
 A sprite of an animation record, as battle objects set its palette and drawing priority. More...

Functions

 STATIC_ASSERT (sizeof(struct MotionObject)==0x70)
 STATIC_ASSERT (offsetof(struct MotionObject, scaleX)==0x18)
 STATIC_ASSERT (offsetof(struct MotionObject, x)==0x08)
 STATIC_ASSERT (offsetof(struct MotionObject, velocityX)==0x24)
 STATIC_ASSERT (offsetof(struct MotionObject, targetX)==0x38)
 STATIC_ASSERT (offsetof(struct MotionObject, motionFlags)==0x55)
 STATIC_ASSERT (offsetof(struct MotionObject, records)==0x50)
 STATIC_ASSERT (offsetof(struct MotionObject, recordStorageKind)==0x54)
 STATIC_ASSERT (offsetof(struct MotionObject, update)==0x6c)
 STATIC_ASSERT (sizeof(struct SpriteEntry)==0x08)
 STATIC_ASSERT (offsetof(struct SpriteEntry, palette)==0x05)
 STATIC_ASSERT (offsetof(struct SpriteEntry, priority)==0x06)

Detailed Description

MotionObject, an effect object that moves and draws one sprite.

Definition in file motobj.h.

Function Documentation

◆ STATIC_ASSERT() [1/12]

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

◆ STATIC_ASSERT() [2/12]

STATIC_ASSERT ( offsetof(struct MotionObject, scaleX) = =0x18)

◆ STATIC_ASSERT() [3/12]

STATIC_ASSERT ( offsetof(struct MotionObject, x) = =0x08)

◆ STATIC_ASSERT() [4/12]

STATIC_ASSERT ( offsetof(struct MotionObject, velocityX) = =0x24)

◆ STATIC_ASSERT() [5/12]

STATIC_ASSERT ( offsetof(struct MotionObject, targetX) = =0x38)

◆ STATIC_ASSERT() [6/12]

STATIC_ASSERT ( offsetof(struct MotionObject, motionFlags) = =0x55)

◆ STATIC_ASSERT() [7/12]

STATIC_ASSERT ( offsetof(struct MotionObject, records) = =0x50)

◆ STATIC_ASSERT() [8/12]

STATIC_ASSERT ( offsetof(struct MotionObject, recordStorageKind) = =0x54)

◆ STATIC_ASSERT() [9/12]

STATIC_ASSERT ( offsetof(struct MotionObject, update) = =0x6c)

◆ STATIC_ASSERT() [10/12]

STATIC_ASSERT ( sizeof(struct SpriteEntry) = =0x08)

◆ STATIC_ASSERT() [11/12]

STATIC_ASSERT ( offsetof(struct SpriteEntry, palette) = =0x05)

◆ STATIC_ASSERT() [12/12]

STATIC_ASSERT ( offsetof(struct SpriteEntry, priority) = =0x06)