d_a_nh 75% done (#49)

* d_a_nh 75% done

* More nh actions
This commit is contained in:
LagoLunatic
2023-09-17 14:58:28 -04:00
committed by GitHub
parent 65a63eea69
commit e806b15578
21 changed files with 497 additions and 97 deletions
@@ -13,7 +13,9 @@ private:
/* 0x08 */ unsigned int mActorId;
public:
cBgS_PolyInfo() {}
cBgS_PolyInfo() {
ClearPi();
}
void ClearPi() {
mPolyIndex = -1;
mBgIndex = 0x100;
+2 -2
View File
@@ -2,6 +2,7 @@
#define C_LIB_H_
#include "SSystem/SComponent/c_xyz.h"
#include "SSystem/SComponent/c_math.h"
#include "dolphin/mtx/mtx.h"
inline bool cLib_IsZero(f32 value) {
@@ -29,8 +30,7 @@ int cLib_chasePosXZ(cXyz* o_value, cXyz const& target, f32 step);
int cLib_chaseAngleS(s16* o_value, s16 target, s16 step);
s16 cLib_targetAngleY(cXyz* lhs, cXyz* rhs);
s16 cLib_targetAngleY(const cXyz& lhs, const cXyz& rhs);
s16 cLib_targetAngleX(const cXyz*, const cXyz*);
s16 cLib_targetAngleX(cXyz*, cXyz*);
void cLib_offsetPos(cXyz* pDest, cXyz* pSrc, s16 angle, cXyz* vec);
s32 cLib_distanceAngleS(s16 x, s16 y);
+1 -1
View File
@@ -22,7 +22,7 @@ class cM3dGCir : public cM2dGCir {
public:
cM3dGCir(void);
virtual ~cM3dGCir(void);
virtual ~cM3dGCir(void) {}
void Set(f32, f32, f32, f32);
};