mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
951 B
29 lines
951 B
/***************************************************************************/
|
|
/** 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
|