diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2025-12-11 15:31:44 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-11 15:31:44 -0800 |
| commit | ae4ad9f47779db56713bca41f6535bea31ec5490 (patch) | |
| tree | aee1bbcb269657df02dff9b40c2e110bb88277e6 /include/d | |
| parent | 2c6986f1ccf277750de800bd636a7cd6f082fc65 (diff) | |
fix functions not returning values (#2942)
* fix functions not returning values
* implement functions that should return values
Diffstat (limited to 'include/d')
| -rw-r--r-- | include/d/actor/d_a_npc_besu.h | 2 | ||||
| -rw-r--r-- | include/d/actor/d_a_npc_pachi_besu.h | 1 | ||||
| -rw-r--r-- | include/d/actor/d_a_npc_post.h | 2 | ||||
| -rw-r--r-- | include/d/actor/d_a_obj_kbacket.h | 2 | ||||
| -rw-r--r-- | include/d/actor/d_a_obj_nagaisu.h | 4 | ||||
| -rw-r--r-- | include/d/d_file_select.h | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/include/d/actor/d_a_npc_besu.h b/include/d/actor/d_a_npc_besu.h index 3376ef94c9..19fc851c0c 100644 --- a/include/d/actor/d_a_npc_besu.h +++ b/include/d/actor/d_a_npc_besu.h @@ -45,7 +45,7 @@ public: void setCollision(); int drawDbgInfo(); void drawOtherMdl(); - int setCupAnm(int, int, f32); + bool setCupAnm(int, int, f32); bool afterSetMotionAnm(int, int, f32, int); daNpcT_faceMotionAnmData_c getFaceMotionAnm(daNpcT_faceMotionAnmData_c); void changeAnm(int*, int*); diff --git a/include/d/actor/d_a_npc_pachi_besu.h b/include/d/actor/d_a_npc_pachi_besu.h index fad0bdc9ab..28240cfd58 100644 --- a/include/d/actor/d_a_npc_pachi_besu.h +++ b/include/d/actor/d_a_npc_pachi_besu.h @@ -17,6 +17,7 @@ struct daNpc_Pachi_Besu_HIOParam { }; class daNpc_Pachi_Besu_HIO_c : public mDoHIO_entry_c { +public: /* 0x8 */ daNpc_Pachi_Besu_HIOParam param; }; diff --git a/include/d/actor/d_a_npc_post.h b/include/d/actor/d_a_npc_post.h index 71b1707699..0119805647 100644 --- a/include/d/actor/d_a_npc_post.h +++ b/include/d/actor/d_a_npc_post.h @@ -107,7 +107,7 @@ public: void setCollision(); int drawDbgInfo(); void drawOtherMdl(); - BOOL setFlagAnm(int, int, f32); + bool setFlagAnm(int, int, f32); bool afterSetMotionAnm(int, int, f32, int); BOOL selectAction(); BOOL chkAction(actionFunc); diff --git a/include/d/actor/d_a_obj_kbacket.h b/include/d/actor/d_a_obj_kbacket.h index 4c4932d21e..e8c4908e7d 100644 --- a/include/d/actor/d_a_obj_kbacket.h +++ b/include/d/actor/d_a_obj_kbacket.h @@ -96,7 +96,7 @@ public: virtual ~daObj_KBacket_c(); int create(); - int setLaunchParam(float param_0, float param_1, short param_2) { + void setLaunchParam(float param_0, float param_1, short param_2) { float fVar2; s16 iVar1 = cM_deg2s(param_1); diff --git a/include/d/actor/d_a_obj_nagaisu.h b/include/d/actor/d_a_obj_nagaisu.h index c01be2cc60..107691d338 100644 --- a/include/d/actor/d_a_obj_nagaisu.h +++ b/include/d/actor/d_a_obj_nagaisu.h @@ -14,8 +14,8 @@ public: virtual ~daObjIsuChild_c(); int createHeap(); void create(daObjNagaisu_c*, dCcD_Stts*); - int execute(); - int draw(dMdl_c*); + void execute(); + void draw(dMdl_c*); void Delete(); bool chkHit(); void callEmt(); diff --git a/include/d/d_file_select.h b/include/d/d_file_select.h index 06fd831d23..2628771171 100644 --- a/include/d/d_file_select.h +++ b/include/d/d_file_select.h @@ -202,7 +202,7 @@ public: u8 getCptoNum(u8); void copyToSelBack(); void copyToSelPaneMove(); - bool yesnoMenuMoveAnmInitSet(int, int); + void yesnoMenuMoveAnmInitSet(int, int); bool yesnoMenuMoveAnm(); bool yesnoSelectMoveAnm(); void yesnoCursorShow(); |
