FS2_Open
Open source remastering of the Freespace 2 engine
outwnd.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 #ifndef _OUTWND_H
11 #define _OUTWND_H
12 
13 #include "globalincs/pstypes.h"
14 
15 #ifndef NDEBUG
16 void load_filter_info(void);
17 void outwnd_init(int display_under_freespace_window = 0);
18 void outwnd_close();
19 void outwnd_printf(const char *id, SCP_FORMAT_STRING const char *format, ...) SCP_FORMAT_STRING_ARGS(2, 3);
20 void outwnd_printf2(SCP_FORMAT_STRING const char *format, ...) SCP_FORMAT_STRING_ARGS(1, 2);
21 
22 extern int Log_debug_output_to_file;
23 
24 void safe_point(const char *file, int line, const char *format, ...);
25 #define SAFEPOINT(s) safe_point(__FILE__,__LINE__,(s))
26 
27 #else
28 
29 #define SAFEPOINT(s)
30 
31 #endif // NDEBUG
32 
33 #endif // _OUTWND_H
GLenum GLsizei GLenum format
Definition: Gl.h:1509
void void int Log_debug_output_to_file
Definition: outwnd.cpp:97
#define SCP_FORMAT_STRING_ARGS(x, y)
Definition: clang.h:21
void outwnd_init(int display_under_freespace_window=0)
Definition: outwnd.cpp:1165
void safe_point(const char *file, int line, const char *format,...)
Definition: outwnd.cpp:1346
void outwnd_printf(const char *id, SCP_FORMAT_STRING const char *format,...) SCP_FORMAT_STRING_ARGS(2
#define SCP_FORMAT_STRING
Definition: clang.h:20
void outwnd_close()
Definition: outwnd.cpp:1316
void void outwnd_printf2(SCP_FORMAT_STRING const char *format,...) SCP_FORMAT_STRING_ARGS(1
void load_filter_info(void)
Definition: outwnd.cpp:167