mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-14 20:30:18 -04:00
Add fpc_ProcID type and use it for all process IDs
See https://github.com/zeldaret/tp/pull/2173
This commit is contained in:
@@ -21,7 +21,7 @@ void cBgS_ChkElm::Init() {
|
||||
}
|
||||
|
||||
/* 8024645C-80246478 .text Regist2__11cBgS_ChkElmFP4cBgWUiPv */
|
||||
void cBgS_ChkElm::Regist2(cBgW* bgw, uint pid, void* actor) {
|
||||
void cBgS_ChkElm::Regist2(cBgW* bgw, fpc_ProcID pid, void* actor) {
|
||||
m_flags |= 1;
|
||||
m_bgw_base_ptr = bgw;
|
||||
m_actor_id = pid;
|
||||
@@ -37,7 +37,7 @@ void cBgS_ChkElm::Release() {
|
||||
}
|
||||
|
||||
/* 8024649C-80246600 .text Regist__4cBgSFP4cBgWUiPv */
|
||||
bool cBgS::Regist(cBgW* bgw, uint pid, void* actor) {
|
||||
bool cBgS::Regist(cBgW* bgw, fpc_ProcID pid, void* actor) {
|
||||
if (bgw == NULL)
|
||||
return true;
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ cBgS_Chk::~cBgS_Chk() {
|
||||
}
|
||||
|
||||
/* 8024734C-8024738C .text ChkSameActorPid__8cBgS_ChkCFUi */
|
||||
bool cBgS_Chk::ChkSameActorPid(uint pid) const {
|
||||
if (mActorPid == fpcM_ERROR_PROCESS_ID_e || pid == UINT32_MAX || unk_0x0C == 0) {
|
||||
bool cBgS_Chk::ChkSameActorPid(fpc_ProcID pid) const {
|
||||
if (mActorPid == fpcM_ERROR_PROCESS_ID_e || pid == fpcM_ERROR_PROCESS_ID_e || unk_0x0C == 0) {
|
||||
return FALSE;
|
||||
} else {
|
||||
return (mActorPid == pid) ? TRUE : FALSE;
|
||||
|
||||
@@ -18,7 +18,7 @@ void cBgS_LinChk::ct() {
|
||||
}
|
||||
|
||||
/* 80247480-80247500 .text Set2__11cBgS_LinChkFP4cXyzP4cXyzUi */
|
||||
void cBgS_LinChk::Set2(cXyz* pStart, cXyz* pEnd, uint actorPid) {
|
||||
void cBgS_LinChk::Set2(cXyz* pStart, cXyz* pEnd, fpc_ProcID actorPid) {
|
||||
mLin.SetStartEnd(*pStart, *pEnd);
|
||||
field_0x40 = *pEnd;
|
||||
SetActorPid(actorPid);
|
||||
|
||||
@@ -184,7 +184,7 @@ cCcD_GStts* cCcD_Stts::GetGStts() {
|
||||
}
|
||||
|
||||
/* 80241934-80241994 .text Init__9cCcD_SttsFiiPvUi */
|
||||
void cCcD_Stts::Init(int weight, int param_1, void* pProc, uint procID) {
|
||||
void cCcD_Stts::Init(int weight, int param_1, void* pProc, fpc_ProcID procID) {
|
||||
Ct();
|
||||
mWeight = weight;
|
||||
field_0x15 = param_1;
|
||||
|
||||
Reference in New Issue
Block a user