summaryrefslogtreecommitdiff
path: root/project-base
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-12-05 11:42:11 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-12-05 11:42:11 +0100
commit0974ff30789a215a31255080251c01eaaf9a5297 (patch)
treeeda0b28d3e1aee2ca17d0f433c00574809e205d9 /project-base
parent190760b05d943e065cad31a0b983ef7736551feb (diff)
link with steam sdk and create bindings
Diffstat (limited to 'project-base')
-rw-r--r--project-base/src/logging.h1
1 files changed, 1 insertions, 0 deletions
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