Overhaul to console structure, a bit

This commit is contained in:
iikorni
2026-08-30 00:50:23 -05:00
parent de75b014b3
commit 216dd1aecd
70 changed files with 2081 additions and 2260 deletions
+3 -3
View File
@@ -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)