From 7dcf5274bc4c6e80a644f0814520818a8cedcd40 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 31 Aug 2005 23:41:16 +0000 Subject: * Fixed the issue where the Mac qvm JIT compiler would not compile Tremulous * Removed the mp3 decoder from the source --- src/cgame/cg_consolecmds.c | 23 ----------------------- src/cgame/cg_local.h | 5 ----- 2 files changed, 28 deletions(-) (limited to 'src/cgame') 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 \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 @@ -1776,11 +1776,6 @@ void *CG_Alloc( int size ); void CG_Free( void *ptr ); void CG_DefragmentMemory( void ); -// -// cg_mp3decoder.c -// -qboolean S_decodeMP3( char *mp3File, char *wavFile ); - // // cg_particles.c // -- cgit