From 670a7d99911d0663c5db663ed74019dbbb12a498 Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 22 Jan 2006 01:58:50 +0000 Subject: * Overhaul of console autocompletion - No longer does weird stuff like move the cursor inappropriately - Autocomplete works with compound commands - Special autocomplete on some commands e.g. \map, \demo - Removed various hacks used to counter the original autocomplete code git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/qcommon.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'code/qcommon/qcommon.h') diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 1b2fc0b..21c74e9 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -415,6 +415,7 @@ char *Cmd_Cmd (void); // if arg > argc, so string operations are allways safe. void Cmd_TokenizeString( const char *text ); +void Cmd_TokenizeStringIgnoreQuotes( const char *text_in ); // Takes a null terminated string. Does not need to be /n terminated. // breaks the string up into arg tokens. @@ -657,6 +658,8 @@ void FS_Rename( const char *from, const char *to ); void FS_Remove( const char *osPath ); void FS_HomeRemove( const char *homePath ); +void FS_FilenameCompletion( const char *dir, const char *ext, + qboolean stripExt, void(*callback)(const char *s) ); /* ============================================================== @@ -674,7 +677,7 @@ typedef struct { } field_t; void Field_Clear( field_t *edit ); -void Field_CompleteCommand( field_t *edit ); +void Field_AutoComplete( field_t *edit ); /* ============================================================== -- cgit v1.2.3