]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - console.h
made various things take const pointers (optimizer hint), commented out and/or remove...
[xonotic/darkplaces.git] / console.h
index ef01f008ad3936d4ef8eeb7f8f764930a9ed7319..43a538f7067ded0fdf60e163761b55c2240c9645 100644 (file)
--- a/console.h
+++ b/console.h
@@ -23,16 +23,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 //
 extern int con_totallines;
 extern int con_backscroll;
-extern qboolean con_forcedup;  // because no entities to refresh
+extern qboolean con_forcedup;  // because no entities to refresh
 extern qboolean con_initialized;
-extern byte *con_chars;
-extern int     con_notifylines;                // scan lines to clear for notify lines
+extern qbyte *con_chars;
+extern int con_notifylines;            // scan lines to clear for notify lines
 
 void Con_DrawCharacter (int cx, int line, int num);
 
 void Con_CheckResize (void);
 void Con_Init (void);
-void Con_DrawConsole (int lines, qboolean drawinput);
+void Con_DrawConsole (int lines);
 void Con_Print (char *txt);
 void Con_Printf (char *fmt, ...);
 void Con_DPrintf (char *fmt, ...);
@@ -42,5 +42,13 @@ void Con_DrawNotify (void);
 void Con_ClearNotify (void);
 void Con_ToggleConsole_f (void);
 
-void Con_NotifyBox (char *text);       // during startup for sound / cd warnings
+// wrapper function to attempt to either complete the command line
+// or to list possible matches grouped by type
+// (i.e. will display possible variables, aliases, commands
+// that match what they've typed so far)
+void Con_CompleteCommandLine(void);
+
+// Generic libs/util/console.c function to display a list
+// formatted in columns on the console
+void Con_DisplayList(char **list);