mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-29 23:27:25 -04:00
copy dolsdk2004 to tp / b_bh + e_mb done (#2299)
* move dolsdk2004 over * cleanup some temp work * finish and cleanup gf * b_bh done * d_a_e_mb done
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_bg_s_chk.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
/* 80267B4C-80267B70 26248C 0024+00 0/0 7/7 0/0 .text __ct__8cBgS_ChkFv */
|
||||
cBgS_Chk::cBgS_Chk() {
|
||||
@@ -24,10 +25,10 @@ void cBgS_Chk::SetExtChk(cBgS_Chk& other) {
|
||||
}
|
||||
|
||||
/* 80267BDC-80267C1C 26251C 0040+00 0/0 7/7 0/0 .text ChkSameActorPid__8cBgS_ChkCFUi */
|
||||
bool cBgS_Chk::ChkSameActorPid(unsigned int pid) const {
|
||||
if (mActorPid == -1 || pid == UINT32_MAX || !mSameActorChk) {
|
||||
bool cBgS_Chk::ChkSameActorPid(fpc_ProcID pid) const {
|
||||
if (mActorPid == fpcM_ERROR_PROCESS_ID_e || pid == fpcM_ERROR_PROCESS_ID_e || !mSameActorChk) {
|
||||
return FALSE;
|
||||
} else {
|
||||
return (mActorPid == pid) ? TRUE : FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_bg_s_gnd_chk.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
/* 80267C1C-80267C94 26255C 0078+00 0/0 2/2 123/123 .text __ct__11cBgS_GndChkFv */
|
||||
cBgS_GndChk::cBgS_GndChk() {
|
||||
m_pos = cXyz::Zero;
|
||||
SetActorPid(UINT32_MAX);
|
||||
SetActorPid(fpcM_ERROR_PROCESS_ID_e);
|
||||
mFlags = 2;
|
||||
}
|
||||
|
||||
@@ -29,4 +30,4 @@ void cBgS_GndChk::SetPos(cXyz const* pos) {
|
||||
/* 80267D44-80267D54 262684 0010+00 0/0 1/1 0/0 .text PreCheck__11cBgS_GndChkFv */
|
||||
void cBgS_GndChk::PreCheck() {
|
||||
mWallPrecheck = mFlags & 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_bg_s_lin_chk.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
/* 80267D5C-80267DBC 26269C 0060+00 0/0 2/2 0/0 .text __ct__11cBgS_LinChkFv */
|
||||
cBgS_LinChk::cBgS_LinChk() {
|
||||
@@ -19,7 +20,7 @@ void cBgS_LinChk::ct() {
|
||||
mLin.SetStartEnd(start_end, start_end);
|
||||
field_0x40 = start_end;
|
||||
|
||||
SetActorPid(UINT32_MAX);
|
||||
SetActorPid(fpcM_ERROR_PROCESS_ID_e);
|
||||
mStts = 0;
|
||||
mFrontFlag = 1;
|
||||
mBackFlag = 0;
|
||||
|
||||
Reference in New Issue
Block a user