Merge pull request #73 from Pan7/sayto

sayto cmd with player name completion
This commit is contained in:
Zachary J. Slater 2015-12-28 09:04:19 -08:00
commit fe619680f8
4 changed files with 381 additions and 0 deletions

View file

@ -760,6 +760,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 );
/*
==============================================================
@ -839,6 +840,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;