Various improvements & Cleanups

Some ported from ANightly's work
This commit is contained in:
Jasmine Iwanek
2025-01-11 18:13:56 -05:00
parent 4ed7fec6a5
commit fabe71150c
29 changed files with 178 additions and 140 deletions

View File

@@ -191,8 +191,13 @@ extern void pclog_ex(const char *fmt, va_list);
extern void fatal_ex(const char *fmt, va_list);
#endif
extern void pclog_toggle_suppr(void);
#ifdef _MSC_VER
extern void pclog(const char *fmt, ...);
extern void fatal(const char *fmt, ...);
#else
extern void pclog(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
extern void fatal(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
#endif
extern void set_screen_size(int x, int y);
extern void set_screen_size_monitor(int x, int y, int monitor_index);
extern void reset_screen_size(void);