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

@ -29,14 +29,14 @@ function litewall_slot_20() /* entry=386 class_id=0x0A10 slot=0x20 */
tempType = 0x0465;
}
while (counter >= 4) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
counter = (1 + counter);
}
spawn class_0A0C_slot_32(pid, 3, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 3, 0x00000000);
suspend;
while (!counter) {
spawn class_0A0C_slot_32(pid, 2, 0x00000000);
spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
suspend;
counter = (counter - 1);
}

View file

@ -46,11 +46,11 @@ function litewall_slot_21() /* entry=386 class_id=0x0A10 slot=0x21 */
/* append_list */
/* free_local_list bp_offset=0xF8 target=[BP-08h] */
wallList = item;
class_0A0C_slot_29(wallList, stepper, item);
FREE.slot_29(wallList, stepper, item);
if (retval < dist) goto block_03C9;
block_03B1:
class_0A0C_slot_29(stepper, item);
FREE.slot_29(stepper, item);
dist = retval;
wall = item;
@ -68,11 +68,11 @@ function litewall_slot_21() /* entry=386 class_id=0x0A10 slot=0x21 */
foreach_list item -> block_0412;
block_03FA:
spawn class_0A10_slot_20(item, arg_06);
spawn LITEWALL.slot_20(item, arg_06);
goto block_03F5;
block_0412:
spawn class_0A11_slot_2D(pid, Item.getDirFromItem(wall, stepper), wall, stepper);
spawn NPC.slot_2D(pid, Item.getDirFromItem(wall, stepper), wall, stepper);
suspend;
block_044D: