3#include <collision/BgUnitCode.h>
5#include <heap/seadDisposer.h>
15 static u16*
getUnit(u16 x, u16 y, u32 file, u8 layer, s32* block_idx =
nullptr);
21 return getBgCheckData(u16(x), u16(-y), layer, with_p_sw);
27 return getUnitHitType(u16(x), u16(-y), layer);
33 return getUnitType(u16(x), u16(-y), layer);
39 return getUnitTypeInfo(u16(x), u16(-y), layer);
void setWaterInWave(const sead::Vector2f &pos, u8 wave_scale)
BgUnitCode::TypeInfo getUnitTypeInfo(u16 x, u16 y, u8 layer)
u64 getBgCheckData(u16 x, u16 y, u8 layer, bool with_p_sw=true)
static u16 * getUnit(u16 x, u16 y, u32 file, u8 layer, s32 *block_idx=nullptr)
static u16 * getUnitCurrentCdFile(u16 x, u16 y, u8 layer, s32 *block_idx=nullptr)
BgUnitCode::Type getUnitType(u16 x, u16 y, u8 layer)
BgUnitCode::HitType getUnitHitType(u16 x, u16 y, u8 layer)