diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2025-02-10 11:20:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-10 21:20:42 +0200 |
| commit | 2453c0e3333157090e839eeab768d19b6a2b0ba1 (patch) | |
| tree | f51d7bcca7a8227966fc05ee7ef25cd508075a4c /src/SSystem | |
| parent | 6c24ff192933300faf555f1411e03432c751afe5 (diff) | |
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
Diffstat (limited to 'src/SSystem')
| -rw-r--r-- | src/SSystem/SComponent/c_bg_s_chk.cpp | 7 | ||||
| -rw-r--r-- | src/SSystem/SComponent/c_bg_s_gnd_chk.cpp | 5 | ||||
| -rw-r--r-- | src/SSystem/SComponent/c_bg_s_lin_chk.cpp | 3 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/SSystem/SComponent/c_bg_s_chk.cpp b/src/SSystem/SComponent/c_bg_s_chk.cpp index 5cded467cc..1a301597a1 100644 --- a/src/SSystem/SComponent/c_bg_s_chk.cpp +++ b/src/SSystem/SComponent/c_bg_s_chk.cpp @@ -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; } -}
\ No newline at end of file +} diff --git a/src/SSystem/SComponent/c_bg_s_gnd_chk.cpp b/src/SSystem/SComponent/c_bg_s_gnd_chk.cpp index b92e1a03a0..e752288821 100644 --- a/src/SSystem/SComponent/c_bg_s_gnd_chk.cpp +++ b/src/SSystem/SComponent/c_bg_s_gnd_chk.cpp @@ -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; -}
\ No newline at end of file +} diff --git a/src/SSystem/SComponent/c_bg_s_lin_chk.cpp b/src/SSystem/SComponent/c_bg_s_lin_chk.cpp index a17e202f2c..0e6a5d8892 100644 --- a/src/SSystem/SComponent/c_bg_s_lin_chk.cpp +++ b/src/SSystem/SComponent/c_bg_s_lin_chk.cpp @@ -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; |
