mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
38 lines
1.1 KiB
C
38 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
|