1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-24 07:51:48 +00:00

Format all translation comments like // "..." (hopefully all of them) (#986)

* Format all translation comments like `// "..."` (hopefully all of them)

* Move translation comments to before on long lines

Located them with `grep -r src -e '^[^(]*);[ ]*//'`
Regex `osSyncPrintf\([^;]*\n.*//` didn't find more

* Format two more
This commit is contained in:
Dragorn421 2021-09-29 01:53:56 +02:00 committed by GitHub
parent 063b4aed0c
commit c57c0f13fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
95 changed files with 404 additions and 404 deletions

View file

@ -476,7 +476,7 @@ void ObjBean_Init(Actor* thisx, GlobalContext* globalCtx) {
path = (this->dyna.actor.params >> 8) & 0x1F;
if (path == 0x1F) {
osSyncPrintf(VT_COL(RED, WHITE));
// No path data?
// "No path data?"
osSyncPrintf("パスデータが無い?(%s %d)(arg_data %xH)\n", "../z_obj_bean.c", 909,
this->dyna.actor.params);
osSyncPrintf(VT_RST);
@ -485,7 +485,7 @@ void ObjBean_Init(Actor* thisx, GlobalContext* globalCtx) {
}
if (globalCtx->setupPathList[path].count < 3) {
osSyncPrintf(VT_COL(RED, WHITE));
// Incorrect number of path data
// "Incorrect number of path data"
osSyncPrintf("パスデータ数が不正(%s %d)(arg_data %xH)\n", "../z_obj_bean.c", 921,
this->dyna.actor.params);
osSyncPrintf(VT_RST);
@ -515,7 +515,7 @@ void ObjBean_Init(Actor* thisx, GlobalContext* globalCtx) {
ObjBean_SetupWaitForBean(this);
}
this->dyna.actor.world.rot.z = this->dyna.actor.home.rot.z = this->dyna.actor.shape.rot.z = 0;
// Magic bean tree lift
// "Magic bean tree lift"
osSyncPrintf("(魔法の豆の木リフト)(arg_data 0x%04x)\n", this->dyna.actor.params);
}
@ -893,7 +893,7 @@ void ObjBean_Update(Actor* thisx, GlobalContext* globalCtx) {
if (ObjBean_CheckForHorseTrample(this, globalCtx)) {
osSyncPrintf(VT_FGCOL(CYAN));
// Horse and bean tree lift collision
// "Horse and bean tree lift collision"
osSyncPrintf("馬と豆の木リフト衝突!!!\n");
osSyncPrintf(VT_RST);
ObjBean_Break(this, globalCtx);