raze-gles/source/common/utility/printf.h

18 lines
438 B
C
Raw Normal View History

2019-10-05 17:39:41 +00:00
#pragma once
// Just to let the ZDoom-based code print to the Build console without changing it all
#if defined __GNUC__ || defined __clang__
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
#else
# define ATTRIBUTE(attrlist)
#endif
void OSD_Printf(const char *fmt, ...) ATTRIBUTE((format(printf,1,2)));
#define Printf OSD_Printf
void I_Error(const char *fmt, ...) ATTRIBUTE((format(printf,1,2)));
2019-10-05 17:39:41 +00:00
#include "../fonts/v_text.h"