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) | |
MotionObject, an effect object that moves and draws one sprite.
Definition in file motobj.h.
| 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 | ) |