Source code of Windows XP (NT5)
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

  1. /***************************************************************************/
  2. /** Microsoft Windows **/
  3. /** Copyright(c) Microsoft Corp., 1991, 1992 **/
  4. /***************************************************************************/
  5. // Aug 92, JimH
  6. #if defined(_DEBUG)
  7. extern TCHAR suitid[];
  8. extern TCHAR cardid[];
  9. #define PLAY(s) { int v = cd[s].Value2() + 1;\
  10. if (v < 11) { TRACE1("play %d", v); } else\
  11. { TRACE1("play %c", cardid[v-11]); } \
  12. TRACE1("%c. ", suitid[cd[s].Suit()]); }
  13. #define CDNAME(c) { int v = c->Value2() + 1;\
  14. if (v < 11) { TRACE("%d", v); } else\
  15. { TRACE("%c", cardid[v-11]); } \
  16. TRACE("%c ", suitid[c->Suit()]); }
  17. #define DUMP() Dump(afxDump)
  18. #else
  19. #define PLAY(s)
  20. #define CDNAME(c)
  21. #define DUMP()
  22. #endif