Files
tww/include/d/d_path.h
T
2025-03-28 20:31:04 -04:00

33 lines
724 B
C

#ifndef D_PATH_H
#define D_PATH_H
#include "d/d_bg_s.h"
#include "dolphin/types.h"
struct dPnt {
/* 0x00 */ u8 mArg0;
/* 0x01 */ u8 mArg1;
/* 0x02 */ u8 mArg2;
/* 0x03 */ u8 mArg3;
/* 0x04 */ cXyz m_position;
};
struct dPath {
/* 0x00 */ u16 m_num;
/* 0x02 */ u16 m_nextID;
/* 0x04 */ u8 mArg0;
/* 0x05 */ u8 m_closed;
/* 0x06 */ u8 field4_0x6;
/* 0x07 */ u8 field5_0x7;
/* 0x08 */ dPnt* m_points;
};
inline BOOL dPath_ChkClose(dPath* i_path) { return i_path->m_closed & 1; }
dPath* dPath_GetRoomPath(int, int);
dPath* dPath_GetNextRoomPath(dPath*, int);
dPnt* dPath_GetPnt(dPath*, int);
bool dPath_GetPolyRoomPathVec(cBgS_PolyInfo&, cXyz*, int*);
#endif /* D_PATH_H */