Pseudocode decompialtion improvements and docs

This commit is contained in:
MaddoScientisto 2026-03-26 22:10:48 +01:00
commit 589bfc31ef
1898 changed files with 60634 additions and 6597 deletions

View file

@ -7,6 +7,6 @@ function basegun_gotHit() /* entry=270 class_id=0x04C8 slot=0x06 */
set_info(0x020C, *(arg_06));
process_exclude();
spawn class_0A1A_slot_49(vel, ref, arg_06);
spawn WALLGUN.slot_49(vel, ref, arg_06);
return;
}

View file

@ -3,12 +3,12 @@ function basegun_equip() /* entry=270 class_id=0x04C8 slot=0x0A */
set_info(0x0211, *(arg_06));
process_exclude();
if (getTargetNPCNumMaybe() == 0) {
spawn class_0A1A_slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
spawn WALLGUN.slot_24(pid, arg_0A, getTargetNPCNumMaybe(), arg_06);
suspend;
return;
}
else {
spawn class_0A1A_slot_24(pid, arg_0A, global[0x003C], arg_06);
spawn WALLGUN.slot_24(pid, arg_0A, global[0x003C], arg_06);
suspend;
}
return;

View file

@ -6,7 +6,7 @@ function basegun_unequip() /* entry=270 class_id=0x04C8 slot=0x0B */
return;
}
else {
spawn class_0A1A_slot_27(arg_06);
spawn WALLGUN.slot_27(arg_06);
}
return;
}

View file

@ -13,17 +13,17 @@ function basegun_calledFromAnim() /* entry=270 class_id=0x04C8 slot=0x0E */
dir = Actor.getDir(n);
b = Actor.getLastAnimSet(n);
if ((b == 13) || (b != 8)) {
class_0A1A_slot_40(0, 5, dir, dir, arg_06);
class_0A1A_slot_3F(retval, dir, arg_06);
class_0A1A_slot_3E(retval, dir, arg_06);
class_0A1A_slot_43(0, 5, dir, dir, arg_06);
class_0A1A_slot_42(retval, dir, arg_06);
class_0A1A_slot_41(retval, dir, arg_06);
WALLGUN.slot_40(0, 5, dir, dir, arg_06);
WALLGUN.slot_3F(retval, dir, arg_06);
WALLGUN.slot_3E(retval, dir, arg_06);
WALLGUN.slot_43(0, 5, dir, dir, arg_06);
WALLGUN.slot_42(retval, dir, arg_06);
WALLGUN.slot_41(retval, dir, arg_06);
return;
}
else {
set_info(0x00F0, 0);
spawn class_0A1E_slot_28(pid, 1, 2, n);
spawn ITEM.slot_28(pid, 1, 2, n);
suspend;
}
return;

View file

@ -6,7 +6,7 @@ function basegun_enterFastArea() /* entry=270 class_id=0x04C8 slot=0x0F */
return;
}
else {
spawn class_0A1A_slot_27(arg_06);
spawn WALLGUN.slot_27(arg_06);
}
return;
}

View file

@ -3,7 +3,7 @@ function basegun_leaveFastArea() /* entry=270 class_id=0x04C8 slot=0x10 */
set_info(0x021C, *(arg_06));
process_exclude();
/* bit_not */
class_0A0C_slot_33(1, *(arg_06));
class_0A0C_slot_33(0x020A, *(arg_06));
FREE.slot_33(1, *(arg_06));
FREE.slot_33(0x020A, *(arg_06));
return;
}