1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 07:21:19 +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

@ -173,13 +173,13 @@ void DemoEffect_Init(Actor* thisx, PlayState* play2) {
effectType = (this->actor.params & 0x00FF);
lightEffect = ((this->actor.params & 0xF000) >> 12);
osSyncPrintf(VT_FGCOL(CYAN) " no = %d\n" VT_RST, effectType);
PRINTF(VT_FGCOL(CYAN) " no = %d\n" VT_RST, effectType);
objectSlot = sEffectTypeObjects[effectType] == OBJECT_GAMEPLAY_KEEP
? 0
: Object_GetSlot(&play->objectCtx, sEffectTypeObjects[effectType]);
osSyncPrintf(VT_FGCOL(CYAN) " bank_ID = %d\n" VT_RST, objectSlot);
PRINTF(VT_FGCOL(CYAN) " bank_ID = %d\n" VT_RST, objectSlot);
if (objectSlot < 0) {
ASSERT(0, "0", "../z_demo_effect.c", 723);
@ -524,7 +524,7 @@ void DemoEffect_WaitForObject(DemoEffect* this, PlayState* play) {
this->actor.draw = this->initDrawFunc;
this->updateFunc = this->initUpdateFunc;
osSyncPrintf(VT_FGCOL(CYAN) " 転送終了 move_wait " VT_RST);
PRINTF(VT_FGCOL(CYAN) " 転送終了 move_wait " VT_RST);
}
}
@ -682,12 +682,12 @@ void DemoEffect_InitTimeWarp(DemoEffect* this, PlayState* play) {
SkelCurve_SetAnim(&this->skelCurve, &gTimeWarpAnim, 1.0f, 59.0f, 59.0f, 0.0f);
SkelCurve_Update(play, &this->skelCurve);
this->updateFunc = DemoEffect_UpdateTimeWarpReturnFromChamberOfSages;
osSyncPrintf(VT_FGCOL(CYAN) " 縮むバージョン \n" VT_RST);
PRINTF(VT_FGCOL(CYAN) " 縮むバージョン \n" VT_RST);
} else {
SkelCurve_SetAnim(&this->skelCurve, &gTimeWarpAnim, 1.0f, 59.0f, 1.0f, 1.0f);
SkelCurve_Update(play, &this->skelCurve);
this->updateFunc = DemoEffect_UpdateTimeWarpPullMasterSword;
osSyncPrintf(VT_FGCOL(CYAN) " 通常 バージョン \n" VT_RST);
PRINTF(VT_FGCOL(CYAN) " 通常 バージョン \n" VT_RST);
}
}