Skip to content

d_a_npc_midp almost matching#2371

Merged
TakaRikka merged 2 commits intozeldaret:mainfrom
carter-ktb21:d_a_npc_midp
Apr 3, 2025
Merged

d_a_npc_midp almost matching#2371
TakaRikka merged 2 commits intozeldaret:mainfrom
carter-ktb21:d_a_npc_midp

Conversation

@carter-ktb21
Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +94 to +131
/* 0x00 */ f32 field_0x00; // 210.0f
/* 0x04 */ f32 mGravity; // -3.0f
/* 0x08 */ f32 field_0x08; // 1.0f
/* 0x0C */ f32 field_0x0c; // 500.0f
/* 0x10 */ f32 mWeight; // 255.0f
/* 0x14 */ f32 mCylH; // 190.0f
/* 0x18 */ f32 mWallH; // 35.0f
/* 0x1C */ f32 mWallR; // 30.0f
/* 0x20 */ f32 field_0x20; // 0.0f
/* 0x24 */ f32 field_0x24; // 0.0f
/* 0x28 */ f32 field_0x28; // 10.0f
/* 0x2C */ f32 field_0x2c; // -10.0f
/* 0x30 */ f32 field_0x30; // 30.0f
/* 0x34 */ f32 field_0x34; // 10.0f
/* 0x38 */ f32 field_0x38; // 45.0f
/* 0x3C */ f32 field_0x3c; // -45.0f
/* 0x40 */ f32 field_0x40; // 0.6f
/* 0x44 */ f32 mMorfFrames; // 12.0f
/* 0x48 */ s16 field_0x48; // 3
/* 0x4A */ s16 field_0x4a; // 6
/* 0x4C */ s16 field_0x4c; // 5
/* 0x4E */ s16 field_0x4e; // 6
/* 0x50 */ f32 field_0x50; // 110.0f
/* 0x54 */ f32 field_0x54; // 0.0f
/* 0x58 */ f32 field_0x58; // 0.0f
/* 0x5C */ f32 field_0x5c; // 0.0f
/* 0x60 */ s16 field_0x60; // 60
/* 0x62 */ s16 field_0x62; // 8
/* 0x64 */ int field_0x64; // 0
/* 0x68 */ int field_0x68; // 0
/* 0x6C */ f32 field_0x6c; // 4.0f
/* 0x70 */ f32 field_0x70; // 0.0f
/* 0x74 */ f32 field_0x74; // 0.0f
/* 0x78 */ f32 field_0x78; // 0.0f
/* 0x7C */ f32 field_0x7c; // 0.0f
/* 0x80 */ f32 field_0x80; // 0.0f
/* 0x84 */ f32 field_0x84; // 0.0f
/* 0x88 */ f32 field_0x88; // 0.0f
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo adding the constant here isn't really necessary. i'd rather put a comment of the member name in the actual data initializer than this

void daNpc_midP_c::Delete() {
// NONMATCHING
int daNpc_midP_c::Delete() {
OS_REPORT("|%06d:%x|daNpc_midP_c -> Delete\n", g_Counter, this);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

g_Counter.mCounter0


/* 80A727D4-80A727DC 001C54 0008+00 1/0 0/0 0/0 .text daNpc_midP_IsDelete__FPv */
static bool daNpc_midP_IsDelete(void* param_0) {
static bool daNpc_midP_IsDelete(void* i_this) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returns int

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One day I’ll get the int returns down😂

@TakaRikka TakaRikka merged commit 716c506 into zeldaret:main Apr 3, 2025
1 check passed
@carter-ktb21 carter-ktb21 deleted the d_a_npc_midp branch April 9, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants