move d_a_itembase_static / d_a_item_static / Z2StatusMgr (#123)

* move d_a_itembase_static

* move d_a_item_static

* moved Z2StatusMgr

* clang

* fixes

* clang?

* move d_save

* move d_meter2_info

* some d_meter2_info fixes

* move most d_a_player

* move d_bg_s stuff

* move c_cc_s stuff

* move d_cc stuff

* move d_attention / d_event / d_stage
This commit is contained in:
TakaRikka
2021-05-02 10:13:14 -07:00
committed by GitHub
parent a9c78b5b0b
commit 2f4904dae2
234 changed files with 5861 additions and 6762 deletions
+18
View File
@@ -9,6 +9,8 @@
#include "msl_c/math.h"
extern f32 cM_atan2f(f32, f32);
extern "C" void Xyz__7cSGlobeCFv();
extern "C" void __ct__7cSGlobeFfRC7cSAngleRC7cSAngle();
//
// Declarations:
@@ -340,11 +342,27 @@ void cSGlobe::Polar(cSPolar* csp) const {
csp->Val(mRadius, 0x4000 - mAzimuth.Val(), mInclination.Val());
}
/* ############################################################################################## */
/* 8045523C-80455240 00383C 0004+00 1/1 0/0 0/0 .sdata2 @2744 */
SECTION_SDATA2 static f32 lit_2744 = 1.0f;
/* 80271B30-80271B7C 004C+00 s=0 e=3 z=0 None .text Norm__7cSGlobeCFv */
// adding the dtor to class members made this stop matching, idk why
#ifdef NONMATCHING
cXyz cSGlobe::Norm(void) const {
cSGlobe glob(1.0f, mAzimuth, mInclination);
return glob.Xyz();
}
#else
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm cXyz cSGlobe::Norm() const {
nofralloc
#include "asm/SSystem/SComponent/c_angle/Norm__7cSGlobeCFv.s"
}
#pragma pop
#endif
/* 80271B7C-80271BA8 002C+00 s=0 e=2 z=0 None .text Invert__7cSGlobeFv */
cSGlobe& cSGlobe::Invert(void) {