From f47d51f34c2dcd8c033f323157533d41ee64a6c3 Mon Sep 17 00:00:00 2001 From: q3rally Date: Wed, 4 Aug 2021 22:04:44 +0000 Subject: [PATCH] tweaked the direct steering mode a little bit updated menu entries in q3r options version upcount --- engine/code/cgame/cg_view.c | 4 ++-- engine/code/q3_ui/ui_rally_options.c | 4 ++-- engine/code/qcommon/q_shared.h | 2 +- q3rallycode.ppr | 36 +++++++++++----------------- 4 files changed, 19 insertions(+), 27 deletions(-) diff --git a/engine/code/cgame/cg_view.c b/engine/code/cgame/cg_view.c index 9521422b..0a302ac0 100644 --- a/engine/code/cgame/cg_view.c +++ b/engine/code/cgame/cg_view.c @@ -724,9 +724,9 @@ static int CG_CalcViewValues( void ) { cg.refdefViewAngles[ROLL] = 0; angle = abs(AngleDifference(cg.refdefViewAngles[YAW], oldAngles[YAW])); - scale = floor(angle / 5 + 1); //changed from 10 to 5 + scale = floor(angle / 10 + 1); //changed back to 10 from 5 - scale *= (2 + cg_tightCamTracking.value); // changed from 1 to 2 + scale *= (1 + cg_tightCamTracking.value); // changed from 1 to 2 f = scale * cg.frametime / 1000.0F; if (f > 1) diff --git a/engine/code/q3_ui/ui_rally_options.c b/engine/code/q3_ui/ui_rally_options.c index ed8f4cfb..dff545c9 100644 --- a/engine/code/q3_ui/ui_rally_options.c +++ b/engine/code/q3_ui/ui_rally_options.c @@ -252,9 +252,9 @@ static void Q3ROptions_StatusBar( void *self ) case ID_CONTROL_MODE: if( s_q3roptions.controlMode.curvalue == 0 ) - text = "Mouse control allows a freelook like normal Q3A and the car\n turns towards the direction you are looking."; + text = "Mouse control allows a freelook like normal Q3A and the Car turns towards the direction you are looking."; else - text = "Joystick control maps the axis directly to the wheel angle."; + text = "Keyboard/Joystick control maps the axis directly to the wheel angle."; break; case ID_ATMOSPHERIC_LEVEL: diff --git a/engine/code/qcommon/q_shared.h b/engine/code/qcommon/q_shared.h index 5376061f..e2d96cc3 100644 --- a/engine/code/qcommon/q_shared.h +++ b/engine/code/qcommon/q_shared.h @@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define BASETA "missionpack" #ifndef PRODUCT_VERSION -#define PRODUCT_VERSION "v0.3c_r431" +#define PRODUCT_VERSION "v0.3c_r432" #endif diff --git a/q3rallycode.ppr b/q3rallycode.ppr index 0b5fb827..b74ff92f 100644 --- a/q3rallycode.ppr +++ b/q3rallycode.ppr @@ -887,32 +887,24 @@ q3rallycode [Open project files] 0=engine\code\qcommon\q_shared.h 1=engine\code\q3_ui\ui_rally_options.c -2=engine\code\cgame\cg_local.h -3=engine\code\cgame\cg_main.c -4=engine\code\cgame\cg_players.c -5=engine\code\q3_ui\ui_rally_startserver.c -6=engine\code\q3_ui\ui_local.h +2=engine\code\cgame\cg_view.c +3=engine\code\cgame\cg_consolecmds.c +4=engine\code\cgame\cg_main.c [Selected Project Files] Main= Selected=engine\code\qcommon\q_shared.h [engine\code\qcommon\q_shared.h] -TopLine=51 +TopLine=59 Caret=36,70 [engine\code\q3_ui\ui_rally_options.c] -TopLine=152 -Caret=46,172 -[engine\code\cgame\cg_local.h] -TopLine=1534 -Caret=1,1552 +TopLine=237 +Caret=21,257 +[engine\code\cgame\cg_view.c] +TopLine=713 +Caret=14,729 +[engine\code\cgame\cg_consolecmds.c] +TopLine=455 +Caret=1,470 [engine\code\cgame\cg_main.c] -TopLine=347 -Caret=1,366 -[engine\code\cgame\cg_players.c] -TopLine=2597 -Caret=5,2610 -[engine\code\q3_ui\ui_rally_startserver.c] -TopLine=228 -Caret=16,246 -[engine\code\q3_ui\ui_local.h] -TopLine=332 -Caret=3,348 +TopLine=2284 +Caret=1,2300