mirror of
https://github.com/zeldaret/tp
synced 2026-07-09 23:01:41 -04:00
decompile a few daItemKantera_c funcs (#1970)
* attempt on daItemKantera_c * format cpp
This commit is contained in:
@@ -140,6 +140,7 @@ enum fopAcM_CARRY {
|
||||
/* 0x04 */ fopAcM_CARRY_SIDE = 4,
|
||||
/* 0x08 */ fopAcM_CARRY_TYPE_8 = 8,
|
||||
/* 0x10 */ fopAcM_CARRY_LIGHT = 16, // guess based on context
|
||||
/* 0x20 */ fopAcM_CARRY_ITEM = 32,
|
||||
/* 0x30 */ fopAcM_CARRY_UNK_30 = 0x30,
|
||||
};
|
||||
|
||||
@@ -315,6 +316,10 @@ inline f32 fopAcM_getCullSizeFar(const fopAc_ac_c* i_actor) {
|
||||
return i_actor->mCullSizeFar;
|
||||
}
|
||||
|
||||
inline void fopAcM_SetCullSize(fopAc_ac_c* i_actor, s8 i_cullsize) {
|
||||
i_actor->mCullType = i_cullsize;
|
||||
}
|
||||
|
||||
inline int fopAcM_GetCullSize(const fopAc_ac_c* i_actor) {
|
||||
return i_actor->mCullType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user