diff options
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_consolecmds.c | 23 | ||||
-rw-r--r-- | src/cgame/cg_local.h | 5 |
2 files changed, 0 insertions, 28 deletions
diff --git a/src/cgame/cg_consolecmds.c b/src/cgame/cg_consolecmds.c index 3e654c90..bf15145c 100644 --- a/src/cgame/cg_consolecmds.c +++ b/src/cgame/cg_consolecmds.c @@ -144,28 +144,6 @@ static void CG_TellAttacker_f( void ) trap_SendClientCommand( command ); } -/* -================== -CG_DecodeMP3_f -================== -*/ -void CG_DecodeMP3_f( void ) -{ - char mp3file[ MAX_QPATH ]; - char wavfile[ MAX_QPATH ]; - - if( trap_Argc( ) < 2 ) - { - CG_Printf( "usage: decodeMP3 <mp3file> <wavfile>\n" ); - return; - } - - Q_strncpyz( mp3file, CG_Argv( 1 ), MAX_QPATH ); - Q_strncpyz( wavfile, CG_Argv( 2 ), MAX_QPATH ); - - S_decodeMP3( mp3file, wavfile ); -} - typedef struct { char *cmd; @@ -193,7 +171,6 @@ static consoleCommand_t commands[ ] = { "tell_target", CG_TellTarget_f }, { "tell_attacker", CG_TellAttacker_f }, { "tcmd", CG_TargetCommand_f }, - { "decodeMP3", CG_DecodeMP3_f }, }; diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index d12e8001..ad44eafc 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1777,11 +1777,6 @@ void CG_Free( void *ptr ); void CG_DefragmentMemory( void ); // -// cg_mp3decoder.c -// -qboolean S_decodeMP3( char *mp3File, char *wavFile ); - -// // cg_particles.c // void CG_LoadParticleSystems( void ); |