diff options
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_players.c | 12 | ||||
-rw-r--r-- | src/cgame/cg_servercmds.c | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index a6c5fcab..c19fccd2 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -1758,6 +1758,7 @@ void CG_Player( centity_t *cent ) { refEntity_t legs; refEntity_t torso; refEntity_t head; + refEntity_t aura; int clientNum; int renderfx; qboolean shadow; @@ -1931,6 +1932,17 @@ void CG_Player( centity_t *cent ) { // add the gun / barrel / flash // CG_AddPlayerWeapon( &torso, NULL, cent ); + +/* aura.reType = RT_SPRITE; + VectorCopy( cent->lerpOrigin, aura.origin ); + aura.customShader = cgs.media.whiteShader; + aura.shaderRGBA[ 0 ] = 0xff; + aura.shaderRGBA[ 1 ] = 0xff; + aura.shaderRGBA[ 2 ] = 0xff; + aura.shaderRGBA[ 3 ] = 0xff; + aura.radius = 64; + + trap_R_AddRefEntityToScene( &aura );*/ } /* diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index e3a68917..95aca2d5 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -990,11 +990,11 @@ static void CG_ServerCommand( void ) { return; } - if ( Q_stricmp (cmd, "remapShader") == 0 ) { +/* if ( Q_stricmp (cmd, "remapShader") == 0 ) { if (trap_Argc() == 4) { trap_R_RemapShader(CG_Argv(1), CG_Argv(2), CG_Argv(3)); } - } + }*/ // loaddeferred can be both a servercmd and a consolecmd if ( !strcmp( cmd, "loaddefered" ) ) { // FIXME: spelled wrong, but not changing for demo |