A FieldActor seen with the halfword at 0x64 unsigned and the one at 0x66 signed, as the bytes read them (FieldActor's own types change the code). More...
Data Fields | |
| u8 | unk00 [6] |
| u16 | angle |
| heading or orbit angle, in 1/65536 turns | |
| s32 | x |
| 16.16 pixels | |
| s32 | y |
| 16.16 pixels | |
| s32 | z |
| 16.16 pixels | |
| u8 | unk14 [20] |
| s32 | velocityY |
| applied by the engine, in 16.16 pixels per frame | |
| u8 | unk2c [28] |
| s32 | gravity |
| vertical deceleration, in 16.16 pixels per frame squared | |
| u8 | unk4c [24] |
| u16 | timer |
| frames so far | |
| s16 | pause |
| frames left of a sharp turn | |
| struct WhirlwindOrbit * | anchor |
| orb at the centre of the orbit | |
| void(*) | update (union FieldObject *object) |
| engine's per-frame callback | |
A FieldActor seen with the halfword at 0x64 unsigned and the one at 0x66 signed, as the bytes read them (FieldActor's own types change the code).
Whirlwind particles (object 0xf9) use this view.
Definition at line 23 of file whirlwind.c.
| u8 WhirlwindOrbit::unk00[6] |
Definition at line 24 of file whirlwind.c.
| u16 WhirlwindOrbit::angle |
heading or orbit angle, in 1/65536 turns
Definition at line 25 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor(), and BattleFx_WanderAroundAnchor().
| s32 WhirlwindOrbit::x |
16.16 pixels
Definition at line 26 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor(), and BattleFx_WanderAroundAnchor().
| s32 WhirlwindOrbit::y |
16.16 pixels
Definition at line 27 of file whirlwind.c.
| s32 WhirlwindOrbit::z |
16.16 pixels
Definition at line 28 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor(), and BattleFx_WanderAroundAnchor().
| u8 WhirlwindOrbit::unk14[20] |
Definition at line 29 of file whirlwind.c.
| s32 WhirlwindOrbit::velocityY |
applied by the engine, in 16.16 pixels per frame
Definition at line 30 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor().
| u8 WhirlwindOrbit::unk2c[28] |
Definition at line 31 of file whirlwind.c.
| s32 WhirlwindOrbit::gravity |
vertical deceleration, in 16.16 pixels per frame squared
Definition at line 32 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor().
| u8 WhirlwindOrbit::unk4c[24] |
Definition at line 33 of file whirlwind.c.
| u16 WhirlwindOrbit::timer |
frames so far
Definition at line 34 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor(), and BattleFx_WanderAroundAnchor().
| s16 WhirlwindOrbit::pause |
frames left of a sharp turn
Definition at line 35 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor(), and BattleFx_WanderAroundAnchor().
| struct WhirlwindOrbit* WhirlwindOrbit::anchor |
orb at the centre of the orbit
Definition at line 36 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor().
| void(*) WhirlwindOrbit::update(union FieldObject *object) |
engine's per-frame callback
Definition at line 37 of file whirlwind.c.
Referenced by BattleFx_CircleAnchor().