mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
44b0fdbb0d
* decompctx - try without shiftjis and write utf8 as output * Do some work on f_op_actor_mng * Remove duplicated includes * Add fopAcM_setEffectMtx * Match dShopSystem_searchCameraActor * fopAcM_setEffectMtx now matches with literals * Remove unnecessary inline in headers
24 lines
586 B
C++
24 lines
586 B
C++
#ifndef D_D_PATH_H
|
|
#define D_D_PATH_H
|
|
|
|
#include "d/d_stage.h"
|
|
|
|
class dStage_dPnt_c;
|
|
|
|
struct dPath {
|
|
/* 0x0 */ u16 m_num;
|
|
/* 0x2 */ u16 m_nextID;
|
|
/* 0x4 */ u8 field_0x4;
|
|
/* 0x5 */ u8 m_closed;
|
|
/* 0x6 */ u8 field_0x6;
|
|
/* 0x8 */ dStage_dPnt_c* m_points;
|
|
};
|
|
|
|
inline int dPath_ChkClose(dPath* i_path) { return (i_path->m_closed & 1); }
|
|
|
|
dPath* dPath_GetRoomPath(int path_index, int room_no);
|
|
dStage_dPnt_c* dPath_GetPnt(dPath const* path, int pnt_index);
|
|
u8 dPath_GetPolyRoomPathVec(cBgS_PolyInfo const& poly, cXyz* p_pathVec, int* param_2);
|
|
|
|
#endif /* D_D_PATH_H */
|