Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
307 changes: 187 additions & 120 deletions include/d/actor/d_a_npc.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion include/d/actor/d_a_npc_zra.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class daNpc_zrA_Path_c : public daNpcF_Path_c {
/* 80B78CFC */ int getDstPosChase(u16, cXyz, cXyz&);
/* 80B78E08 */ f32 chkPassDst(u16, cXyz);
/* 80B7EF88 */ ~daNpc_zrA_Path_c() {}
int getEndIdx() { return mpRoomPath->m_num - 1; }
int getEndIdx() { return mPathInfo->m_num - 1; }
};

STATIC_ASSERT(sizeof(daNpc_zrA_Path_c) == 0x630);
Expand Down
6 changes: 3 additions & 3 deletions include/d/actor/d_a_tag_evtarea.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class daTag_EvtArea_c : public fopAc_ac_c {

/* 8048CD68 */ virtual ~daTag_EvtArea_c() {}

s32 getType() {
u8 type = (u8)shape_angle.z;
return type == 0xff ? 0 : type;
int getType() {
u16 type = shape_angle.z & 0xFF;
return type == 0xFF ? 0 : type;
}

s32 getNo() {
Expand Down
Loading