mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
e415037205
svn path=/trunk/; revision=13904
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
#ifndef SOLITAIRE_INCLUDED
|
|
#define SOLITAIRE_INCLUDED
|
|
|
|
extern CardWindow SolWnd;
|
|
extern TCHAR szAppName[];
|
|
extern bool fGameStarted;
|
|
|
|
void CreateSol();
|
|
void NewGame(void);
|
|
|
|
#define NUM_ROW_STACKS 7
|
|
#define DECK_ID 1
|
|
#define PILE_ID 2
|
|
#define SUIT_ID 4
|
|
#define ROW_ID 10
|
|
|
|
extern CardRegion *pDeck;
|
|
extern CardRegion *pPile;
|
|
extern CardRegion *pSuitStack[];
|
|
extern CardRegion *pRowStack[];
|
|
|
|
|
|
bool CARDLIBPROC RowStackDragProc(CardRegion &stackobj, int iNumCards);
|
|
bool CARDLIBPROC RowStackDropProc(CardRegion &stackobj, const CardStack &dragcards);
|
|
|
|
bool CARDLIBPROC SuitStackDropProc(CardRegion &stackobj, const CardStack &dragcards);
|
|
void CARDLIBPROC SuitStackAddProc(CardRegion &stackobj, const CardStack &added);
|
|
|
|
void CARDLIBPROC RowStackClickProc(CardRegion &stackobj, int iNumClicked);
|
|
void CARDLIBPROC RowStackDblClickProc(CardRegion &stackobj, int iNumClicked);
|
|
|
|
void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int iNumClicked);
|
|
void CARDLIBPROC PileDblClickProc(CardRegion &stackobj, int iNumClicked);
|
|
|
|
void CARDLIBPROC PileRemoveProc(CardRegion &stackobj, int iRemoved);
|
|
|
|
#endif
|