diff options
author | Tim Angus <tim@ngus.net> | 2005-08-31 23:41:16 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-08-31 23:41:16 +0000 |
commit | 7dcf5274bc4c6e80a644f0814520818a8cedcd40 (patch) | |
tree | eacc16bf7a5ce72ce8cc233088d9aa870e2bc64d /src/cgame | |
parent | f40ad7c74f940dd0274cd0a82248a5a4e8846eac (diff) |
* Fixed the issue where the Mac qvm JIT compiler would not compile Tremulous
* Removed the mp3 decoder from the source
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 ); |