summaryrefslogtreecommitdiff
path: root/src/overlays/actors/ovl_Obj_Wturn/z_obj_wturn.h
blob: 9aee7e2aded8ec1470654e6e088b3dad2a7f6af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef Z_OBJ_WTURN_H
#define Z_OBJ_WTURN_H

#include "global.h"

struct ObjWturn;

typedef void (*ObjWturnActionFunc)(struct ObjWturn*, PlayState*);

#define OBJWTURN_GET_SWITCH_FLAG(thisx) ((thisx)->params)

typedef struct ObjWturn {
    /* 0x000 */ Actor actor;
    /* 0x144 */ ObjWturnActionFunc actionFunc;
    /* 0x148 */ s16 subCamId;
    /* 0x14A */ s16 unk_14A;
} ObjWturn; // size = 0x14C

#endif // Z_OBJ_WTURN_H