Process IDs cleanup

* Use fpcM_ERROR_PROCESS_ID_e enum instead of literal -1/0xFFFFFFFF everywhere
* Disambiguate variable names by using itemNo/msgNo instead of itemID/msgID
This commit is contained in:
LagoLunatic
2023-11-22 16:25:28 -05:00
parent 906c8a8314
commit 469f243030
28 changed files with 132 additions and 129 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
#include "SSystem/SComponent/c_cc_d.h"
#include "JSystem/JUtility/JUTAssert.h"
#include "f_pc/f_pc_manager.h"
#include "dolphin/types.h"
#define CHECK_FLOAT_CLASS(line, x) JUT_ASSERT(line, !(((sizeof(x) == sizeof(float)) ? __fpclassifyf((float)(x)) : __fpclassifyd((double)(x)) ) == 1));
@@ -77,7 +78,7 @@ void cCcD_Stts::Ct() {
m_cc_move.y = 0.0f;
m_cc_move.z = 0.0f;
mActor = NULL;
mApid = -1;
mApid = fpcM_ERROR_PROCESS_ID_e;
mWeight = 0;
field_0x15 = 0;
mDmg = 0;