From 0974ff30789a215a31255080251c01eaaf9a5297 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 5 Dec 2024 11:42:11 +0100 Subject: link with steam sdk and create bindings --- project-base/src/logging.h | 1 + 1 file changed, 1 insertion(+) (limited to 'project-base/src/logging.h') diff --git a/project-base/src/logging.h b/project-base/src/logging.h index 4cd6983..91038a8 100644 --- a/project-base/src/logging.h +++ b/project-base/src/logging.h @@ -24,6 +24,7 @@ printf(__buf); \ MessageBox(0, __buf, "Error", MB_OK); abort(); } #define log_info(_message) { char _____buf[4000]; sprintf(_____buf, "INFO: %s, at %s, line %d. In %s\n", _message, __FILENAME__, __LINE__, __func__); printf(_____buf); OutputDebugStringA(_____buf); } +#define log_infox(format, ...) { char _____buf[4000]; sprintf(_____buf, "INFO: "format", at %s, line %d. In %s\n", __VA_ARGS__, __FILENAME__, __LINE__, __func__); printf(_____buf); OutputDebugStringA(_____buf); } #endif #else -- cgit v1.2.3-70-g09d2