diff options
| author | roeming <brother64youyou@gmail.com> | 2026-01-04 20:22:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-04 17:22:04 -0800 |
| commit | 1400687731baedd9419dbf3972c50e3faab0f24e (patch) | |
| tree | 95833e6a68cde9708aa6fa1bd447ecf1cfe8ecd2 /include/SSystem | |
| parent | b72be3074adae802510f47643cac7bfc1fd6e9c7 (diff) | |
d_a_e_rdy debug work (#3011)
* debug work for d_a_e_rdy
* remove unused fake function
* fix regressions
* rename variable
* Fix version diffs of angle adding
Diffstat (limited to 'include/SSystem')
| -rw-r--r-- | include/SSystem/SComponent/c_angle.h | 7 | ||||
| -rw-r--r-- | include/SSystem/SComponent/c_lib.h | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/SSystem/SComponent/c_angle.h b/include/SSystem/SComponent/c_angle.h index 40377f4283..4afd36e504 100644 --- a/include/SSystem/SComponent/c_angle.h +++ b/include/SSystem/SComponent/c_angle.h @@ -3,6 +3,13 @@ #include "SSystem/SComponent/c_xyz.h" +#if PLATFORM_SHIELD +#define ADD_ANGLE(x, y) ((x) += (s16)(y)) +#else +#define ADD_ANGLE(x, y) ((x) += (y)) +#endif + + class cSAngle { private: s16 mAngle; diff --git a/include/SSystem/SComponent/c_lib.h b/include/SSystem/SComponent/c_lib.h index 48cf3c71df..4a29fb58b3 100644 --- a/include/SSystem/SComponent/c_lib.h +++ b/include/SSystem/SComponent/c_lib.h @@ -102,7 +102,7 @@ void MtxTrans(f32, f32, f32, u8); void MtxScale(f32, f32, f32, u8); void MtxPosition(cXyz*, cXyz*); void MtxPush(void); -Mtx* MtxPull(void); +void MtxPull(void); extern Mtx* calc_mtx; |
