move d_a_alink and some related stuff (#130)

* clean up d_a_player

* move some of daalink

* more daalink / daplayer

* setup some daalink members

* rest of daalink members setup

* remove comment

* few more matches

* remove asm

* more matches

* more matches + move e_wb_class

* fix some d_save classes

Co-authored-by: lepelog <lepelog@users.noreply.github.com>
This commit is contained in:
TakaRikka
2021-05-23 12:09:59 +02:00
committed by GitHub
co-authored by lepelog
parent 462d71cbef
commit e915df66c8
196 changed files with 5322 additions and 6569 deletions
+7 -7
View File
@@ -13,8 +13,8 @@
/* 80267B4C-80267B70 26248C 0024+00 0/0 7/7 0/0 .text __ct__8cBgS_ChkFv */
cBgS_Chk::cBgS_Chk(void) {
unk_0x00 = 0;
unk_0x04 = 0;
mPolyPassChk = 0;
mGrpPassChk = 0;
unk_0x0C = 1;
}
@@ -23,17 +23,17 @@ cBgS_Chk::~cBgS_Chk(void) {}
/* 80267BB8-80267BDC 2624F8 0024+00 0/0 4/4 0/0 .text SetExtChk__8cBgS_ChkFR8cBgS_Chk */
void cBgS_Chk::SetExtChk(cBgS_Chk& pOther) {
unk_0x00 = pOther.unk_0x00;
unk_0x04 = pOther.unk_0x04;
unk_0x08 = pOther.unk_0x08;
mPolyPassChk = pOther.mPolyPassChk;
mGrpPassChk = pOther.mGrpPassChk;
mActorPid = pOther.mActorPid;
unk_0x0C = pOther.unk_0x0C;
}
/* 80267BDC-80267C1C 26251C 0040+00 0/0 7/7 0/0 .text ChkSameActorPid__8cBgS_ChkCFUi */
bool cBgS_Chk::ChkSameActorPid(unsigned int pUint) const {
if (unk_0x08 == -1 || pUint == UINT32_MAX || unk_0x0C == 0) {
if (mActorPid == -1 || pUint == UINT32_MAX || unk_0x0C == 0) {
return 0;
} else {
return (unk_0x08 == pUint) ? 1 : 0;
return (mActorPid == pUint) ? 1 : 0;
}
}