1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 06:52:03 +00:00

Replace most osSyncPrintf calls with PRINTF macro (#1598)

* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -> OOT_DEBUG
This commit is contained in:
cadmic 2024-01-12 07:38:13 -08:00 committed by GitHub
parent 6eb3bf401c
commit 324db1d578
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
297 changed files with 2642 additions and 2679 deletions

View file

@ -303,7 +303,7 @@ BgBdanObjects* EnRu1_FindSwitch(PlayState* play) {
actorIt = actorIt->next;
}
// "There is no stand"
osSyncPrintf(VT_FGCOL(RED) "お立ち台が無い!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
PRINTF(VT_FGCOL(RED) "お立ち台が無い!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
return NULL;
}
@ -2189,10 +2189,10 @@ void func_80AEFF94(EnRu1* this, PlayState* play) {
this->roomNum3 = actorRoom;
this->roomNum2 = actorRoom;
// "Ruto switch set"
osSyncPrintf("スイッチルトセット!!!!!!!!!!!!!!!!!!!!!!\n");
PRINTF("スイッチルトセット!!!!!!!!!!!!!!!!!!!!!!\n");
} else {
// "Ruto switch not set"
osSyncPrintf("スイッチルトセットしない!!!!!!!!!!!!!!!!!!!!!!\n");
PRINTF("スイッチルトセットしない!!!!!!!!!!!!!!!!!!!!!!\n");
Actor_Kill(&this->actor);
}
}
@ -2210,7 +2210,7 @@ void EnRu1_Update(Actor* thisx, PlayState* play) {
if (this->action < 0 || this->action >= ARRAY_COUNT(sActionFuncs) || sActionFuncs[this->action] == NULL) {
// "Main mode is improper!"
osSyncPrintf(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
return;
}
@ -2252,7 +2252,7 @@ void EnRu1_Init(Actor* thisx, PlayState* play) {
default:
Actor_Kill(&this->actor);
// "Relevant arge_data = %d unacceptable"
osSyncPrintf("該当 arge_data = %d 無し\n", func_80AEADF0(this));
PRINTF("該当 arge_data = %d 無し\n", func_80AEADF0(this));
break;
}
}
@ -2279,7 +2279,7 @@ s32 EnRu1_OverrideLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3f* p
if ((this->unk_290 < 0) || (this->unk_290 > 0) || (*sPreLimbDrawFuncs[this->unk_290] == NULL)) {
// "Neck rotation mode is improper!"
osSyncPrintf(VT_FGCOL(RED) "首回しモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
PRINTF(VT_FGCOL(RED) "首回しモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
} else {
sPreLimbDrawFuncs[this->unk_290](this, play, limbIndex, rot);
}
@ -2361,7 +2361,7 @@ void EnRu1_Draw(Actor* thisx, PlayState* play) {
if (this->drawConfig < 0 || this->drawConfig >= ARRAY_COUNT(sDrawFuncs) || sDrawFuncs[this->drawConfig] == NULL) {
// "Draw mode is improper!"
osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
return;
}
sDrawFuncs[this->drawConfig](this, play);