unused
authorTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sun, 15 Apr 2012 16:24:38 +0000 (11:24 -0500)
committerTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sun, 15 Apr 2012 16:24:38 +0000 (11:24 -0500)
tools/quake3/common/cmdlib.c
tools/quake3/common/cmdlib.h

index 3c01cc9923663a98c1fa282127d6755f6d7a4573..94c260d340d117bd4ee790a02f8693f4a37d949b 100644 (file)
@@ -252,30 +252,6 @@ char *ExpandPath( const char *path ){
        return full;
 }
 
-char *ExpandGamePath( const char *path ){
-       static char full[1024];
-       if ( path[0] == '/' || path[0] == '\\' || path[1] == ':' ) {
-               strcpy( full, path );
-               return full;
-       }
-       sprintf( full, "%s%s", gamedir, path );
-       return full;
-}
-
-char *ExpandPathAndArchive( const char *path ){
-       char    *expanded;
-       char archivename[1024];
-
-       expanded = ExpandPath( path );
-
-       if ( archive ) {
-               sprintf( archivename, "%s/%s", archivedir, path );
-               QCopyFile( expanded, archivename );
-       }
-       return expanded;
-}
-
-
 char *copystring( const char *s ){
        char    *b;
        b = safe_malloc( strlen( s ) + 1 );
index 3fb98febc98457d9438a089882a41f937dfa0f6d..e8d6326f7932f34b2d85df05f2b69fc3febfee01 100644 (file)
@@ -88,8 +88,6 @@ extern char    *moddirparam;
 void SetQdirFromPath( const char *path );
 char *ExpandArg( const char *path );    // from cmd line
 char *ExpandPath( const char *path );   // from scripts
-char *ExpandGamePath( const char *path );
-char *ExpandPathAndArchive( const char *path );
 void ExpandWildcards( int *argc, char ***argv );