Overhaul to console structure, a bit
This commit is contained in:
+3
-3
@@ -125,7 +125,7 @@ float V_CalcBob(void) {
|
||||
// (don't count Z, or jumping messes it up)
|
||||
|
||||
bob = sqrt(cl.velocity[0] * cl.velocity[0] + cl.velocity[1] * cl.velocity[1]) * cl_bob.value;
|
||||
//Con_Printf ("speed: %5.1f\n", VectorLength(cl.velocity));
|
||||
//console::info ("speed: %5.1f\n", VectorLength(cl.velocity));
|
||||
bob = bob * 0.3 + bob * 0.7 * sin(cycle);
|
||||
if (bob > 4)
|
||||
bob = 4;
|
||||
@@ -209,7 +209,7 @@ void V_DriftPitch(void) {
|
||||
move = host_frametime * cl.pitchvel;
|
||||
cl.pitchvel += host_frametime * v_centerspeed.value;
|
||||
|
||||
//Con_Printf ("move: %f (%f)\n", move, host_frametime);
|
||||
//console::info ("move: %f (%f)\n", move, host_frametime);
|
||||
|
||||
if (delta > 0) {
|
||||
if (move > delta) {
|
||||
@@ -842,7 +842,7 @@ the entity origin, so any view position inside that will be valid
|
||||
extern vrect_t scr_vrect;
|
||||
|
||||
void V_RenderView(void) {
|
||||
if (con_forcedup)
|
||||
if (console::forced_up)
|
||||
return;
|
||||
|
||||
if (cl.intermission)
|
||||
|
||||
Reference in New Issue
Block a user