sayto cmd with player name completion

This commit is contained in:
Pan7 2014-07-18 00:15:05 +02:00
parent 7afb433e20
commit f62d4c7f1c
4 changed files with 381 additions and 0 deletions

View file

@ -759,6 +759,7 @@ void Field_CompleteFilename( const char *dir,
const char *ext, qboolean stripExt, qboolean allowNonPureFilesOnDisk );
void Field_CompleteCommand( char *cmd,
qboolean doCommands, qboolean doCvars );
void Field_CompletePlayerName( char **names, int count );
/*
==============================================================
@ -838,6 +839,10 @@ void Com_StartupVariable( const char *match );
// if match is NULL, all set commands will be executed, otherwise
// only a set with the exact name. Only used during startup.
qboolean Com_PlayerNameToFieldString( char *str, int length, const char *name );
qboolean Com_FieldStringToPlayerName( char *name, int length, const char *rawname );
int QDECL Com_strCompare( const void *a, const void *b );
extern cvar_t *com_developer;
extern cvar_t *com_dedicated;