f_op_actor_mng split & started decomp (#112)

* fop-actor-mng

* rodata

* more actor mng progress

* actor mng progress

* format

* cleanup

* fix Mtx function signatures

* PR suggestion

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
lepelog
2021-02-13 01:47:46 +01:00
committed by GitHub
parent fe60f6ffdc
commit 4bd5ca735f
295 changed files with 6350 additions and 5712 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef JSYSTEM_JMATH_H_
#define JSYSTEM_JMATH_H_
#include "dolphin/types.h"
struct sinCosTableEntry {
f32 sin;
f32 cos;
};
extern sinCosTableEntry lbl_80439A20[0x2000]; // JMath::JMath::sincosTable_
inline f32 cM_scos(s16 s) {
return lbl_80439A20[static_cast<u16>(s) >> 3].cos;
}
inline f32 cM_ssin(s16 s) {
return lbl_80439A20[static_cast<u16>(s) >> 3].sin;
}
#endif