]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/generic.qh
Declare more ints as ints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / generic.qh
index be096db17f832162b4b7a235eeaa9c612882af0c..b3a63e918b7df4807aeea074e84a92635ecc6243 100644 (file)
@@ -4,19 +4,19 @@
 // =========================================================
 
 // Used by other game command systems for common commands,
-// and it returns true if handled, false if not. 
+// and it returns true if handled, false if not.
 // Note: It tokenizes its input, so be careful!
 float GenericCommand(string command);
 
 // Returns command prefix specific for whatever program it is compiled in
-string GetProgramCommandPrefix(void); 
+string GetProgramCommandPrefix(void);
 
 // used by common/command/generic.qc:GenericCommand_dumpcommands to list all commands into a .txt file
 #define CMD_Write(s) fputs(fh, s)
 #define CMD_Write_Alias(execute,command,description) CMD_Write(sprintf("alias %-20s \"%-13s %-20s ${* ?}\" // %s\n", command, execute, command, description))
 void GenericCommand_macro_write_aliases(float fh);
 
-void Curl_URI_Get_Callback(float id, float status, string data);
-float curl_uri_get_pos;
+void Curl_URI_Get_Callback(int id, float status, string data);
+int curl_uri_get_pos;
 float curl_uri_get_exec[URI_GET_CURL_END - URI_GET_CURL + 1];
-string curl_uri_get_cvar[URI_GET_CURL_END - URI_GET_CURL + 1];
\ No newline at end of file
+string curl_uri_get_cvar[URI_GET_CURL_END - URI_GET_CURL + 1];