mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 21:12:27 +00:00
clean out dead code
This commit is contained in:
parent
e6980d2ec3
commit
604e398e66
1 changed files with 0 additions and 25 deletions
|
@ -54,18 +54,6 @@ vec3_t forward, right, up;
|
||||||
vec3_t player_mins = { -16, -16, -24 };
|
vec3_t player_mins = { -16, -16, -24 };
|
||||||
vec3_t player_maxs = { 16, 16, 32 };
|
vec3_t player_maxs = { 16, 16, 32 };
|
||||||
|
|
||||||
/* FIXME: Delete this?
|
|
||||||
#define PM_GRAVITY 800
|
|
||||||
#define PM_STOPSPEED 100
|
|
||||||
#define PM_MAXSPEED 320
|
|
||||||
#define PM_SPECTATORMAXSPEED 500
|
|
||||||
#define PM_ACCELERATE 10
|
|
||||||
#define PM_AIRACCELERATE 0.7
|
|
||||||
#define PM_WATERACCELERATE 10
|
|
||||||
#define PM_FRICTION 6
|
|
||||||
#define PM_WATERFRICTION 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
void PM_InitBoxHull (void);
|
void PM_InitBoxHull (void);
|
||||||
void PM_CategorizePosition (void);
|
void PM_CategorizePosition (void);
|
||||||
|
|
||||||
|
@ -536,8 +524,6 @@ PM_WaterMove (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
PM_FlyMove ();
|
PM_FlyMove ();
|
||||||
// if (pmove.waterjumptime)
|
|
||||||
// Con_Printf ("<-wm%f, %f, %f\n", pmove.velocity[0], pmove.velocity[1], pmove.velocity[2]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -576,8 +562,6 @@ PM_AirMove (void)
|
||||||
VectorScale (wishvel, movevars.maxspeed / wishspeed, wishvel);
|
VectorScale (wishvel, movevars.maxspeed / wishspeed, wishvel);
|
||||||
wishspeed = movevars.maxspeed;
|
wishspeed = movevars.maxspeed;
|
||||||
}
|
}
|
||||||
// if (pmove.waterjumptime)
|
|
||||||
// Con_Printf ("am->%f, %f, %f\n", pmove.velocity[0], pmove.velocity[1], pmove.velocity[2]);
|
|
||||||
|
|
||||||
if (onground != -1) {
|
if (onground != -1) {
|
||||||
pmove.velocity[2] = 0;
|
pmove.velocity[2] = 0;
|
||||||
|
@ -611,15 +595,6 @@ PM_AirMove (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Con_Printf("airmove:vec: %4.2f %4.2f %4.2f\n",
|
|
||||||
// pmove.velocity[0],
|
|
||||||
// pmove.velocity[1],
|
|
||||||
// pmove.velocity[2]);
|
|
||||||
//
|
|
||||||
|
|
||||||
// if (pmove.waterjumptime)
|
|
||||||
// Con_Printf ("<-am%f, %f, %f\n", pmove.velocity[0], pmove.velocity[1], pmove.velocity[2]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue