mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 13:24:45 +00:00
T() macro 6 (#2090)
* T() in z_skelanime.c * T() in z_eff_blure.c * T() in z_play.c * T() in z_jpeg.c * T() in z_horse.c * T() in z_eff_spark.c * T() in z_malloc.c * T() in z_effect_soft_sprite.c * add todo on translating "確保" (litterally ~"secure", but may be better as "allocate"-ish) * review * format
This commit is contained in:
parent
fd14ddcbf1
commit
6b58a15fc0
8 changed files with 106 additions and 102 deletions
|
@ -12,8 +12,8 @@ void EffectBlure_AddVertex(EffectBlure* this, Vec3f* p1, Vec3f* p2) {
|
|||
if (this != NULL) {
|
||||
numElements = this->numElements;
|
||||
if (numElements >= 16) {
|
||||
// "Blure vertex addition processing: Table over %d"
|
||||
PRINTF("ブラ─頂点追加処理:テーブルオーバー %d\n", numElements);
|
||||
PRINTF(T("ブラ─頂点追加処理:テーブルオーバー %d\n", "Blur - vertex addition processing: Table over %d\n"),
|
||||
numElements);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -81,8 +81,8 @@ void EffectBlure_AddSpace(EffectBlure* this) {
|
|||
if (this != NULL) {
|
||||
numElements = this->numElements;
|
||||
if (numElements >= 16) {
|
||||
// "Blure space addition processing: Table over %d"
|
||||
PRINTF("ブラ─空白追加処理:テーブルオーバー %d\n", numElements);
|
||||
PRINTF(T("ブラ─空白追加処理:テーブルオーバー %d\n", "Blur - space addition processing: Table over %d\n"),
|
||||
numElements);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -397,8 +397,8 @@ void EffectBlure_DrawElemNoInterpolation(EffectBlure* this, EffectBlureElement*
|
|||
|
||||
vtx = GRAPH_ALLOC(gfxCtx, sizeof(Vtx[4]));
|
||||
if (vtx == NULL) {
|
||||
// "Vertices cannot be secured."
|
||||
PRINTF("z_eff_blure.c::SQ_NoInterpolate_disp() 頂点確保できず。\n");
|
||||
PRINTF(T("z_eff_blure.c::SQ_NoInterpolate_disp() 頂点確保できず。\n",
|
||||
"z_eff_blure.c::SQ_NoInterpolate_disp() Vertices cannot be secured.\n"));
|
||||
} else {
|
||||
vtx[0].v = baseVtx;
|
||||
vtx[1].v = baseVtx;
|
||||
|
@ -556,8 +556,8 @@ void EffectBlure_DrawElemHermiteInterpolation(EffectBlure* this, EffectBlureElem
|
|||
|
||||
vtx = GRAPH_ALLOC(gfxCtx, sizeof(Vtx[16]));
|
||||
if (vtx == NULL) {
|
||||
// "Vertices cannot be secured."
|
||||
PRINTF("z_eff_blure.c::SQ_HermiteInterpolate_disp() 頂点確保できず。\n");
|
||||
PRINTF(T("z_eff_blure.c::SQ_HermiteInterpolate_disp() 頂点確保できず。\n",
|
||||
"z_eff_blure.c::SQ_HermiteInterpolate_disp() Vertices cannot be secured.\n"));
|
||||
} else {
|
||||
Math_Vec3f_Diff(&sp1CC, &sp138, &sp158);
|
||||
Math_Vec3f_Scale(&sp158, 10.0f);
|
||||
|
@ -799,8 +799,9 @@ void EffectBlure_DrawSimpleVertices(GraphicsContext* gfxCtx, EffectBlure* this,
|
|||
|
||||
mtx = SkinMatrix_MtxFToNewMtx(gfxCtx, &sp94);
|
||||
if (mtx == NULL) {
|
||||
// "Forced termination because a matrix cannot be taken"
|
||||
PRINTF("EffectBlureInfo2_disp_makeDisplayList()マトリックス取れないので,強制終了\n");
|
||||
PRINTF(T("EffectBlureInfo2_disp_makeDisplayList()マトリックス取れないので,強制終了\n",
|
||||
"EffectBlureInfo2_disp_makeDisplayList() Forced termination because a matrix cannot "
|
||||
"be taken\n"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -851,8 +852,8 @@ void EffectBlure_DrawSimple(EffectBlure* this2, GraphicsContext* gfxCtx) {
|
|||
|
||||
vtx = GRAPH_ALLOC(gfxCtx, vtxCount * sizeof(Vtx));
|
||||
if (vtx == NULL) {
|
||||
// "Vertices cannot be secured. Forced termination"
|
||||
PRINTF("ブラ─表示:頂点確保できず。強制終了\n");
|
||||
PRINTF(T("ブラ─表示:頂点確保できず。強制終了\n",
|
||||
"Blur - display: vertices cannot be secured. Forced termination\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -945,8 +946,7 @@ void EffectBlure_Draw(void* thisx, GraphicsContext* gfxCtx) {
|
|||
|
||||
vtx = GRAPH_ALLOC(gfxCtx, sizeof(Vtx[32]));
|
||||
if (vtx == NULL) {
|
||||
// "Blure display: Vertex table could not be secured"
|
||||
PRINTF("ブラ─表示:頂点テーブル確保できず\n");
|
||||
PRINTF(T("ブラ─表示:頂点テーブル確保できず\n", "Blur - display: vertex table could not be secured\n"));
|
||||
} else {
|
||||
j = 0;
|
||||
for (i = 0; i < this->numElements; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue