mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user