mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 23:41:24 +00:00
Replace most osSyncPrintf calls with PRINTF macro (#1598)
* Replace most osSyncPrintf calls with PRINTF macro * DEBUG -> OOT_DEBUG
This commit is contained in:
parent
6eb3bf401c
commit
324db1d578
297 changed files with 2642 additions and 2679 deletions
|
@ -321,7 +321,7 @@ void EnRr_SetupReleasePlayer(EnRr* this, PlayState* play) {
|
|||
Message_StartTextbox(play, 0x3061, NULL);
|
||||
break;
|
||||
}
|
||||
osSyncPrintf(VT_FGCOL(YELLOW) "%s[%d] : Rr_Catch_Cancel" VT_RST "\n", "../z_en_rr.c", 650);
|
||||
PRINTF(VT_FGCOL(YELLOW) "%s[%d] : Rr_Catch_Cancel" VT_RST "\n", "../z_en_rr.c", 650);
|
||||
func_8002F6D4(play, &this->actor, 4.0f, this->actor.shape.rot.y, 12.0f, 8);
|
||||
if (this->actor.colorFilterTimer == 0) {
|
||||
this->actionFunc = EnRr_Approach;
|
||||
|
@ -416,7 +416,7 @@ void EnRr_CollisionCheck(EnRr* this, PlayState* play) {
|
|||
if (this->collider2.base.acFlags & AC_HIT) {
|
||||
this->collider2.base.acFlags &= ~AC_HIT;
|
||||
// "Kakin" (not sure what this means)
|
||||
osSyncPrintf(VT_FGCOL(GREEN) "カキン(%d)!!" VT_RST "\n", this->frameCount);
|
||||
PRINTF(VT_FGCOL(GREEN) "カキン(%d)!!" VT_RST "\n", this->frameCount);
|
||||
hitPos.x = this->collider2.elem.bumper.hitPos.x;
|
||||
hitPos.y = this->collider2.elem.bumper.hitPos.y;
|
||||
hitPos.z = this->collider2.elem.bumper.hitPos.z;
|
||||
|
@ -447,9 +447,9 @@ void EnRr_CollisionCheck(EnRr* this, PlayState* play) {
|
|||
FALLTHROUGH;
|
||||
case RR_DMG_NORMAL:
|
||||
// "ouch"
|
||||
osSyncPrintf(VT_FGCOL(RED) "いてっ( %d : LIFE %d : DAMAGE %d : %x )!!" VT_RST "\n",
|
||||
this->frameCount, this->actor.colChkInfo.health, this->actor.colChkInfo.damage,
|
||||
this->actor.colChkInfo.damageEffect);
|
||||
PRINTF(VT_FGCOL(RED) "いてっ( %d : LIFE %d : DAMAGE %d : %x )!!" VT_RST "\n", this->frameCount,
|
||||
this->actor.colChkInfo.health, this->actor.colChkInfo.damage,
|
||||
this->actor.colChkInfo.damageEffect);
|
||||
this->stopScroll = false;
|
||||
Actor_ApplyDamage(&this->actor);
|
||||
this->invincibilityTimer = 40;
|
||||
|
@ -506,7 +506,7 @@ void EnRr_CollisionCheck(EnRr* this, PlayState* play) {
|
|||
this->collider1.base.ocFlags1 &= ~OC1_HIT;
|
||||
this->collider2.base.ocFlags1 &= ~OC1_HIT;
|
||||
// "catch"
|
||||
osSyncPrintf(VT_FGCOL(GREEN) "キャッチ(%d)!!" VT_RST "\n", this->frameCount);
|
||||
PRINTF(VT_FGCOL(GREEN) "キャッチ(%d)!!" VT_RST "\n", this->frameCount);
|
||||
if (play->grabPlayer(play, player)) {
|
||||
player->actor.parent = &this->actor;
|
||||
this->stopScroll = false;
|
||||
|
@ -688,7 +688,7 @@ void EnRr_Death(EnRr* this, PlayState* play) {
|
|||
break;
|
||||
}
|
||||
// "dropped"
|
||||
osSyncPrintf(VT_FGCOL(GREEN) "「%s」が出た!!" VT_RST "\n", sDropNames[this->dropType]);
|
||||
PRINTF(VT_FGCOL(GREEN) "「%s」が出た!!" VT_RST "\n", sDropNames[this->dropType]);
|
||||
switch (this->dropType) {
|
||||
case RR_DROP_MAGIC:
|
||||
Item_DropCollectible(play, &dropPos, ITEM00_MAGIC_SMALL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue