#1710: Remove logs for debugging

ipv6
Mark 2016-12-25 19:18:16 +01:00
parent 45f98ce03a
commit bace3b7d2b
3 changed files with 0 additions and 17 deletions

View File

@ -751,9 +751,6 @@ func FxIntScaleStop(target, number, reason, tmp)
func StartJump()
{
Log("----------------------------------");
Log("--> Start Jump at frame %d", FrameCounter());
//which leg to kick off with?
var side = "R";
if(Random(2)) side = "L";
@ -764,19 +761,14 @@ func StartJump()
//Walk kick jump
if(GetEffect("WallKick",this))
{
Log("--> Start wall jump");
SetAction("WallJump");
var side = "L";
if(GetDir() == DIR_Left) side = "R";
Log("-- Animation before wall jump: %v", GetRootAnimation(CLONK_ANIM_SLOT_Movement));
PlayAnimation(Format("JumpWall.%s", side), CLONK_ANIM_SLOT_Movement, Anim_Linear(0, 0, GetAnimationLength("JumpWall.L"), 8*5, ANIM_Hold), Anim_Linear(0, 0, 1000, 5, ANIM_Remove));
Log("-- Animation after wall jump: %v", GetRootAnimation(CLONK_ANIM_SLOT_Movement));
Log("--> Finished wall jump");
}
//Upwards jump
else if(GetXDir() == 0)
{
Log("--> Did upward jump");
PlayAnimation(Format("JumpUp.%s", side), CLONK_ANIM_SLOT_Movement, Anim_Linear(0, 0, GetAnimationLength("JumpUp.L"), 8*5, ANIM_Hold), Anim_Linear(0, 0, 1000, 5, ANIM_Remove));
}

View File

@ -1157,9 +1157,6 @@ public func ControlJump()
// Wall kick if scaling or climbing.
if(GetProcedure() == "SCALE" || GetAction() == "Climb")
{
Log("----------------------------------");
Log("--> Wall kick at frame %d", FrameCounter());
AddEffect("WallKick",this,1);
SetAction("Jump");

View File

@ -90,16 +90,10 @@ public func FxIntSearchLadderTimer(object target, proplist effect, int time)
if (ladder->~CanNotBeClimbed(false, this) || IsBlockedLadder(ladder))
continue;
Log("----------------------------------");
Log("--> Grabbed ladder at frame %d", FrameCounter());
SetAction("Climb");
ladder->~OnLadderGrab(this);
Log("-- Animation before climb: %v", GetRootAnimation(CLONK_ANIM_SLOT_Movement));
PlayAnimation(GetLadderScaleAnimation(), CLONK_ANIM_SLOT_Movement, Anim_Y(0, GetAnimationLength(GetLadderScaleAnimation()), 0, 15), Anim_Linear(0, 0, 1000, 5, ANIM_Remove));
Log("-- Animation after climb: %v", GetRootAnimation(CLONK_ANIM_SLOT_Movement));
AddEffect("IntClimbControl", this, 1, 1, this, nil, ladder);
Log("--> Grabbed ladder finish");
return FX_Execute_Kill;
}
return FX_OK;