diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-03 12:15:33 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:48 +0000 |
commit | 80293d2669543ec0795cc2e9c3c1261acd50a3c1 (patch) | |
tree | ae84aa61f614ca3e081389c0dfeead76eba04445 /src/cgame/cg_draw.c | |
parent | bbf9693d114d11df15b8e9157a134733e4aa49bd (diff) |
* Almost completely redo the meat of the thirdperson spec code again
* Create a shoulder-cam mode that replaces thirdperson when you have cg_thirdPersonShoulderView 1
* Automatically switch to shoulder view when following someone wallwalking
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r-- | src/cgame/cg_draw.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c index a2e5fc91..13412eef 100644 --- a/src/cgame/cg_draw.c +++ b/src/cgame/cg_draw.c @@ -2931,7 +2931,8 @@ static void CG_DrawIntermission( void ) cg.scoreBoardShowing = CG_DrawScoreboard( ); } -#define FOLLOWING_STRING "following " +#define FOLLOWING_STRING "Following: " +#define CHASING_STRING "Chasing: " /* ================= @@ -2952,7 +2953,10 @@ static qboolean CG_DrawFollow( void ) color[ 2 ] = 1; color[ 3 ] = 1; - strcpy( buffer, FOLLOWING_STRING ); + if( !cg.chaseFollow ) + strcpy( buffer, FOLLOWING_STRING ); + else + strcpy( buffer, CHASING_STRING ); strcat( buffer, cgs.clientinfo[ cg.snap->ps.clientNum ].name ); w = UI_Text_Width( buffer, 0.7f, 0 ); |