diff options
author | Tim Angus <tim@ngus.net> | 2004-02-14 21:00:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-02-14 21:00:50 +0000 |
commit | 6856a392e607a42708c8d3cf78c3254aa32b3e73 (patch) | |
tree | b2cc468dd0a65cd8c3f092e6f5cbffa3392b2177 /src/cgame | |
parent | f433daa92cd4ae7de82a5ba96e7953ebd80bdff2 (diff) |
* Fixed vieworg leaving PVS on death for classes with small BBOX
* Medistat now only heals one at a time
* Alien blood never red now
* Scaled down build points, hud now shows actual value
* Added a "width" parameter to every melee attack
* Added "sell weapons" and "sell upgrades" commands
* Reduced pulse rifle strength a bit
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_draw.c | 4 | ||||
-rw-r--r-- | src/cgame/cg_view.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index 5224c5b3..68f3d3b0 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -916,13 +916,13 @@ static void CG_DrawPlayerAmmoValue( rectDef_t *rect, vec4_t color ) case WP_ABUILD: case WP_ABUILD2: //percentage of BP remaining - value = (int)( ( (float)cgs.alienBuildPoints / (float)cgs.alienBuildPointsTotal ) * 100.0f ); + value = cgs.alienBuildPoints; break; case WP_HBUILD: case WP_HBUILD2: //percentage of BP remaining - value = (int)( ( (float)cgs.humanBuildPoints / (float)cgs.humanBuildPointsTotal ) * 100.0f ); + value = cgs.humanBuildPoints; break; default: diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 29b55d71..e79c1d31 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -239,8 +239,8 @@ static void CG_OffsetThirdPersonView( void ) vec3_t view; vec3_t focusAngles; trace_t trace; - static vec3_t mins = { -4, -4, -4 }; - static vec3_t maxs = { 4, 4, 4 }; + static vec3_t mins = { -8, -8, -8 }; + static vec3_t maxs = { 8, 8, 8 }; vec3_t focusPoint; float focusDist; float forwardScale, sideScale; @@ -276,7 +276,7 @@ static void CG_OffsetThirdPersonView( void ) VectorCopy( cg.refdef.vieworg, view ); - VectorMA( view, 8, surfNormal, view ); + VectorMA( view, 12, surfNormal, view ); //cg.refdefViewAngles[PITCH] *= 0.5; |