MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Field_CompleteFilename

Function Field_CompleteFilename

code/qcommon/common.cpp:1779–1788  ·  view source on GitHub ↗

=============== Field_CompleteFilename =============== */

Source from the content-addressed store, hash-verified

1777===============
1778*/
1779void Field_CompleteFilename( const char *dir, const char *ext, qboolean stripExt, qboolean allowNonPureFilesOnDisk )
1780{
1781 matchCount = 0;
1782 shortestMatch[ 0 ] = 0;
1783
1784 FS_FilenameCompletion( dir, ext, stripExt, FindMatches, allowNonPureFilesOnDisk );
1785
1786 if ( !Field_Complete() )
1787 FS_FilenameCompletion( dir, ext, stripExt, PrintFileMatches, allowNonPureFilesOnDisk );
1788}
1789
1790/*
1791===============

Callers 5

Cmd_CompleteCfgNameFunction · 0.70
CL_CompleteCinematicFunction · 0.50
Cmd_CompleteTxtNameFunction · 0.50
SV_CompleteMapNameFunction · 0.50
SV_CompleteSaveNameFunction · 0.50

Calls 2

FS_FilenameCompletionFunction · 0.70
Field_CompleteFunction · 0.70

Tested by

no test coverage detected