windows-nt/Source/XPSP1/NT/shell/osshell/games/mshearts/debug.h

30 lines
951 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/***************************************************************************/
/** Microsoft Windows **/
/** Copyright(c) Microsoft Corp., 1991, 1992 **/
/***************************************************************************/
// Aug 92, JimH
#if defined(_DEBUG)
extern TCHAR suitid[];
extern TCHAR cardid[];
#define PLAY(s) { int v = cd[s].Value2() + 1;\
if (v < 11) { TRACE1("play %d", v); } else\
{ TRACE1("play %c", cardid[v-11]); } \
TRACE1("%c. ", suitid[cd[s].Suit()]); }
#define CDNAME(c) { int v = c->Value2() + 1;\
if (v < 11) { TRACE("%d", v); } else\
{ TRACE("%c", cardid[v-11]); } \
TRACE("%c ", suitid[c->Suit()]); }
#define DUMP() Dump(afxDump)
#else
#define PLAY(s)
#define CDNAME(c)
#define DUMP()
#endif