Leaked source code of windows server 2003
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.

49 lines
1.2 KiB

  1. /* Klondike info */
  2. /* Col classes */
  3. #define tclsDeck 1
  4. #define tclsDiscard 2
  5. #define tclsFound 3
  6. #define tclsTab 4
  7. /* indexes of columns */
  8. #define icolDeck 0
  9. #define icolDiscard 1
  10. #define icolFoundFirst 2
  11. #define ccolFound 4
  12. #define icolTabFirst 6
  13. #define ccolTab 7
  14. /* BUG! this should be placed in a game descriptor table */
  15. #define icrdDeckMax 52
  16. #define icrdDiscardMax (icrdDeckMax-(1+2+3+4+5+6+7))
  17. #define icrdFoundMax 13
  18. #define icrdTabMax 19
  19. /* Change Score notification codes */
  20. /* WARNING: order is assumed by mpscdsco* in klond.c */
  21. #define csKlondTime 0 /* decrement score with time */
  22. #define csKlondDeckFlip 1 /* deck gone thru 1 or 3 times */
  23. #define csKlondFound 2 /* new card on foundation */
  24. #define csKlondTab 3 /* card from Deck to tab */
  25. #define csKlondTabFlip 4 /* exposure of new foundation card */
  26. #define csKlondFoundTab 5 /* card from foundation to tab (- pts) */
  27. #define csKlondDeal 6 /* cost of a deal */
  28. #define csKlondWin 7 /* win bonus */
  29. #define csKlondMax csKlondWin+1
  30. VOID OOM( VOID );
  31. VOID DrawCardExt( PT *, INT, INT );
  32. BOOL APIENTRY cdtAnimate( HDC, INT, INT, INT, INT );
  33. VOID NewKbdColAbs( GM *, INT );
  34. BOOL FValidCol( COL * );