mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 16:15:33 +00:00
disable those physics debug prints
This commit is contained in:
parent
a13f542396
commit
6850f3945c
2 changed files with 11 additions and 9 deletions
|
@ -372,7 +372,7 @@ bool PM_SlideMove( bool gravity )
|
||||||
|
|
||||||
// stop dead at a tripple plane interaction
|
// stop dead at a tripple plane interaction
|
||||||
//VectorClear( pm->ps->velocity );
|
//VectorClear( pm->ps->velocity );
|
||||||
printf("Stop dead at a triple plane interaction\n");
|
//printf("Stop dead at a triple plane interaction\n");
|
||||||
pm->ps.velocity = Ogre::Vector3(0,0,0);
|
pm->ps.velocity = Ogre::Vector3(0,0,0);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -417,7 +417,7 @@ int PM_StepSlideMove( bool gravity )
|
||||||
Ogre::Vector3 up, down;
|
Ogre::Vector3 up, down;
|
||||||
float stepSize;
|
float stepSize;
|
||||||
|
|
||||||
std::cout << "StepSlideMove\n";
|
//std::cout << "StepSlideMove\n";
|
||||||
// start_o = pm->ps->origin
|
// start_o = pm->ps->origin
|
||||||
//VectorCopy (pm->ps->origin, start_o);
|
//VectorCopy (pm->ps->origin, start_o);
|
||||||
start_o = pm->ps.origin;
|
start_o = pm->ps.origin;
|
||||||
|
@ -517,6 +517,8 @@ int PM_StepSlideMove( bool gravity )
|
||||||
if ( delta > 2 )
|
if ( delta > 2 )
|
||||||
{
|
{
|
||||||
pm->ps.counter = 10;
|
pm->ps.counter = 10;
|
||||||
|
|
||||||
|
/*
|
||||||
if (gravity)
|
if (gravity)
|
||||||
printf("g on: %f ", delta);
|
printf("g on: %f ", delta);
|
||||||
else
|
else
|
||||||
|
@ -534,7 +536,7 @@ int PM_StepSlideMove( bool gravity )
|
||||||
else
|
else
|
||||||
printf("stepped 15+\n");
|
printf("stepped 15+\n");
|
||||||
//PM_AddEvent( EV_STEP_16 );
|
//PM_AddEvent( EV_STEP_16 );
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
/*if ( pm->debugLevel )
|
/*if ( pm->debugLevel )
|
||||||
Com_Printf("%i:stepped\n", c_pmove);*/
|
Com_Printf("%i:stepped\n", c_pmove);*/
|
||||||
|
@ -863,7 +865,7 @@ static void PM_WalkMove( playerMove* const pmove )
|
||||||
PM_WaterMove(pmove);
|
PM_WaterMove(pmove);
|
||||||
else
|
else
|
||||||
PM_AirMove();
|
PM_AirMove();
|
||||||
printf("Jumped away\n");
|
//printf("Jumped away\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1146,7 +1148,7 @@ void PM_GroundTraceMissed()
|
||||||
{
|
{
|
||||||
traceResults trace;
|
traceResults trace;
|
||||||
Ogre::Vector3 point;
|
Ogre::Vector3 point;
|
||||||
std::cout << "Ground trace missed\n";
|
//std::cout << "Ground trace missed\n";
|
||||||
// we just transitioned into freefall
|
// we just transitioned into freefall
|
||||||
//if ( pm->debugLevel )
|
//if ( pm->debugLevel )
|
||||||
//Com_Printf("%i:lift\n", c_pmove);
|
//Com_Printf("%i:lift\n", c_pmove);
|
||||||
|
@ -1292,14 +1294,14 @@ static void PM_CrashLand( void )
|
||||||
|
|
||||||
if ( delta < 1 )
|
if ( delta < 1 )
|
||||||
return;
|
return;
|
||||||
|
/*
|
||||||
if (delta > 60)
|
if (delta > 60)
|
||||||
printf("Far crashland: %f\n", delta);
|
printf("Far crashland: %f\n", delta);
|
||||||
else if (delta > 40)
|
else if (delta > 40)
|
||||||
printf("Medium crashland: %f\n", delta);
|
printf("Medium crashland: %f\n", delta);
|
||||||
else if (delta > 4)
|
else if (delta > 4)
|
||||||
printf("Short crashland: %f\n", delta);
|
printf("Short crashland: %f\n", delta);
|
||||||
|
*/
|
||||||
if (delta > 60)
|
if (delta > 60)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -105,13 +105,13 @@ struct playerMove
|
||||||
|
|
||||||
inline void SpeedUp(void)
|
inline void SpeedUp(void)
|
||||||
{
|
{
|
||||||
printf("speed up to: %f\n", speed);
|
//printf("speed up to: %f\n", speed);
|
||||||
speed *= 1.25f;
|
speed *= 1.25f;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void SpeedDown(void)
|
inline void SpeedDown(void)
|
||||||
{
|
{
|
||||||
printf("speed down to %f\n", speed);
|
//printf("speed down to %f\n", speed);
|
||||||
speed /= 1.25f;
|
speed /= 1.25f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue