mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
39cc86c260
subrepo: subdir: "soh" merged: "ba904bbd0" upstream: origin: "https://github.com/HarbourMasters/soh.git" branch: "master" commit: "ba904bbd0" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
37 lines
912 B
C
37 lines
912 B
C
#ifndef Z_EN_NWC_H
|
|
#define Z_EN_NWC_H
|
|
|
|
#include "ultra64.h"
|
|
#include "global.h"
|
|
|
|
struct EnNwc;
|
|
struct EnNwcChick;
|
|
|
|
typedef void (*EnNwcUpdateFunc)(struct EnNwc*, GlobalContext*);
|
|
typedef void (*EnNwcChickFunc)(struct EnNwcChick*, struct EnNwc*, GlobalContext*);
|
|
|
|
typedef struct EnNwcChick {
|
|
/* 0x00 */ s8 type;
|
|
/* 0x01 */ u8 bgFlags;
|
|
/* 0x04 */ f32 floorY;
|
|
/* 0x08 */ Vec3f pos;
|
|
/* 0x14 */ char unk_14[8];
|
|
/* 0x1C */ Vec3f lastPos;
|
|
/* 0x28 */ char unk_28[4];
|
|
/* 0x2C */ f32 velY;
|
|
/* 0x30 */ Vec3s rot;
|
|
/* 0x36 */ u16 height;
|
|
/* 0x38 */ CollisionPoly* floorPoly;
|
|
/* 0x44 */ char unk_3C[0x20];
|
|
} EnNwcChick; // size = 0x5C
|
|
|
|
typedef struct EnNwc {
|
|
/* 0x0000 */ Actor actor;
|
|
/* 0x014C */ ColliderJntSph collider;
|
|
/* 0x016C */ u8 count;
|
|
/* 0x0170 */ EnNwcChick chicks[16];
|
|
/* 0x0730 */ EnNwcUpdateFunc updateFunc;
|
|
} EnNwc; // size = 0x0734
|
|
|
|
#endif
|