mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
ba13e6b2c4
Co-authored-by: kenix3 <kenixwhisperwind@gmail.com> Co-authored-by: David Chavez <david@dcvz.io> Co-authored-by: KiritoDv <kiritodev01@gmail.com> Co-authored-by: Christopher Leggett <chris@leggett.dev>
31 lines
868 B
C
31 lines
868 B
C
#ifndef Z_EN_GOROIWA_H
|
|
#define Z_EN_GOROIWA_H
|
|
|
|
#include <libultraship/libultra.h>
|
|
#include "global.h"
|
|
|
|
struct EnGoroiwa;
|
|
|
|
typedef void (*EnGoroiwaActionFunc)(struct EnGoroiwa*, PlayState*);
|
|
|
|
typedef struct EnGoroiwa {
|
|
/* 0x0000 */ Actor actor;
|
|
/* 0x014C */ EnGoroiwaActionFunc actionFunc;
|
|
/* 0x0150 */ ColliderJntSph collider;
|
|
/* 0x0170 */ ColliderJntSphElement colliderItems[1];
|
|
/* 0x01B0 */ Vec3f prevUnitRollAxis;
|
|
/* 0x01BC */ f32 prevRollAngleDiff;
|
|
/* 0x01C0 */ f32 rollRotSpeed;
|
|
/* 0x01C4 */ s16 waitTimer;
|
|
/* 0x01C6 */ s16 bounceCount;
|
|
/* 0x01C8 */ s16 collisionDisabledTimer;
|
|
/* 0x01CA */ s16 endWaypoint;
|
|
/* 0x01CC */ s16 currentWaypoint;
|
|
/* 0x01CE */ s16 nextWaypoint;
|
|
/* 0x01D0 */ s16 pathDirection;
|
|
/* 0x01D2 */ u8 isInKokiri;
|
|
/* 0x01D3 */ u8 stateFlags;
|
|
} EnGoroiwa; // size = 0x01D4
|
|
|
|
#endif
|