mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-25 05:11:43 +00:00
unused
This commit is contained in:
parent
6873f53847
commit
c40e0b3e57
2 changed files with 0 additions and 26 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue