Sakuita rope Matching (#2470)

* Change dComIfGp_getAttention to return a pointer

* d_a_obj_sakuita_rope Matching
This commit is contained in:
hatal175
2025-06-02 06:36:19 +03:00
committed by GitHub
parent 8e91607e55
commit 588b20679d
32 changed files with 561 additions and 534 deletions
+4 -4
View File
@@ -170,7 +170,7 @@ static int dScnPly_Draw(dScnPly_c* i_this) {
if (!dComIfGp_isPauseFlag()) {
dEyeHL_mng_c::update();
dComIfG_Ccsp()->Draw();
dComIfGp_getAttention().Draw();
dComIfGp_getAttention()->Draw();
}
return 1;
@@ -198,7 +198,7 @@ static int dScnPly_Execute(dScnPly_c* i_this) {
if (!dComIfGp_isPauseFlag()) {
dDemo_c::update();
dComIfGp_getEvent().Step();
dComIfGp_getAttention().Run();
dComIfGp_getAttention()->Run();
}
return 1;
}
@@ -242,7 +242,7 @@ static int dScnPly_Delete(dScnPly_c* i_this) {
dMpath_c::remove();
dTres_c::remove();
dComIfGp_getAttention().~dAttention_c();
dComIfGp_getAttention()->~dAttention_c();
dComIfGp_getVibration().Remove();
dComIfG_Bgsp().Dt();
@@ -641,7 +641,7 @@ static int phase_4(dScnPly_c* i_this) {
mDoGph_gInf_c::setTickRate((OS_BUS_CLOCK / 4) / 30);
g_envHIO.field_0x4 = -1;
g_save_bit_HIO.field_0x4 = -1;
new (&dComIfGp_getAttention()) dAttention_c(dComIfGp_getPlayer(0), 0);
new (dComIfGp_getAttention()) dAttention_c(dComIfGp_getPlayer(0), 0);
dComIfGp_getVibration().Init();
daYkgr_c::init();