]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.h
Add missing modulo in cvar hashtable lookup
[xonotic/darkplaces.git] / console.h
index 35ce4dc1d83d0c0df0576aa825fea55f42ca5ad2..8d1a64a5823c80c8b26b176a0a972c366be36c70 100644 (file)
--- a/console.h
+++ b/console.h
@@ -51,6 +51,14 @@ void Con_Print(const char *txt);
 /// Prints to all appropriate console targets.
 void Con_Printf(const char *fmt, ...) DP_FUNC_PRINTF(1);
 
+/// Prints warnings
+void Con_Warn(const char *msg);
+void Con_Warnf(const char *fmt, ...);
+
+/// Prints errors
+void Con_Error(const char *msg);
+void Con_Errorf(const char *fmt, ...);
+
 /// A Con_Print that only shows up if the "developer" cvar is set.
 void Con_DPrint(const char *msg);