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:
parent
6eb3bf401c
commit
324db1d578
297 changed files with 2642 additions and 2679 deletions
|
@ -158,7 +158,7 @@ void DemoEc_Init(Actor* thisx, PlayState* play) {
|
|||
DemoEc* this = (DemoEc*)thisx;
|
||||
|
||||
if ((this->actor.params < 0) || (this->actor.params > 34)) {
|
||||
osSyncPrintf(VT_FGCOL(RED) "Demo_Ec_Actor_ct:arg_dataがおかしい!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) "Demo_Ec_Actor_ct:arg_dataがおかしい!!!!!!!!!!!!\n" VT_RST);
|
||||
Actor_Kill(&this->actor);
|
||||
} else {
|
||||
this->updateMode = EC_UPDATE_COMMON;
|
||||
|
@ -689,7 +689,7 @@ Gfx* DemoEc_GetCarpenterPostLimbDList(DemoEc* this) {
|
|||
case 13:
|
||||
return object_daiku_DL_005880;
|
||||
default:
|
||||
osSyncPrintf(VT_FGCOL(RED) "かつらが無い!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) "かつらが無い!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
@ -735,7 +735,7 @@ Gfx* DemoEc_GetGerudoPostLimbDList(DemoEc* this) {
|
|||
case 18:
|
||||
return gGerudoWhiteHairstyleSpikyDL;
|
||||
default:
|
||||
osSyncPrintf(VT_FGCOL(RED) "かつらが無い!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) "かつらが無い!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
@ -1247,7 +1247,7 @@ void DemoEc_InitNpc(DemoEc* this, PlayState* play) {
|
|||
|
||||
if (sInitFuncs[type] == NULL) {
|
||||
// "Demo_Ec_main_init: Initialization process is wrong arg_data"
|
||||
osSyncPrintf(VT_FGCOL(RED) " Demo_Ec_main_init:初期化処理がおかしいarg_data = %d!\n" VT_RST, type);
|
||||
PRINTF(VT_FGCOL(RED) " Demo_Ec_main_init:初期化処理がおかしいarg_data = %d!\n" VT_RST, type);
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
|
@ -1272,7 +1272,7 @@ void DemoEc_InitCommon(DemoEc* this, PlayState* play) {
|
|||
|
||||
if ((secondaryObjectSlot < 0) || (primaryObjectSlot < 0)) {
|
||||
// "Demo_Ec_main_bank: Bank unreadable arg_data = %d!"
|
||||
osSyncPrintf(VT_FGCOL(RED) "Demo_Ec_main_bank:バンクを読めない arg_data = %d!\n" VT_RST, type);
|
||||
PRINTF(VT_FGCOL(RED) "Demo_Ec_main_bank:バンクを読めない arg_data = %d!\n" VT_RST, type);
|
||||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
|
@ -1325,7 +1325,7 @@ void DemoEc_Update(Actor* thisx, PlayState* play) {
|
|||
|
||||
if ((updateMode < 0) || (updateMode >= ARRAY_COUNT(sUpdateFuncs)) || sUpdateFuncs[updateMode] == NULL) {
|
||||
// "The main mode is strange !!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
osSyncPrintf(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
} else {
|
||||
if (updateMode != EC_UPDATE_COMMON) {
|
||||
DemoEc_UseAnimationObject(this, play);
|
||||
|
@ -1358,7 +1358,7 @@ void DemoEc_Draw(Actor* thisx, PlayState* play) {
|
|||
|
||||
if ((drawConfig < 0) || (drawConfig >= ARRAY_COUNT(sDrawFuncs)) || sDrawFuncs[drawConfig] == NULL) {
|
||||
// "The main mode is strange !!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
} else {
|
||||
if (drawConfig != EC_DRAW_COMMON) {
|
||||
DemoEc_UseDrawObject(this, play);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue