reactos/rosapps/games/solitaire/solitaire.h
Steven Edwards e415037205 imported catch-22 sol clone with authors permission
svn path=/trunk/; revision=13904
2005-03-10 04:04:27 +00:00

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