Files
fs2open.github.com/code/osapi/outwnd.h
T

37 lines
795 B
C

/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#ifndef _OUTWND_H
#define _OUTWND_H
#define FILTER_NAME_LENGTH 30
void load_filter_info(void);
void outwnd_init(int display_under_freespace_window=0);
void outwnd_close();
void outwnd_printf(char *id = NULL, char *format = NULL, ...);
void outwnd_printf2(char *format = NULL, ...);
#ifndef NDEBUG
extern int Log_debug_output_to_file;
#endif
#ifndef NDEBUG
#define SAFEPOINT(s) safe_point(__FILE__,__LINE__,(s))
#else
#define SAFEPOINT(s)
#endif
extern char safe_string[512];
void safe_point(char *file, int line, char *format, ...);
#endif