fixed headmodel in options bug

version number upcount
This commit is contained in:
q3rally 2021-04-28 04:20:12 +00:00
parent af34652a43
commit 176e27e1ab
3 changed files with 11 additions and 91 deletions

View file

@ -525,7 +525,7 @@ Controls_UpdateModel
static void Controls_UpdateModel( int anim ) {
VectorClear( s_controls.playerViewangles );
VectorClear( s_controls.playerMoveangles );
s_controls.playerViewangles[YAW] = 180 - 30;
s_controls.playerViewangles[YAW] = 0;
s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW];
s_controls.playerLegs = LEGS_IDLE;
s_controls.playerTorso = TORSO_STAND;
@ -558,21 +558,21 @@ static void Controls_UpdateModel( int anim ) {
break;
case ANIM_TURNLEFT:
s_controls.playerViewangles[YAW] += 90;
s_controls.playerViewangles[YAW] += 70;
break;
case ANIM_TURNRIGHT:
s_controls.playerViewangles[YAW] -= 90;
s_controls.playerViewangles[YAW] -= 70;
break;
case ANIM_STEPLEFT:
s_controls.playerLegs = LEGS_WALK;
s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW] + 90;
s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW] + 70;
break;
case ANIM_STEPRIGHT:
s_controls.playerLegs = LEGS_WALK;
s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW] - 90;
s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW] - 70;
break;
case ANIM_LOOKUP:

View file

@ -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.0.3.0_r388"
#define PRODUCT_VERSION "v0.0.3.0_r389"
#endif

View file

@ -859,93 +859,13 @@ q3rallycode
engine\cross-make-mingw64.sh
[Open project files]
0=engine\code\qcommon\q_shared.h
1=engine\code\q3_ui\ui_qmenu.c
2=engine\code\cgame\cg_rally_hud.c
3=engine\code\cgame\cg_draw.c
4=engine\code\cgame\cg_local.h
5=engine\code\game\g_weapon.c
6=engine\code\game\g_local.h
7=engine\code\cgame\cg_weapons.c
8=engine\code\game\bg_misc.c
9=engine\code\game\bg_public.h
10=engine\code\game\g_items.c
11=engine\code\cgame\cg_effects.c
12=engine\code\cgame\cg_main.c
13=engine\ui\menudef.h
14=engine\code\q3_ui\ui_controls2.c
15=engine\code\ui\ui_shared.c
16=engine\code\q3_ui\ui_atoms.c
17=engine\code\ui\ui_main.c
18=engine\code\q3_ui\ui_local.h
19=engine\code\q3_ui\ui_players.c
20=engine\code\game\g_team.c
21=engine\code\game\g_spawn.c
1=engine\code\q3_ui\ui_rally_controls.c
[Selected Project Files]
Main=
Selected=engine\code\qcommon\q_shared.h
[engine\code\qcommon\q_shared.h]
TopLine=53
TopLine=55
Caret=39,70
[engine\code\q3_ui\ui_qmenu.c]
TopLine=2273
Caret=1,2287
[engine\code\cgame\cg_rally_hud.c]
TopLine=1
Caret=3,819
[engine\code\cgame\cg_draw.c]
TopLine=928
Caret=26,944
[engine\code\cgame\cg_local.h]
TopLine=830
Caret=6,846
[engine\code\game\g_weapon.c]
TopLine=128
Caret=16,146
[engine\code\game\g_local.h]
TopLine=637
Caret=1,652
[engine\code\cgame\cg_weapons.c]
TopLine=2014
Caret=1,2002
[engine\code\game\bg_misc.c]
TopLine=1486
Caret=1,1500
[engine\code\game\bg_public.h]
TopLine=417
Caret=1,431
[engine\code\game\g_items.c]
TopLine=486
Caret=1,501
[engine\code\cgame\cg_effects.c]
TopLine=612
Caret=1,627
[engine\code\cgame\cg_main.c]
TopLine=1090
Caret=30,1104
[engine\ui\menudef.h]
TopLine=19
Caret=1,33
[engine\code\q3_ui\ui_controls2.c]
TopLine=1488
Caret=1,1502
[engine\code\ui\ui_shared.c]
TopLine=3334
Caret=1,3358
[engine\code\q3_ui\ui_atoms.c]
TopLine=1067
Caret=3,1084
[engine\code\ui\ui_main.c]
TopLine=5249
Caret=1,5261
[engine\code\q3_ui\ui_local.h]
TopLine=698
Caret=3,715
[engine\code\q3_ui\ui_players.c]
TopLine=1201
Caret=6,1081
[engine\code\game\g_team.c]
TopLine=1114
Caret=24,1155
[engine\code\game\g_spawn.c]
TopLine=318
Caret=1,332
[engine\code\q3_ui\ui_rally_controls.c]
TopLine=517
Caret=38,528