mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
8d53f6dd59
* Fix GetPolyIndex and GetBgIndex, fixing a couple regallocs * Match daNpcCd2_c::checkFearSituation and daNpcCd2_c::getAnmP * Match daAlink_c::jointControll * Clean up float class checks * Move float constants to global.h
20 lines
444 B
C++
20 lines
444 B
C++
#ifndef D_BG_D_BG_S_CAPT_POLY_H
|
|
#define D_BG_D_BG_S_CAPT_POLY_H
|
|
|
|
#include "d/d_bg_s_chk.h"
|
|
#include "SSystem/SComponent/c_m3d_g_aab.h"
|
|
|
|
struct dBgS_CaptPoly;
|
|
|
|
typedef void (*CaptPolyCallback)(dBgS_CaptPoly&, cBgD_Vtx_t*, u16, u16, u16, cM3dGPla*);
|
|
|
|
struct dBgS_CaptPoly : public cBgS_Chk, public dBgS_Chk {
|
|
public:
|
|
cM3dGAab* GetBndP() { return &m_pos;}
|
|
|
|
/* 0x2C */ cM3dGAab m_pos;
|
|
/* 0x48 */ CaptPolyCallback m_callback;
|
|
};
|
|
|
|
#endif
|