mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 21:18:23 -04:00
Cleanup the 3 path/point structs
This commit is contained in:
+8
-6
@@ -4,27 +4,29 @@
|
||||
#include "d/d_bg_s.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
struct dPath__Point {
|
||||
struct dPnt {
|
||||
/* 0x00 */ u8 mArg0;
|
||||
/* 0x01 */ u8 mArg1;
|
||||
/* 0x02 */ u8 mArg2;
|
||||
/* 0x03 */ u8 mArg3;
|
||||
/* 0x04 */ cXyz mPos;
|
||||
/* 0x04 */ cXyz m_position;
|
||||
};
|
||||
|
||||
struct dPath {
|
||||
/* 0x00 */ u16 m_num;
|
||||
/* 0x02 */ u16 mNextPathId;
|
||||
/* 0x02 */ u16 m_nextID;
|
||||
/* 0x04 */ u8 mArg0;
|
||||
/* 0x05 */ u8 mLoops;
|
||||
/* 0x05 */ u8 m_closed;
|
||||
/* 0x06 */ u8 field4_0x6;
|
||||
/* 0x07 */ u8 field5_0x7;
|
||||
/* 0x08 */ dPath__Point* mpPnt;
|
||||
/* 0x08 */ dPnt* m_points;
|
||||
};
|
||||
|
||||
dPath__Point* dPath_GetPnt(dPath*, int);
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user