1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-30 18:55:54 +00:00

T() macro 4 (#2084)

* T() in z_kankyo.c

* T() in z_demo.c

* T() in z_effect.c

* remaining T() in z_sram.c

* T() in z_en_encount1.c

* T() in z_en_owl.c

* T() in z_en_wonder_item.c

* fix forgot T

* Demonstration -> Demo
This commit is contained in:
Dragorn421 2024-08-25 02:58:05 +02:00 committed by GitHub
commit 271eff9234
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 79 additions and 79 deletions

View file

@ -146,9 +146,10 @@ void Effect_Add(PlayState* play, s32* pIndex, s32 type, u8 arg3, u8 arg4, void*
}
if (!slotFound) {
// "EffectAdd(): I cannot secure it. Be careful. Type %d"
PRINTF("EffectAdd():確保できません。注意してください。Type%d\n", type);
PRINTF("エフェクト追加せずに終了します。\n"); // "Exit without adding the effect."
PRINTF(T("EffectAdd():確保できません。注意してください。Type%d\n",
"EffectAdd(): I cannot secure it. Be careful. Type %d\n"),
type);
PRINTF(T("エフェクト追加せずに終了します。\n", "Exit without adding the effect.\n"));
} else {
sEffectInfoTable[type].init(effect, initParams);
status->unk_02 = arg3;
@ -240,7 +241,7 @@ void Effect_Delete(PlayState* play, s32 index) {
void Effect_DeleteAll(PlayState* play) {
s32 i;
PRINTF("エフェクト総て解放\n"); // "All effect release"
PRINTF(T("エフェクト総て解放\n", "All effects release\n"));
for (i = 0; i < SPARK_COUNT; i++) {
sEffectContext.sparks[i].status.active = false;
@ -257,5 +258,5 @@ void Effect_DeleteAll(PlayState* play) {
sEffectInfoTable[EFFECT_SHIELD_PARTICLE].destroy(&sEffectContext.shieldParticles[i].effect);
}
PRINTF("エフェクト総て解放 終了\n"); // "All effects release End"
PRINTF(T("エフェクト総て解放 終了\n", "All effects release End\n"));
}