X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=console.h;h=be1010ded02a692d1f2ec9b2acc2718de8c1a361;hp=009b05bdc55e20a1cc9cc1b44d68fbf1231abb12;hb=f800c0a37d45e51883f60e2751eb930251a7a903;hpb=1da8763568794f572231831ff9c24759de9ec084 diff --git a/console.h b/console.h index 009b05bd..be1010de 100644 --- a/console.h +++ b/console.h @@ -37,6 +37,7 @@ void Con_Init (void); void Con_Init_Commands (void); void Con_DrawConsole (int lines); void Con_Print(const char *txt); +void Con_PrintNotToHistory(const char *txt); void Con_Printf(const char *fmt, ...) DP_FUNC_PRINTF(1); void Con_DPrint(const char *msg); void Con_DPrintf(const char *fmt, ...) DP_FUNC_PRINTF(1); @@ -68,5 +69,17 @@ void Log_DestBuffer_Flush (void); // call this once per frame to send out replie void Log_Printf(const char *logfilename, const char *fmt, ...) DP_FUNC_PRINTF(2); +#define CON_MASK_HIDENOTIFY 128 +#define CON_MASK_CHAT 1 +#define CON_MASK_INPUT 2 +#define CON_MASK_LOADEDHISTORY 4 + +void Con_AddLine(const char *line, int len, int mask); +int Con_FindPrevLine(int mask_must, int mask_mustnot, int start); +int Con_FindNextLine(int mask_must, int mask_mustnot, int start); +const char *Con_GetLine(int i); +int Con_GetLineID(int i); +int Con_GetLineByID(int i); + #endif