4 // =========================================================
5 // Declarations for common command code, written by Samual
6 // Last updated: December 28th, 2011
7 // =========================================================
9 // Used by other game command systems for common commands,
10 // and it returns true if handled, false if not.
11 // Note: It tokenizes its input, so be careful!
12 float GenericCommand(string command);
14 // Returns command prefix specific for whatever program it is compiled in
15 string GetProgramCommandPrefix(void);
17 // used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
18 #define CMD_Write(s) fputs(fh, s)
19 #define CMD_Write_Alias(execute,command,description) CMD_Write(sprintf("alias %-20s \"%-13s %-20s ${* ?}\" // %s\n", command, execute, command, description))
20 void GenericCommand_macro_write_aliases(float fh);
22 void Curl_URI_Get_Callback(int id, float status, string data);
24 float curl_uri_get_exec[URI_GET_CURL_END - URI_GET_CURL + 1];
25 string curl_uri_get_cvar[URI_GET_CURL_END - URI_GET_CURL + 1];