no message

This commit is contained in:
Scott Brooks 2001-06-13 01:14:31 +00:00
parent 7af551c738
commit ec9c397dad
2 changed files with 34 additions and 12 deletions

View file

@ -29,6 +29,7 @@ float pm_flightfriction = 3.0f;
float pm_spectatorfriction = 5.0f;
float pm_ladderfriction = 3000;
int c_pmove = 0;
/*
// rxn - agt
@ -738,8 +739,21 @@ static void PM_LimpMove( void)
float accelerate;
float vel;
if (pm->framecount % (6*12) == 0)
//Com_Printf("(%d)(%d)(%d)\n", pm->cmd.serverTime, pm->ps->commandTime, pm->ps->pm_time );
if ( pm->cmd.serverTime % 1000 > 333)
{
Com_Printf("(%d)\n",pm->cmd.serverTime % 1000);
if ( PM_CheckJump () ) {
// jumped away
if ( pm->waterlevel > 1 ) {
PM_WaterMove();
} else {
PM_AirMove();
}
return;
}
PM_Friction ();
fmove = pm->cmd.forwardmove;
@ -831,10 +845,8 @@ static void PM_LimpMove( void)
PM_StepSlideMove( qfalse );
//gi.sound (ent, CHAN_BODY, gi.soundindex(va("*pain100_1.wav")), 1, ATTN_NORM, 0);
pm->ps->velocity[0] = (float)((int)(pm->ps->velocity[0]*8))/8;
pm->ps->velocity[1] = (float)((int)(pm->ps->velocity[1]*8))/8;
pm->ps->velocity[2] = (float)((int)(pm->ps->velocity[2]*8))/8;
//Com_Printf("velocity2 = %1.1f\n", VectorLength(pm->ps->velocity));
}
@ -864,12 +876,12 @@ static void PM_WalkMove( void ) {
return;
}
if ( (pm->ps->stats[STAT_RQ3] & RQ3_LEGDAMAGE) == RQ3_LEGDAMAGE)
/* if ( (pm->ps->stats[STAT_RQ3] & RQ3_LEGDAMAGE) == RQ3_LEGDAMAGE)
{
PM_LimpMove();
return;
}
*/
if ( PM_CheckJump () ) {
// jumped away
@ -974,6 +986,7 @@ static void PM_WalkMove( void ) {
//Com_Printf("velocity2 = %1.1f\n", VectorLength(pm->ps->velocity));
}
@ -2306,11 +2319,20 @@ void PmoveSingle (pmove_t *pmove) {
} else if ( pml.walking ) {
// walking on ground
PM_WalkMove();
if ( (pm->cmd.serverTime % 1000 > 333) && ((pm->ps->stats[STAT_RQ3] & RQ3_LEGDAMAGE) == RQ3_LEGDAMAGE))
{
pm->ps->velocity[0] = (int)((float)pm->ps->velocity[0] * 0.66);
pm->ps->velocity[1] = (int)((float)pm->ps->velocity[1] * 0.66);
pm->ps->velocity[2] = (int)((float)pm->ps->velocity[2] * 0.66);
// pm->ps->speed = 0; //Dosent work
}
} else {
// airborne
PM_AirMove();
}
PM_Animate();
// set groundentity, watertype, and waterlevel

View file

@ -6,13 +6,13 @@
--------------------Configuration: game - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP44F.tmp" with contents
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP5D5.tmp" with contents
[
/nologo /G5 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "BUILDING_REF_GL" /D "DEBUG" /FR"c:\reactionoutput/" /Fp"c:\reactionoutput/game.pch" /YX /Fo"c:\reactionoutput/" /Fd"c:\reactionoutput/" /FD /c
"c:\reaction\game\bg_pmove.c"
]
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP44F.tmp"
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP450.tmp" with contents
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP5D5.tmp"
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP5D6.tmp" with contents
[
kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:yes /pdb:"c:\reactionoutput/qagamex86.pdb" /map:"c:\reactionoutput/qagamex86.map" /debug /machine:I386 /def:".\game.def" /out:"..\Debug/qagamex86.dll" /implib:"c:\reactionoutput/qagamex86.lib"
\reactionoutput\ai_chat.obj
@ -51,7 +51,7 @@ kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows
\reactionoutput\q_shared.obj
\reactionoutput\rxn_game.obj
]
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP450.tmp"
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP5D6.tmp"
<h3>Output Window</h3>
Compiling...
bg_pmove.c