mirror of
https://github.com/zeldaret/oot.git
synced 2025-05-10 19:13:42 +00:00
Fixup printf args fake matches (#2049)
This commit is contained in:
parent
b82f54bb95
commit
56ca23663a
9 changed files with 15 additions and 15 deletions
|
@ -341,7 +341,7 @@ void GameState_Update(GameState* gameState) {
|
||||||
void GameState_InitArena(GameState* gameState, size_t size) {
|
void GameState_InitArena(GameState* gameState, size_t size) {
|
||||||
void* arena;
|
void* arena;
|
||||||
|
|
||||||
PRINTF("ハイラル確保 サイズ=%u バイト\n"); // "Hyrule reserved size = %u bytes"
|
PRINTF("ハイラル確保 サイズ=%u バイト\n", size); // "Hyrule reserved size = %u bytes"
|
||||||
arena = GAME_ALLOC_MALLOC(&gameState->alloc, size, "../game.c", 992);
|
arena = GAME_ALLOC_MALLOC(&gameState->alloc, size, "../game.c", 992);
|
||||||
|
|
||||||
if (arena != NULL) {
|
if (arena != NULL) {
|
||||||
|
|
|
@ -235,7 +235,7 @@ void Map_Init(PlayState* play) {
|
||||||
interfaceCtx->mapSegment = GAME_STATE_ALLOC(&play->state, 0x1000, "../z_map_exp.c", 457);
|
interfaceCtx->mapSegment = GAME_STATE_ALLOC(&play->state, 0x1000, "../z_map_exp.c", 457);
|
||||||
// "MAP texture initialization scene_data_ID=%d mapSegment=%x"
|
// "MAP texture initialization scene_data_ID=%d mapSegment=%x"
|
||||||
PRINTF("\n\n\nMAP テクスチャ初期化 scene_data_ID=%d\nmapSegment=%x\n\n", play->sceneId,
|
PRINTF("\n\n\nMAP テクスチャ初期化 scene_data_ID=%d\nmapSegment=%x\n\n", play->sceneId,
|
||||||
interfaceCtx->mapSegment, play);
|
interfaceCtx->mapSegment);
|
||||||
ASSERT(interfaceCtx->mapSegment != NULL, "parameter->mapSegment != NULL", "../z_map_exp.c", 459);
|
ASSERT(interfaceCtx->mapSegment != NULL, "parameter->mapSegment != NULL", "../z_map_exp.c", 459);
|
||||||
|
|
||||||
switch (play->sceneId) {
|
switch (play->sceneId) {
|
||||||
|
|
|
@ -589,7 +589,7 @@ Mtx* SkinMatrix_MtxFToNewMtx(GraphicsContext* gfxCtx, MtxF* src) {
|
||||||
Mtx* mtx = GRAPH_ALLOC(gfxCtx, sizeof(Mtx));
|
Mtx* mtx = GRAPH_ALLOC(gfxCtx, sizeof(Mtx));
|
||||||
|
|
||||||
if (mtx == NULL) {
|
if (mtx == NULL) {
|
||||||
PRINTF("Skin_Matrix_to_Mtx_new() 確保失敗:NULLを返して終了\n", mtx);
|
PRINTF("Skin_Matrix_to_Mtx_new() 確保失敗:NULLを返して終了\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
SkinMatrix_MtxFToMtx(src, mtx);
|
SkinMatrix_MtxFToMtx(src, mtx);
|
||||||
|
|
|
@ -95,7 +95,7 @@ s32 BgBdanObjects_GetProperty(BgBdanObjects* this, s32 arg1) {
|
||||||
case JABU_OBJECTS_GET_PROP_CAM_SETTING_DUNGEON1:
|
case JABU_OBJECTS_GET_PROP_CAM_SETTING_DUNGEON1:
|
||||||
return this->cameraSetting == CAM_SET_DUNGEON1;
|
return this->cameraSetting == CAM_SET_DUNGEON1;
|
||||||
default:
|
default:
|
||||||
PRINTF("Bg_Bdan_Objects_Get_Contact_Ru1\nそんな受信モードは無い%d!!!!!!!!\n");
|
PRINTF("Bg_Bdan_Objects_Get_Contact_Ru1\nそんな受信モードは無い%d!!!!!!!!\n", arg1);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ void BgBdanObjects_SetProperty(BgBdanObjects* this, s32 arg1) {
|
||||||
SET_INFTABLE(INFTABLE_146);
|
SET_INFTABLE(INFTABLE_146);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
PRINTF("Bg_Bdan_Objects_Set_Contact_Ru1\nそんな送信モードは無い%d!!!!!!!!\n");
|
PRINTF("Bg_Bdan_Objects_Set_Contact_Ru1\nそんな送信モードは無い%d!!!!!!!!\n", arg1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ void BgJyaIronobj_SpawnPillarParticles(BgJyaIronobj* this, PlayState* play, EnIk
|
||||||
|
|
||||||
#if OOT_DEBUG
|
#if OOT_DEBUG
|
||||||
if (enIk->unk_2FF <= 0 || enIk->unk_2FF >= 4) {
|
if (enIk->unk_2FF <= 0 || enIk->unk_2FF >= 4) {
|
||||||
PRINTF("Error 攻撃方法が分からない(%s %d)\n", "../z_bg_jya_ironobj.c", 233, enIk->unk_2FF);
|
PRINTF("Error 攻撃方法が分からない(%s %d)\n", "../z_bg_jya_ironobj.c", 233);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -174,7 +174,7 @@ void BgJyaIronobj_SpawnThroneParticles(BgJyaIronobj* this, PlayState* play, EnIk
|
||||||
|
|
||||||
#if OOT_DEBUG
|
#if OOT_DEBUG
|
||||||
if (enIk->unk_2FF <= 0 || enIk->unk_2FF >= 4) {
|
if (enIk->unk_2FF <= 0 || enIk->unk_2FF >= 4) {
|
||||||
PRINTF("Error 攻撃方法が分からない(%s %d)\n", "../z_bg_jya_ironobj.c", 362, enIk->unk_2FF);
|
PRINTF("Error 攻撃方法が分からない(%s %d)\n", "../z_bg_jya_ironobj.c", 362);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1415,7 +1415,7 @@ void DemoGj_Init(Actor* thisx, PlayState* play) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// "Demo_Gj_Actor_ct There is no such argument!!!!!!!!!!!!!!!!!!!!!!"
|
// "Demo_Gj_Actor_ct There is no such argument!!!!!!!!!!!!!!!!!!!!!!"
|
||||||
PRINTF(VT_FGCOL(RED) "Demo_Gj_Actor_ct そんな引数は無い!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST, play, this);
|
PRINTF(VT_FGCOL(RED) "Demo_Gj_Actor_ct そんな引数は無い!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||||
Actor_Kill(&this->dyna.actor);
|
Actor_Kill(&this->dyna.actor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,11 +122,11 @@ void EnExItem_WaitForObject(EnExItem* this, PlayState* play) {
|
||||||
|
|
||||||
if (Object_IsLoaded(&play->objectCtx, this->requiredObjectSlot)) {
|
if (Object_IsLoaded(&play->objectCtx, this->requiredObjectSlot)) {
|
||||||
// "End of transfer"
|
// "End of transfer"
|
||||||
PRINTF(VT_FGCOL(GREEN) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params, this);
|
PRINTF(VT_FGCOL(GREEN) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params);
|
||||||
PRINTF(VT_FGCOL(YELLOW) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params, this);
|
PRINTF(VT_FGCOL(YELLOW) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params);
|
||||||
PRINTF(VT_FGCOL(BLUE) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params, this);
|
PRINTF(VT_FGCOL(BLUE) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params);
|
||||||
PRINTF(VT_FGCOL(MAGENTA) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params, this);
|
PRINTF(VT_FGCOL(MAGENTA) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n" VT_RST, this->actor.params);
|
||||||
PRINTF(VT_FGCOL(CYAN) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n\n" VT_RST, this->actor.params, this);
|
PRINTF(VT_FGCOL(CYAN) "☆☆☆☆☆ 転送終了 ☆☆☆☆☆ %d\n\n" VT_RST, this->actor.params);
|
||||||
this->actor.objectSlot = this->requiredObjectSlot;
|
this->actor.objectSlot = this->requiredObjectSlot;
|
||||||
this->actor.draw = EnExItem_Draw;
|
this->actor.draw = EnExItem_Draw;
|
||||||
this->stopRotate = false;
|
this->stopRotate = false;
|
||||||
|
|
|
@ -142,7 +142,7 @@ void EnHonotrap_GetNormal(Vec3f* normal, Vec3f* vec) {
|
||||||
f32 magnitude = Math3D_Vec3fMagnitude(vec);
|
f32 magnitude = Math3D_Vec3fMagnitude(vec);
|
||||||
|
|
||||||
if (magnitude < 0.001f) {
|
if (magnitude < 0.001f) {
|
||||||
PRINTF("Warning : vector size zero (%s %d)\n", "../z_en_honotrap.c", 328, normal);
|
PRINTF("Warning : vector size zero (%s %d)\n", "../z_en_honotrap.c", 328);
|
||||||
|
|
||||||
normal->x = normal->y = 0.0f;
|
normal->x = normal->y = 0.0f;
|
||||||
normal->z = 1.0f;
|
normal->z = 1.0f;
|
||||||
|
|
|
@ -430,7 +430,7 @@ void EnSyatekiMan_RestartGame(EnSyatekiMan* this, PlayState* play) {
|
||||||
this->gameResult = SYATEKI_RESULT_NONE;
|
this->gameResult = SYATEKI_RESULT_NONE;
|
||||||
this->actionFunc = EnSyatekiMan_WaitForGame;
|
this->actionFunc = EnSyatekiMan_WaitForGame;
|
||||||
// "Let's try again! Baby!"
|
// "Let's try again! Baby!"
|
||||||
PRINTF(VT_FGCOL(BLUE) "再挑戦だぜ!ベイビー!" VT_RST "\n", this);
|
PRINTF(VT_FGCOL(BLUE) "再挑戦だぜ!ベイビー!" VT_RST "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue