X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=console.h;h=d8b56ed3f639de26abe7dd824e9799a7b4950a0c;hb=50179cc6a7fa538adf02e37077776a556e6ba63e;hp=43a538f7067ded0fdf60e163761b55c2240c9645;hpb=c4ee1bbcc6b2f917465f07269ad09942bbf40849;p=xonotic%2Fdarkplaces.git diff --git a/console.h b/console.h index 43a538f7..d8b56ed3 100644 --- a/console.h +++ b/console.h @@ -8,7 +8,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -18,25 +18,29 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef CONSOLE_H +#define CONSOLE_H + // // console // extern int con_totallines; extern int con_backscroll; -extern qboolean con_forcedup; // because no entities to refresh extern qboolean con_initialized; 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_InitLogging (void); void Con_Init (void); void Con_DrawConsole (int lines); -void Con_Print (char *txt); -void Con_Printf (char *fmt, ...); -void Con_DPrintf (char *fmt, ...); -void Con_SafePrintf (char *fmt, ...); +void Con_Print(const char *txt); +void Con_Printf(const char *fmt, ...); +void Con_DPrint(const char *msg); +void Con_DPrintf(const char *fmt, ...); +void Con_SafePrint(const char *msg); +void Con_SafePrintf(const char *fmt, ...); +void Con_LogPrint(const char *logfilename, const char *msg); +void Con_LogPrintf(const char *logfilename, const char *fmt, ...); void Con_Clear_f (void); void Con_DrawNotify (void); void Con_ClearNotify (void); @@ -50,5 +54,7 @@ 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); +void Con_DisplayList(const char **list); + +#endif