mirror of
https://github.com/zeldaret/oot.git
synced 2025-04-08 15:46:42 +00:00
T() macro in overlays 2 (#2487)
* T() "Warning : move BG" * more T() up to (incl.) z_bg_spot09 * T() done up to (including) z_bg_* * bulk T() "main/draw mode is wrong" * -> "the main mode is wrong" * "Lon Lon"
This commit is contained in:
parent
7972967a8a
commit
919b78ecbe
51 changed files with 188 additions and 155 deletions
|
@ -111,8 +111,9 @@ void BgBdanSwitch_InitDynaPoly(BgBdanSwitch* this, PlayState* play, CollisionHea
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_bdan_switch.c", 325,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_bdan_switch.c", 325, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -97,9 +97,8 @@ void BgBombwall_InitDynapoly(BgBombwall* this, PlayState* play) {
|
|||
this->dyna.bgId = DynaPoly_SetBgActor(play, &play->colCtx.dyna, &this->dyna.actor, colHeader);
|
||||
|
||||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
// "Warning : move BG login failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(arg_data 0x%04x)\n", "../z_bg_bombwall.c", 243,
|
||||
this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗", "Warning : move BG registration failed") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_bombwall.c", 243, this->dyna.actor.params);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -135,9 +135,9 @@ void BgIceShelter_InitDynaPoly(BgIceShelter* this, PlayState* play, CollisionHea
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG registration failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_ice_shelter.c", 362,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_ice_shelter.c", 362, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -85,9 +85,9 @@ void BgJya1flift_InitDynapoly(BgJya1flift* this, PlayState* play, CollisionHeade
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG login failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_jya_1flift.c", 179,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_jya_1flift.c", 179, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -60,8 +60,9 @@ void BgJyaAmishutter_InitDynaPoly(BgJyaAmishutter* this, PlayState* play, Collis
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_jya_amishutter.c", 129,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_jya_amishutter.c", 129, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -81,9 +81,9 @@ void BgJyaBombiwa_SetupDynaPoly(BgJyaBombiwa* this, PlayState* play, CollisionHe
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning: move BG registration failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_jya_bombiwa.c", 174,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_jya_bombiwa.c", 174, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -137,9 +137,9 @@ void BgJyaCobra_InitDynapoly(BgJyaCobra* this, PlayState* play, CollisionHeader*
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG Registration Failure"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_jya_cobra.c", 247,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_jya_cobra.c", 247, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -59,8 +59,9 @@ void BgJyaKanaami_InitDynaPoly(BgJyaKanaami* this, PlayState* play, CollisionHea
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_jya_kanaami.c", 145,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_jya_kanaami.c", 145, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -78,8 +78,9 @@ void BgJyaZurerukabe_InitDynaPoly(BgJyaZurerukabe* this, PlayState* play, Collis
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_jya_zurerukabe.c", 194,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_jya_zurerukabe.c", 194, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -72,9 +72,9 @@ void BgMoriBigst_InitDynapoly(BgMoriBigst* this, PlayState* play, CollisionHeade
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG login failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_mori_bigst.c", 190,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_mori_bigst.c", 190, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -99,9 +99,9 @@ void BgMoriHashigo_InitDynapoly(BgMoriHashigo* this, PlayState* play, CollisionH
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG login failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_mori_hashigo.c", 164,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_mori_hashigo.c", 164, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -70,9 +70,9 @@ void BgMoriHashira4_InitDynaPoly(BgMoriHashira4* this, PlayState* play, Collisio
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG login failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_mori_hashira4.c", 155,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_mori_hashira4.c", 155, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -191,7 +191,8 @@ f32 func_808AB1DC(f32 arg0, f32 arg1, u16 arg2, u16 arg3, u16 arg4) {
|
|||
temp_f12 = regFloat * diff43;
|
||||
return (((((arg1 - arg0) - temp_f12) / SQ(diff23)) * diff43) * diff43) + temp_f12;
|
||||
}
|
||||
PRINTF(VT_FGCOL(RED) "Bg_Spot01_Idohashira_Get_FreeFallで割り算出来ない!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("Bg_Spot01_Idohashira_Get_FreeFallで割り算出来ない!!!!!!!!!!!!!!\n",
|
||||
"Bg_Spot01_Idohashira_Get_FreeFall Cannot divide by!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
|
@ -266,7 +267,8 @@ void func_808AB444(BgSpot01Idohashira* this, PlayState* play) {
|
|||
Actor_Kill(&this->dyna.actor);
|
||||
break;
|
||||
default:
|
||||
PRINTF("Bg_Spot01_Idohashira_Check_DemoMode:そんな動作は無い!!!!!!!!\n");
|
||||
PRINTF(T("Bg_Spot01_Idohashira_Check_DemoMode:そんな動作は無い!!!!!!!!\n",
|
||||
"Bg_Spot01_Idohashira_Check_DemoMode: There is no such action!!!!!!!!\n"));
|
||||
}
|
||||
|
||||
this->cueId = nextCueId;
|
||||
|
@ -296,7 +298,8 @@ void BgSpot01Idohashira_Update(Actor* thisx, PlayState* play) {
|
|||
BgSpot01Idohashira* this = (BgSpot01Idohashira*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= 4 || sActionFuncs[this->action] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -347,7 +350,8 @@ void BgSpot01Idohashira_Draw(Actor* thisx, PlayState* play) {
|
|||
BgSpot01Idohashira* this = (BgSpot01Idohashira*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig > 0 || sDrawFuncs[this->drawConfig] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -67,8 +67,8 @@ void BgSpot01Objects2_Init(Actor* thisx, PlayState* play) {
|
|||
if (this->objectId >= 0) {
|
||||
this->requiredObjectSlot = Object_GetSlot(&play->objectCtx, this->objectId);
|
||||
if (this->requiredObjectSlot < 0) {
|
||||
// "There was no bank setting."
|
||||
PRINTF("-----------------------------バンク設定ありませんでした.");
|
||||
PRINTF(T("-----------------------------バンク設定ありませんでした.",
|
||||
"----------------------------- There was no bank setting."));
|
||||
Actor_Kill(&this->dyna.actor);
|
||||
return;
|
||||
}
|
||||
|
@ -98,8 +98,7 @@ void func_808AC2BC(BgSpot01Objects2* this, PlayState* play) {
|
|||
Vec3f position;
|
||||
|
||||
if (Object_IsLoaded(&play->objectCtx, this->requiredObjectSlot)) {
|
||||
// "---- Successful bank switching!!"
|
||||
PRINTF("-----バンク切り換え成功!!\n");
|
||||
PRINTF(T("-----バンク切り換え成功!!\n", "----- Successful bank switching!!\n"));
|
||||
gSegments[6] = VIRTUAL_TO_PHYSICAL(play->objectCtx.slots[this->requiredObjectSlot].segment);
|
||||
|
||||
this->dyna.actor.objectSlot = this->requiredObjectSlot;
|
||||
|
|
|
@ -61,9 +61,9 @@ void BgSpot08Iceblock_InitDynaPoly(BgSpot08Iceblock* this, PlayState* play, Coll
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning: move BG registration failed"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_spot08_iceblock.c", 0xD9,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot08_iceblock.c", 0xD9, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -75,9 +75,9 @@ void BgSpot08Iceblock_CheckParams(BgSpot08Iceblock* this) {
|
|||
this->dyna.actor.params = 0x10;
|
||||
break;
|
||||
default:
|
||||
// "Error: arg_data setting error"
|
||||
PRINTF("Error : arg_data 設定ミスです。(%s %d)(arg_data 0x%04x)\n", "../z_bg_spot08_iceblock.c", 0xF6,
|
||||
this->dyna.actor.params);
|
||||
PRINTF(
|
||||
T("Error : arg_data 設定ミスです。", "Error : arg_data setting error. ") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot08_iceblock.c", 0xF6, this->dyna.actor.params);
|
||||
this->dyna.actor.params = 0x10;
|
||||
break;
|
||||
case 1:
|
||||
|
@ -298,8 +298,7 @@ void BgSpot08Iceblock_Init(Actor* thisx, PlayState* play) {
|
|||
BgSpot08Iceblock* this = (BgSpot08Iceblock*)thisx;
|
||||
CollisionHeader* colHeader;
|
||||
|
||||
// "spot08 ice floe"
|
||||
PRINTF("(spot08 流氷)(arg_data 0x%04x)\n", this->dyna.actor.params);
|
||||
PRINTF("(spot08 " T("流氷", "ice floe") ")(arg_data 0x%04x)\n", this->dyna.actor.params);
|
||||
BgSpot08Iceblock_CheckParams(this);
|
||||
|
||||
switch (PARAMS_GET_NOSHIFT(this->dyna.actor.params, 9, 1)) {
|
||||
|
|
|
@ -145,12 +145,13 @@ s32 func_808B1D44(BgSpot09Obj* this, PlayState* play) {
|
|||
void BgSpot09Obj_Init(Actor* thisx, PlayState* play) {
|
||||
BgSpot09Obj* this = (BgSpot09Obj*)thisx;
|
||||
|
||||
PRINTF("Spot09 Object [arg_data : 0x%04x](大工救出フラグ 0x%x)\n", this->dyna.actor.params,
|
||||
GET_EVENTCHKINF_CARPENTERS_RESCUED_FLAGS());
|
||||
PRINTF("Spot09 Object [arg_data : 0x%04x](" T("大工救出フラグ", "Carpenter Rescue Flag") " 0x%x)\n",
|
||||
this->dyna.actor.params, GET_EVENTCHKINF_CARPENTERS_RESCUED_FLAGS());
|
||||
this->dyna.actor.params &= 0xFF;
|
||||
if ((this->dyna.actor.params < 0) || (this->dyna.actor.params >= 5)) {
|
||||
PRINTF("Error : Spot 09 object の arg_data が判別出来ない(%s %d)(arg_data 0x%04x)\n", "../z_bg_spot09_obj.c",
|
||||
322, this->dyna.actor.params);
|
||||
PRINTF(T("Error : Spot 09 object の arg_data が判別出来ない",
|
||||
"Error : Spot 09 object arg_data cannot be determined") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot09_obj.c", 322, this->dyna.actor.params);
|
||||
}
|
||||
|
||||
if (!func_808B1C70(this, play)) {
|
||||
|
|
|
@ -128,7 +128,7 @@ void BgSpot11Bakudankabe_Init(Actor* thisx, PlayState* play) {
|
|||
CollisionHeader_GetVirtual(&gDesertColossusBombableWallCol, &colHeader);
|
||||
this->dyna.bgId = DynaPoly_SetBgActor(play, &play->colCtx.dyna, &this->dyna.actor, colHeader);
|
||||
Actor_SetScale(&this->dyna.actor, 1.0f);
|
||||
PRINTF("(spot11 爆弾壁)(arg_data 0x%04x)\n", this->dyna.actor.params);
|
||||
PRINTF("(spot11 " T("爆弾壁", "Bomb Wall") ")(arg_data 0x%04x)\n", this->dyna.actor.params);
|
||||
}
|
||||
|
||||
void BgSpot11Bakudankabe_Destroy(Actor* thisx, PlayState* play) {
|
||||
|
|
|
@ -62,8 +62,9 @@ void BgSpot12Gate_InitDynaPoly(BgSpot12Gate* this, PlayState* play, CollisionHea
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_spot12_gate.c", 145,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot12_gate.c", 145, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -59,8 +59,9 @@ void func_808B3420(BgSpot12Saku* this, PlayState* play, CollisionHeader* collisi
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_spot12_saku.c", 140,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot12_saku.c", 140, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -76,8 +76,9 @@ void func_808B3960(BgSpot15Rrbox* this, PlayState* play, CollisionHeader* collis
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_bg_spot15_rrbox.c", 171,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot15_rrbox.c", 171, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -142,7 +143,7 @@ void BgSpot15Rrbox_Init(Actor* thisx, PlayState* play) {
|
|||
} else {
|
||||
func_808B4084(this, play);
|
||||
}
|
||||
PRINTF("(spot15 ロンロン木箱)(arg_data 0x%04x)\n", this->dyna.actor.params);
|
||||
PRINTF("(spot15 " T("ロンロン木箱", "Lon Lon Wooden Box") ")(arg_data 0x%04x)\n", this->dyna.actor.params);
|
||||
}
|
||||
|
||||
void BgSpot15Rrbox_Destroy(Actor* thisx, PlayState* play) {
|
||||
|
@ -329,9 +330,8 @@ void func_808B43D0(BgSpot15Rrbox* this, PlayState* play) {
|
|||
Actor_MoveXZGravity(actor);
|
||||
|
||||
if (actor->world.pos.y <= BGCHECK_Y_MIN + 10.0f) {
|
||||
// "Lon Lon wooden crate fell too much"
|
||||
PRINTF("Warning : ロンロン木箱落ちすぎた(%s %d)(arg_data 0x%04x)\n", "../z_bg_spot15_rrbox.c", 599,
|
||||
actor->params);
|
||||
PRINTF("Warning : " T("ロンロン木箱落ちすぎた", "Lon Lon Wooden Box fell too far") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot15_rrbox.c", 599, actor->params);
|
||||
|
||||
Actor_Kill(actor);
|
||||
|
||||
|
|
|
@ -187,7 +187,7 @@ void func_808B4D04(BgSpot16Bombstone* this, PlayState* play) {
|
|||
|
||||
s32 func_808B4D9C(BgSpot16Bombstone* this, PlayState* play) {
|
||||
if (Flags_GetSwitch(play, this->switchFlag)) {
|
||||
PRINTF("Spot16 obj 爆弾石 破壊済み\n");
|
||||
PRINTF(T("Spot16 obj 爆弾石 破壊済み\n", "Spot16 obj Bomb Stone destroyed\n"));
|
||||
return false;
|
||||
}
|
||||
Actor_ProcessInitChain(&this->actor, sInitChainBoulder);
|
||||
|
@ -237,7 +237,8 @@ s32 func_808B4E58(BgSpot16Bombstone* this, PlayState* play) {
|
|||
this->requiredObjectSlot = Object_GetSlot(&play->objectCtx, OBJECT_BOMBIWA);
|
||||
|
||||
if (this->requiredObjectSlot < 0) {
|
||||
PRINTF("Error : バンク危険!(arg_data 0x%04x)(%s %d)\n", actor->params, "../z_bg_spot16_bombstone.c", 589);
|
||||
PRINTF("Error : " T("バンク危険!", "Bank danger! ") "(arg_data 0x%04x)(%s %d)\n", actor->params,
|
||||
"../z_bg_spot16_bombstone.c", 589);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -269,8 +270,8 @@ void BgSpot16Bombstone_Init(Actor* thisx, PlayState* play) {
|
|||
|
||||
#if DEBUG_FEATURES
|
||||
default:
|
||||
PRINTF("Error : arg_data おかしいな(%s %d)(arg_data 0x%04x)\n", "../z_bg_spot16_bombstone.c", 668,
|
||||
this->actor.params);
|
||||
PRINTF(T("Error : arg_data おかしいな", "Error : arg_data is strange") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot16_bombstone.c", 668, this->actor.params);
|
||||
shouldLive = false;
|
||||
break;
|
||||
#endif
|
||||
|
@ -280,7 +281,8 @@ void BgSpot16Bombstone_Init(Actor* thisx, PlayState* play) {
|
|||
Actor_Kill(&this->actor);
|
||||
return;
|
||||
}
|
||||
PRINTF("Spot16 obj 爆弾石 (scaleX %f)(arg_data 0x%04x)\n", this->actor.scale.x, this->actor.params);
|
||||
PRINTF("Spot16 obj " T("爆弾石", "Bomb Stone") " (scaleX %f)(arg_data 0x%04x)\n", this->actor.scale.x,
|
||||
this->actor.params);
|
||||
}
|
||||
|
||||
void BgSpot16Bombstone_Destroy(Actor* thisx, PlayState* play) {
|
||||
|
@ -403,8 +405,8 @@ void func_808B56BC(BgSpot16Bombstone* this, PlayState* play) {
|
|||
player->actor.world.pos.x += sinValue * this->sinRotation;
|
||||
player->actor.world.pos.z += sinValue * this->cosRotation;
|
||||
} else {
|
||||
PRINTF("Error 補正出来ない(%s %d)(arg_data 0x%04x)(hosei_angY %x)\n", "../z_bg_spot16_bombstone.c", 935,
|
||||
this->actor.params, adjustedYawDiff);
|
||||
PRINTF(T("Error 補正出来ない", "Error Can't correct") "(%s %d)(arg_data 0x%04x)(hosei_angY %x)\n",
|
||||
"../z_bg_spot16_bombstone.c", 935, this->actor.params, adjustedYawDiff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,7 +83,7 @@ void BgSpot16Doughnut_Init(Actor* thisx, PlayState* play) {
|
|||
} else {
|
||||
this->fireFlag |= 1;
|
||||
}
|
||||
PRINTF("(spot16 ドーナツ雲)(arg_data 0x%04x)\n", this->actor.params);
|
||||
PRINTF(T("(spot16 ドーナツ雲)", "(spot16 Donut Cloud)") "(arg_data 0x%04x)\n", this->actor.params);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ void BgSpot17Funen_Init(Actor* thisx, PlayState* play) {
|
|||
BgSpot17Funen* this = (BgSpot17Funen*)thisx;
|
||||
|
||||
Actor_ProcessInitChain(&this->actor, sInitChain);
|
||||
PRINTF("spot17 obj. 噴煙 (arg_data 0x%04x)\n", this->actor.params);
|
||||
PRINTF("spot17 obj. " T("噴煙", "volcanic smoke") " (arg_data 0x%04x)\n", this->actor.params);
|
||||
}
|
||||
|
||||
void BgSpot17Funen_Destroy(Actor* thisx, PlayState* play) {
|
||||
|
|
|
@ -168,7 +168,8 @@ void BgSpot18Basket_Init(Actor* thisx, PlayState* play) {
|
|||
|
||||
if (this->dyna.actor.child == NULL) {
|
||||
PRINTF_COLOR_RED();
|
||||
PRINTF("Error : 変化壷蓋発生失敗(%s %d)\n", "../z_bg_spot18_basket.c", 351);
|
||||
PRINTF(T("Error : 変化壷蓋発生失敗", "Error : Failed to generate the change pot cover") "(%s %d)\n",
|
||||
"../z_bg_spot18_basket.c", 351);
|
||||
PRINTF_RST();
|
||||
Actor_Kill(&this->dyna.actor);
|
||||
}
|
||||
|
|
|
@ -105,8 +105,8 @@ s32 func_808B8910(BgSpot18Obj* this, PlayState* play) {
|
|||
} else if (LINK_AGE_IN_YEARS == YEARS_CHILD) {
|
||||
age = 0;
|
||||
} else {
|
||||
PRINTF("Error : リンク年齢不詳 (%s %d)(arg_data 0x%04x)\n", "../z_bg_spot18_obj.c", 182,
|
||||
this->dyna.actor.params);
|
||||
PRINTF(T("Error : リンク年齢不詳", "Error : Link age unknown") " (%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot18_obj.c", 182, this->dyna.actor.params);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -114,16 +114,17 @@ s32 func_808B8910(BgSpot18Obj* this, PlayState* play) {
|
|||
case 0:
|
||||
case 1:
|
||||
if (D_808B90F0[PARAMS_GET_U(this->dyna.actor.params, 0, 4)][age] == 0) {
|
||||
PRINTF("出現しない Object (0x%04x)\n", this->dyna.actor.params);
|
||||
PRINTF(T("出現しない Object (0x%04x)\n", "Non-appearing Object (0x%04x)\n"), this->dyna.actor.params);
|
||||
}
|
||||
return D_808B90F0[PARAMS_GET_U(this->dyna.actor.params, 0, 4)][age];
|
||||
case 2:
|
||||
PRINTF("Error : Obj出現判定が設定されていない(%s %d)(arg_data 0x%04x)\n", "../z_bg_spot18_obj.c", 202,
|
||||
this->dyna.actor.params);
|
||||
PRINTF(T("Error : Obj出現判定が設定されていない",
|
||||
"Error : Obj appearance detection is not set") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot18_obj.c", 202, this->dyna.actor.params);
|
||||
return 0;
|
||||
default:
|
||||
PRINTF("Error : Obj出現判定失敗(%s %d)(arg_data 0x%04x)\n", "../z_bg_spot18_obj.c", 210,
|
||||
this->dyna.actor.params);
|
||||
PRINTF(T("Error : Obj出現判定失敗", "Error : Obj appearance check failed") "(%s %d)(arg_data 0x%04x)\n",
|
||||
"../z_bg_spot18_obj.c", 210, this->dyna.actor.params);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -108,8 +108,8 @@ void BgZg_Update(Actor* thisx, PlayState* play) {
|
|||
s32 action = this->action;
|
||||
|
||||
if (((action < 0) || (1 < action)) || (sActionFuncs[action] == NULL)) {
|
||||
// "Main Mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sActionFuncs[action](this, play);
|
||||
}
|
||||
|
@ -155,8 +155,8 @@ void BgZg_Draw(Actor* thisx, PlayState* play) {
|
|||
s32 drawConfig = this->drawConfig;
|
||||
|
||||
if (((drawConfig < 0) || (drawConfig > 0)) || sDrawFuncs[drawConfig] == NULL) {
|
||||
// "Drawing mode is wrong !!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sDrawFuncs[drawConfig](this, play);
|
||||
}
|
||||
|
|
|
@ -977,8 +977,8 @@ void DemoDu_Update(Actor* thisx, PlayState* play) {
|
|||
DemoDu* this = (DemoDu*)thisx;
|
||||
|
||||
if (this->updateIndex < 0 || this->updateIndex >= 29 || sUpdateFuncs[this->updateIndex] == NULL) {
|
||||
// "The main mode is abnormal!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sUpdateFuncs[this->updateIndex](this, play);
|
||||
|
@ -1048,8 +1048,8 @@ void DemoDu_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoDu* this = (DemoDu*)thisx;
|
||||
|
||||
if (this->drawIndex < 0 || this->drawIndex >= 3 || sDrawFuncs[this->drawIndex] == NULL) {
|
||||
// "The drawing mode is abnormal!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawIndex](thisx, play);
|
||||
|
|
|
@ -1334,8 +1334,8 @@ void DemoEc_Update(Actor* thisx, PlayState* play) {
|
|||
s32 updateMode = this->updateMode;
|
||||
|
||||
if ((updateMode < 0) || (updateMode >= ARRAY_COUNT(sUpdateFuncs)) || sUpdateFuncs[updateMode] == NULL) {
|
||||
// "The main mode is strange !!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
if (updateMode != EC_UPDATE_COMMON) {
|
||||
DemoEc_UseAnimationObject(this, play);
|
||||
|
@ -1367,8 +1367,8 @@ void DemoEc_Draw(Actor* thisx, PlayState* play) {
|
|||
s32 drawConfig = this->drawConfig;
|
||||
|
||||
if ((drawConfig < 0) || (drawConfig >= ARRAY_COUNT(sDrawFuncs)) || sDrawFuncs[drawConfig] == NULL) {
|
||||
// "The main mode is strange !!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
if (drawConfig != EC_DRAW_COMMON) {
|
||||
DemoEc_UseDrawObject(this, play);
|
||||
|
|
|
@ -183,8 +183,8 @@ void DemoExt_Update(Actor* thisx, PlayState* play) {
|
|||
DemoExt* this = (DemoExt*)thisx;
|
||||
|
||||
if ((this->action < EXT_WAIT) || (this->action > EXT_DISPELL) || sActionFuncs[this->action] == NULL) {
|
||||
// "Main mode is abnormal!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sActionFuncs[this->action](this, play);
|
||||
}
|
||||
|
@ -237,8 +237,8 @@ void DemoExt_Draw(Actor* thisx, PlayState* play) {
|
|||
|
||||
if ((this->drawMode < EXT_DRAW_NOTHING) || (this->drawMode > EXT_DRAW_VORTEX) ||
|
||||
sDrawFuncs[this->drawMode] == NULL) {
|
||||
// "Draw mode is abnormal!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sDrawFuncs[this->drawMode](thisx, play);
|
||||
}
|
||||
|
|
|
@ -218,7 +218,8 @@ void DemoGeff_Update(Actor* thisx, PlayState* play) {
|
|||
DemoGeff* this = (DemoGeff*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= 2 || sActionFuncs[this->action] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -232,7 +233,8 @@ void DemoGeff_Draw(Actor* thisx, PlayState* play) {
|
|||
s32 drawConfig = this->drawConfig;
|
||||
|
||||
if (drawConfig < 0 || drawConfig >= 2 || sDrawFuncs[drawConfig] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
if (drawConfig != 0) {
|
||||
|
|
|
@ -1375,8 +1375,8 @@ void DemoGj_Update(Actor* thisx, PlayState* play) {
|
|||
|
||||
if (this->updateMode < 0 || this->updateMode >= ARRAY_COUNT(sUpdateFuncs) ||
|
||||
sUpdateFuncs[this->updateMode] == NULL) {
|
||||
// "The main mode is abnormal!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1467,8 +1467,8 @@ void DemoGj_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoGj* this = (DemoGj*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig >= ARRAY_COUNT(sDrawFuncs) || sDrawFuncs[this->drawConfig] == NULL) {
|
||||
// "The drawing mode is abnormal!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -330,7 +330,8 @@ void DemoGo_Update(Actor* thisx, PlayState* play) {
|
|||
DemoGo* this = (DemoGo*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= 7 || D_8097D44C[this->action] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
D_8097D44C[this->action](this, play);
|
||||
|
@ -371,7 +372,8 @@ void DemoGo_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoGo* this = (DemoGo*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig >= 2 || D_8097D468[this->drawConfig] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
D_8097D468[this->drawConfig](this, play);
|
||||
|
|
|
@ -1735,8 +1735,8 @@ void DemoGt_Update(Actor* thisx, PlayState* play) {
|
|||
DemoGtUpdateFunc updateFunc;
|
||||
|
||||
if ((this->updateMode < 0) || (this->updateMode >= 19) || (updateFunc = sUpdateFuncs[this->updateMode]) == NULL) {
|
||||
// "The main mode is strange!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1791,8 +1791,8 @@ void DemoGt_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoGtDrawFunc drawFunc;
|
||||
|
||||
if ((this->drawConfig < 0) || (this->drawConfig >= 9) || (drawFunc = sDrawFuncs[this->drawConfig]) == NULL) {
|
||||
// "The drawing mode is strange !!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -478,8 +478,8 @@ void DemoIk_Update(Actor* thisx, PlayState* play) {
|
|||
|
||||
if (this->actionMode < 0 || this->actionMode >= ARRAY_COUNT(sActionFuncs) ||
|
||||
sActionFuncs[this->actionMode] == NULL) {
|
||||
// "The main mode is strange"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->actionMode](this, play);
|
||||
|
@ -499,8 +499,8 @@ void DemoIk_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoIk* this = (DemoIk*)thisx;
|
||||
|
||||
if (this->drawMode < 0 || this->drawMode >= ARRAY_COUNT(sDrawFuncs) || sDrawFuncs[this->drawMode] == NULL) {
|
||||
// "The draw mode is strange"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawMode](this, play);
|
||||
|
|
|
@ -1122,7 +1122,8 @@ void DemoIm_Update(Actor* thisx, PlayState* play) {
|
|||
DemoIm* this = (DemoIm*)thisx;
|
||||
|
||||
if ((this->action < 0) || (this->action >= 31) || (sActionFuncs[this->action] == NULL)) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -1233,7 +1234,8 @@ void DemoIm_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoIm* this = (DemoIm*)thisx;
|
||||
|
||||
if ((this->drawConfig < 0) || (this->drawConfig >= 3) || (sDrawFuncs[this->drawConfig] == NULL)) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -779,7 +779,8 @@ void DemoSa_Update(Actor* thisx, PlayState* play) {
|
|||
DemoSa* this = (DemoSa*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= 21 || sActionFuncs[this->action] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -849,7 +850,8 @@ void DemoSa_Draw(Actor* thisx, PlayState* play) {
|
|||
DemoSa* this = (DemoSa*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig >= 3 || sDrawFuncs[this->drawConfig] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -73,8 +73,8 @@ void EnEg_Update(Actor* thisx, PlayState* play) {
|
|||
s32 action = this->action;
|
||||
|
||||
if (((action < 0) || (0 < action)) || (sActionFuncs[action] == NULL)) {
|
||||
// "Main Mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sActionFuncs[action](this, play);
|
||||
}
|
||||
|
|
|
@ -1412,7 +1412,8 @@ void EnIk_UpdateCutscene(Actor* thisx, PlayState* play) {
|
|||
EnIk* this = (EnIk*)thisx;
|
||||
|
||||
if (this->csAction < 0 || this->csAction >= ARRAY_COUNT(sCsActionFuncs) || sCsActionFuncs[this->csAction] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1506,7 +1507,8 @@ void EnIk_DrawCutscene(Actor* thisx, PlayState* play) {
|
|||
|
||||
if (this->csDrawMode < 0 || this->csDrawMode >= ARRAY_COUNT(sCsDrawFuncs) ||
|
||||
sCsDrawFuncs[this->csDrawMode] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1458,8 +1458,8 @@ void EnNb_Update(Actor* thisx, PlayState* play) {
|
|||
EnNb* this = (EnNb*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action > 30 || sActionFuncs[this->action] == NULL) {
|
||||
// "Main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1566,8 +1566,8 @@ void EnNb_Draw(Actor* thisx, PlayState* play) {
|
|||
EnNb* this = (EnNb*)thisx;
|
||||
|
||||
if (this->drawMode < 0 || this->drawMode >= 5 || sDrawFuncs[this->drawMode] == NULL) {
|
||||
// "Draw mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -349,7 +349,8 @@ void EnRl_Update(Actor* thisx, PlayState* play) {
|
|||
EnRl* this = (EnRl*)thisx;
|
||||
|
||||
if ((this->action < 0) || (this->action > 7) || (sActionFuncs[this->action] == NULL)) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -398,7 +399,8 @@ void EnRl_Draw(Actor* thisx, PlayState* play) {
|
|||
EnRl* this = (EnRl*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig >= 3 || sDrawFuncs[this->drawConfig] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -2266,8 +2266,8 @@ void EnRu1_Update(Actor* thisx, PlayState* play) {
|
|||
EnRu1* this = (EnRu1*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= ARRAY_COUNT(sActionFuncs) || sActionFuncs[this->action] == NULL) {
|
||||
// "Main mode is improper!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2420,8 +2420,8 @@ void EnRu1_Draw(Actor* thisx, PlayState* play) {
|
|||
EnRu1* this = (EnRu1*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig >= ARRAY_COUNT(sDrawFuncs) || sDrawFuncs[this->drawConfig] == NULL) {
|
||||
// "Draw mode is improper!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -921,8 +921,8 @@ void EnRu2_Update(Actor* thisx, PlayState* play) {
|
|||
EnRu2* this = (EnRu2*)thisx;
|
||||
|
||||
if ((this->action < 0) || (this->action >= ARRAY_COUNT(sActionFuncs)) || (sActionFuncs[this->action] == NULL)) {
|
||||
// "Main Mode is improper!"
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -982,8 +982,8 @@ void EnRu2_Draw(Actor* thisx, PlayState* play) {
|
|||
|
||||
if ((this->drawConfig < 0) || (this->drawConfig >= ARRAY_COUNT(sDrawFuncs)) ||
|
||||
(sDrawFuncs[this->drawConfig] == NULL)) {
|
||||
// "Draw Mode is improper!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -2349,7 +2349,8 @@ void EnXc_Update(Actor* thisx, PlayState* play) {
|
|||
s32 action = this->action;
|
||||
|
||||
if ((action < 0) || (action >= ARRAY_COUNT(sActionFuncs)) || (sActionFuncs[action] == NULL)) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sActionFuncs[action](this, play);
|
||||
}
|
||||
|
@ -2466,8 +2467,8 @@ void EnXc_Draw(Actor* thisx, PlayState* play) {
|
|||
EnXc* this = (EnXc*)thisx;
|
||||
|
||||
if (this->drawMode < 0 || this->drawMode > 5 || sDrawFuncs[this->drawMode] == NULL) {
|
||||
// "Draw mode is abnormal!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
} else {
|
||||
sDrawFuncs[this->drawMode](thisx, play);
|
||||
}
|
||||
|
|
|
@ -1632,7 +1632,8 @@ void EnZl2_Update(Actor* thisx, PlayState* play) {
|
|||
EnZl2* this = (EnZl2*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= 0x24 || sActionFuncs[this->action] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -1728,7 +1729,8 @@ void EnZl2_Draw(Actor* thisx, PlayState* play) {
|
|||
EnZl2* this = (EnZl2*)thisx;
|
||||
|
||||
if ((this->drawConfig < 0) || (this->drawConfig >= 3) || (sDrawFuncs[this->drawConfig] == NULL)) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -2690,7 +2690,8 @@ void EnZl3_Update(Actor* thisx, PlayState* play) {
|
|||
EnZl3* this = (EnZl3*)thisx;
|
||||
|
||||
if (this->action < 0 || this->action >= ARRAY_COUNT(sActionFuncs) || sActionFuncs[this->action] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The main mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sActionFuncs[this->action](this, play);
|
||||
|
@ -2799,7 +2800,8 @@ void EnZl3_Draw(Actor* thisx, PlayState* play) {
|
|||
EnZl3* this = (EnZl3*)thisx;
|
||||
|
||||
if (this->drawConfig < 0 || this->drawConfig >= 3 || sDrawFuncs[this->drawConfig] == NULL) {
|
||||
PRINTF(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
|
||||
PRINTF(VT_FGCOL(RED) T("描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n",
|
||||
"The drawing mode is wrong!!!!!!!!!!!!!!!!!!!!!!!!!\n") VT_RST);
|
||||
return;
|
||||
}
|
||||
sDrawFuncs[this->drawConfig](this, play);
|
||||
|
|
|
@ -161,8 +161,9 @@ void ObjBean_InitDynaPoly(ObjBean* this, PlayState* play, CollisionHeader* colli
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_obj_bean.c", 374,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_obj_bean.c", 374, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -61,8 +61,9 @@ void func_80B92B08(ObjElevator* this, PlayState* play, CollisionHeader* collisio
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_obj_elevator.c", 136,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_obj_elevator.c", 136, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -73,8 +73,9 @@ void func_80B93B68(ObjHsblock* this, PlayState* play, CollisionHeader* collision
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_obj_hsblock.c", 163,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_obj_hsblock.c", 163, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -81,8 +81,9 @@ void ObjLift_InitDynaPoly(ObjLift* this, PlayState* play, CollisionHeader* colli
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_obj_lift.c", 188,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_obj_lift.c", 188, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -108,9 +108,9 @@ void ObjOshihiki_InitDynapoly(ObjOshihiki* this, PlayState* play, CollisionHeade
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG registration failure"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_obj_oshihiki.c", 280,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_obj_oshihiki.c", 280, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -215,9 +215,9 @@ void ObjSwitch_InitDynaPoly(ObjSwitch* this, PlayState* play, CollisionHeader* c
|
|||
if (this->dyna.bgId == BG_ACTOR_MAX) {
|
||||
s32 pad2;
|
||||
|
||||
// "Warning : move BG registration failure"
|
||||
PRINTF("Warning : move BG 登録失敗(%s %d)(name %d)(arg_data 0x%04x)\n", "../z_obj_switch.c", 531,
|
||||
this->dyna.actor.id, this->dyna.actor.params);
|
||||
PRINTF(T("Warning : move BG 登録失敗",
|
||||
"Warning : move BG registration failed") "(%s %d)(name %d)(arg_data 0x%04x)\n",
|
||||
"../z_obj_switch.c", 531, this->dyna.actor.id, this->dyna.actor.params);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue