From 74e03b6ecb3235cc874a19f6a3e12044e4321ad8 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Wed, 7 May 2025 17:22:10 -0400 Subject: [PATCH] Document some more TU names --- include/d/actor/d_a_boko.h | 5 +++++ src/d/actor/d_a_agb.cpp | 8 ++++---- src/d/actor/d_a_boko.cpp | 2 +- src/d/actor/d_a_bpw.cpp | 8 ++++---- src/d/actor/d_a_fganon.cpp | 8 ++++---- src/d/actor/d_a_mo2.cpp | 8 ++++---- src/d/actor/d_a_npc_ji1.cpp | 8 ++++---- src/d/actor/d_a_player.cpp | 8 ++++---- src/d/d_com_inf_game.cpp | 8 ++++---- src/d/d_com_lib_game.cpp | 8 ++++---- 10 files changed, 38 insertions(+), 33 deletions(-) diff --git a/include/d/actor/d_a_boko.h b/include/d/actor/d_a_boko.h index bd76f956b..b4754b17a 100644 --- a/include/d/actor/d_a_boko.h +++ b/include/d/actor/d_a_boko.h @@ -117,6 +117,11 @@ public: /* 0x8AC */ ProcFunc_t mCurrentProc; }; +class daBoko_HIO_c { +public: + // Size 1 in retail, size 0x14 in debug. +}; + class daBoko_HIO_c0 { public: static const s16 throw_timer; diff --git a/src/d/actor/d_a_agb.cpp b/src/d/actor/d_a_agb.cpp index 2e7cbf31c..9d4574805 100644 --- a/src/d/actor/d_a_agb.cpp +++ b/src/d/actor/d_a_agb.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_a_agb.cpp -// +/** + * d_a_agb.cpp + * Tingle Tuner Cursor + */ #include "d/actor/d_a_agb.h" #include "d/res/res_agb.h" diff --git a/src/d/actor/d_a_boko.cpp b/src/d/actor/d_a_boko.cpp index 1dffd3b37..bb43491b1 100644 --- a/src/d/actor/d_a_boko.cpp +++ b/src/d/actor/d_a_boko.cpp @@ -17,7 +17,7 @@ dBgS_ObjLinChk daBoko_c::m_line_check; const s16 daBoko_HIO_c0::throw_timer = 2; const f32 daBoko_HIO_c0::throw_speed = 70.0f; -static u8 l_HIO; +static daBoko_HIO_c l_HIO; /* 000000EC-0000017C .text keDraw__8daBoko_cFv */ void daBoko_c::keDraw() { diff --git a/src/d/actor/d_a_bpw.cpp b/src/d/actor/d_a_bpw.cpp index 71e280859..db051b80a 100644 --- a/src/d/actor/d_a_bpw.cpp +++ b/src/d/actor/d_a_bpw.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_a_bpw.cpp -// +/** + * d_a_bpw.cpp + * Boss - Jalhalla + */ #include "d/actor/d_a_bpw.h" #include "d/d_procname.h" diff --git a/src/d/actor/d_a_fganon.cpp b/src/d/actor/d_a_fganon.cpp index 04c948f34..9e1721971 100644 --- a/src/d/actor/d_a_fganon.cpp +++ b/src/d/actor/d_a_fganon.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_a_fganon.cpp -// +/** + * d_a_fganon.cpp + * Enemy - Phantom Ganon + */ #include "d/actor/d_a_fganon.h" #include "d/d_procname.h" diff --git a/src/d/actor/d_a_mo2.cpp b/src/d/actor/d_a_mo2.cpp index e39d1e41d..0cc8cec53 100644 --- a/src/d/actor/d_a_mo2.cpp +++ b/src/d/actor/d_a_mo2.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_a_mo2.cpp -// +/** + * d_a_mo2.cpp + * Enemy - Moblin + */ #include "d/actor/d_a_mo2.h" #include "d/d_procname.h" diff --git a/src/d/actor/d_a_npc_ji1.cpp b/src/d/actor/d_a_npc_ji1.cpp index 10b9f223e..831fcc493 100644 --- a/src/d/actor/d_a_npc_ji1.cpp +++ b/src/d/actor/d_a_npc_ji1.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_a_npc_ji1.cpp -// +/** + * d_a_npc_ji1.cpp + * NPC - Orca + */ #include "d/actor/d_a_npc_ji1.h" #include "d/actor/d_a_player.h" diff --git a/src/d/actor/d_a_player.cpp b/src/d/actor/d_a_player.cpp index 79a3312e0..b1084f1ea 100644 --- a/src/d/actor/d_a_player.cpp +++ b/src/d/actor/d_a_player.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_a_player.cpp -// +/** + * d_a_player.cpp + * Player - Base Player Class + */ #include "dolphin/types.h" #include "d/actor/d_a_player.h" diff --git a/src/d/d_com_inf_game.cpp b/src/d/d_com_inf_game.cpp index 645346ace..301535b54 100644 --- a/src/d/d_com_inf_game.cpp +++ b/src/d/d_com_inf_game.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_com_inf_game.cpp -// +/** + * d_com_inf_game.cpp + * Game - Shared Runtime Data ("Common Info Game") + */ #include "d/d_com_inf_game.h" #include "JSystem/JUtility/JUTAssert.h" diff --git a/src/d/d_com_lib_game.cpp b/src/d/d_com_lib_game.cpp index 15af31b0d..a663262dd 100644 --- a/src/d/d_com_lib_game.cpp +++ b/src/d/d_com_lib_game.cpp @@ -1,7 +1,7 @@ -// -// Generated by dtk -// Translation Unit: d_com_lib_game.cpp -// +/** + * d_com_lib_game.cpp + * Game - Shared Library ("Common Library Game") + */ #include "d/d_com_lib_game.h" #include "SSystem/SComponent/c_phase.h"