]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cmd.h
changed a lot of Con_DPrint/Con_DPrintf calls to Con_Print/Con_Printf (non-technical...
[xonotic/darkplaces.git] / cmd.h
diff --git a/cmd.h b/cmd.h
index 04e44e27e7494b5ef4cca593a727e5e83dc6a73a..35ce36f26b8582b8f350e00f330febec5f1b1add 100644 (file)
--- a/cmd.h
+++ b/cmd.h
@@ -126,6 +126,10 @@ void Cmd_ExecuteString (const char *text, cmd_source_t src);
 // Parses a single line of text into arguments and tries to execute it.
 // The text can come from the command buffer, a remote client, or stdin.
 
+void Cmd_ForwardStringToServer (const char *s);
+// adds the string as a clc_stringcmd to the client message.
+// (used when there is no reason to generate a local command to do it)
+
 void Cmd_ForwardToServer (void);
 // adds the current command line as a clc_stringcmd to the client message.
 // things like godmode, noclip, etc, are commands directed to the server,