From f6343b338cdf573e5731311558990a63fce7b8a6 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 7 Oct 2004 13:00:48 +0000 Subject: [PATCH] Added a macro so that we can turn of trace logging with precompiler. (Useful on someone else's computer, Not for releases) git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@310 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/console.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/common/console.h b/engine/common/console.h index 94fa6740a..86bef2713 100644 --- a/engine/common/console.h +++ b/engine/common/console.h @@ -97,3 +97,8 @@ void Con_ToggleConsole_f (void); void Con_NotifyBox (char *text); // during startup for sound / cd warnings +#ifdef CRAZYDEBUGGING +#define TRACE(x) Con_Print x +#else +#define TRACE(x) +#endif