diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-11-25 20:57:50 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-11-25 20:57:50 +0000 |
commit | b00e7bd024285970dd00cfc75d8e690bfa475501 (patch) | |
tree | 22ceeee3027fd4872f5621650557bc8ae4391948 /source/prompt.h | |
parent | 5eaaac93ad3b0d2777815717059d977912bd96f7 (diff) |
Changed Com_sprintf --> Q_concat in quite some cases.
Make sure WAVE sound driver is built by default.
Added --disable-wave option to `configure'.
Command line history is now remembered between sessions.
ALT+Space refreshes all servers in Server Browser.
Handle command line agruments like original Q2 engine did.
Diffstat (limited to 'source/prompt.h')
-rw-r--r-- | source/prompt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/prompt.h b/source/prompt.h index beca25f..886a52a 100644 --- a/source/prompt.h +++ b/source/prompt.h @@ -38,7 +38,7 @@ typedef struct commandPrompt_s { int widthInChars; qboolean tooMany; - void (*Printf)( const char *fmt, ... ); + void (* q_printf( 1, 2 ) printf)( const char *fmt, ... ); } commandPrompt_t; @@ -48,3 +48,5 @@ char *Prompt_Action( commandPrompt_t *prompt ); void Prompt_HistoryUp( commandPrompt_t *prompt ); void Prompt_HistoryDown( commandPrompt_t *prompt ); void Prompt_Clear( commandPrompt_t *prompt ); +void Prompt_SaveHistory( commandPrompt_t *prompt, const char *filename ); +void Prompt_LoadHistory( commandPrompt_t *prompt, const char *filename ); |