ReactOS 0.4.16-dev-125-g798ea90
|
#include <cardlib.h>
Go to the source code of this file.
Macros | |
#define | OPTION_SHOW_STATUS 4 |
#define | OPTION_THREE_CARDS 8 |
#define | OPTION_SHOW_TIME 16 |
#define | OPTION_KEEP_SCORE 32 |
#define | OPTION_SCORE_STD 64 |
#define | OPTION_SCORE_VEGAS 128 |
#define | CARDBACK_START IDC_CARDBACK1 |
#define | CARDBACK_END IDC_CARDBACK12 |
#define | NUM_CARDBACKS (CARDBACK_END - CARDBACK_START + 1) |
#define | CARDBACK_RES_START 53 |
#define | CARDBACK_OPTIONS_WIDTH 72 |
#define | CARDBACK_OPTIONS_HEIGHT 112 |
#define | IDT_PLAYTIMER 1000 |
#define | NUM_ROW_STACKS 7 |
#define | DECK_ID 1 |
#define | PILE_ID 2 |
#define | SUIT_ID 4 |
#define | ROW_ID 10 |
#define | SCORE_NONE 0 |
#define | SCORE_STD 1 |
#define | SCORE_VEGAS 2 |
#define | X_BORDER 20 |
#define | X_PILE_BORDER 18 |
#define | X_ROWSTACK_BORDER 10 |
#define | X_SUITSTACK_BORDER 10 |
#define | Y_BORDER 30 |
#define | Y_BORDERWITHFRAME 20 |
#define | Y_ROWSTACK_BORDER 32 |
#define CARDBACK_END IDC_CARDBACK12 |
Definition at line 17 of file solitaire.h.
#define CARDBACK_OPTIONS_HEIGHT 112 |
Definition at line 21 of file solitaire.h.
#define CARDBACK_OPTIONS_WIDTH 72 |
Definition at line 20 of file solitaire.h.
#define CARDBACK_RES_START 53 |
Definition at line 19 of file solitaire.h.
#define CARDBACK_START IDC_CARDBACK1 |
Definition at line 16 of file solitaire.h.
#define DECK_ID 1 |
Definition at line 39 of file solitaire.h.
#define IDT_PLAYTIMER 1000 |
Definition at line 33 of file solitaire.h.
#define NUM_CARDBACKS (CARDBACK_END - CARDBACK_START + 1) |
Definition at line 18 of file solitaire.h.
#define NUM_ROW_STACKS 7 |
Definition at line 38 of file solitaire.h.
#define OPTION_KEEP_SCORE 32 |
Definition at line 13 of file solitaire.h.
#define OPTION_SCORE_STD 64 |
Definition at line 14 of file solitaire.h.
#define OPTION_SCORE_VEGAS 128 |
Definition at line 15 of file solitaire.h.
#define OPTION_SHOW_STATUS 4 |
Definition at line 10 of file solitaire.h.
#define OPTION_SHOW_TIME 16 |
Definition at line 12 of file solitaire.h.
#define OPTION_THREE_CARDS 8 |
Definition at line 11 of file solitaire.h.
#define PILE_ID 2 |
Definition at line 40 of file solitaire.h.
#define ROW_ID 10 |
Definition at line 42 of file solitaire.h.
#define SCORE_NONE 0 |
Definition at line 44 of file solitaire.h.
#define SCORE_STD 1 |
Definition at line 45 of file solitaire.h.
#define SCORE_VEGAS 2 |
Definition at line 46 of file solitaire.h.
#define SUIT_ID 4 |
Definition at line 41 of file solitaire.h.
#define X_BORDER 20 |
Definition at line 49 of file solitaire.h.
#define X_PILE_BORDER 18 |
Definition at line 50 of file solitaire.h.
#define X_ROWSTACK_BORDER 10 |
Definition at line 51 of file solitaire.h.
#define X_SUITSTACK_BORDER 10 |
Definition at line 52 of file solitaire.h.
#define Y_BORDER 30 |
Definition at line 53 of file solitaire.h.
#define Y_BORDERWITHFRAME 20 |
Definition at line 54 of file solitaire.h.
#define Y_ROWSTACK_BORDER 32 |
Definition at line 55 of file solitaire.h.
Definition at line 45 of file solundo.cpp.
Referenced by NewGame(), RowStackClickProc(), SuitStackAddProc(), and Undo().
Definition at line 12 of file solcreate.cpp.
Referenced by WndProc().
void CARDLIBPROC DeckClickProc | ( | CardRegion & | stackobj, |
int | iNumClicked | ||
) |
Definition at line 504 of file solgame.cpp.
Definition at line 130 of file solitaire.cpp.
Referenced by _tWinMain(), DeckClickProc(), NewGame(), OptionsDlgProc(), RowStackClickProc(), RowStackDropProc(), ShowGameOptionsDlg(), SuitStackAddProc(), SuitStackDropProc(), Undo(), UpdateStatusBar(), and WndProc().
Definition at line 18 of file solgame.cpp.
void CARDLIBPROC PileClickProc | ( | CardRegion & | stackobj, |
int | iNumClicked | ||
) |
void CARDLIBPROC PileDblClickProc | ( | CardRegion & | stackobj, |
int | iNumClicked | ||
) |
Definition at line 452 of file solgame.cpp.
void CARDLIBPROC PileRemoveProc | ( | CardRegion & | stackobj, |
int | iRemoved | ||
) |
Definition at line 481 of file solgame.cpp.
void CARDLIBPROC RowStackClickProc | ( | CardRegion & | stackobj, |
int | iNumClicked | ||
) |
Definition at line 291 of file solgame.cpp.
void CARDLIBPROC RowStackDblClickProc | ( | CardRegion & | stackobj, |
int | iNumClicked | ||
) |
Definition at line 403 of file solgame.cpp.
Referenced by CreateSol(), and PileDblClickProc().
bool CARDLIBPROC RowStackDragProc | ( | CardRegion & | stackobj, |
int | iNumCards | ||
) |
Definition at line 104 of file solgame.cpp.
bool CARDLIBPROC RowStackDropProc | ( | CardRegion & | stackobj, |
CardStack & | dragcards | ||
) |
Definition at line 128 of file solgame.cpp.
Referenced by CreateSol().
Definition at line 172 of file solitaire.cpp.
Referenced by CanDrop(), DeckClickProc(), PileDblClickProc(), PileRemoveProc(), RowStackDblClickProc(), RowStackDragProc(), RowStackDropProc(), SuitStackAddProc(), and SuitStackDropProc().
void SetUndo | ( | int | set_source_id, |
int | set_destination_id, | ||
int | set_number_of_cards, | ||
int | set_prev_score, | ||
int | set_prev_visible_pile_cards | ||
) |
Definition at line 27 of file solundo.cpp.
Referenced by DeckClickProc(), RowStackDropProc(), and SuitStackDropProc().
Definition at line 183 of file solitaire.cpp.
Referenced by ClearUndo(), and SetUndo().
void CARDLIBPROC SuitStackAddProc | ( | CardRegion & | stackobj, |
const CardStack & | added | ||
) |
Definition at line 346 of file solgame.cpp.
Referenced by CreateSol().
void CARDLIBPROC SuitStackClickProc | ( | CardRegion & | stackobj, |
int | iNumClicked | ||
) |
bool CARDLIBPROC SuitStackDropProc | ( | CardRegion & | stackobj, |
CardStack & | dragcards | ||
) |
Definition at line 235 of file solgame.cpp.
Referenced by CreateSol().
Definition at line 53 of file solundo.cpp.
Referenced by WndProc().
Definition at line 150 of file solitaire.cpp.
|
extern |
Definition at line 12 of file solgame.cpp.
Referenced by CreateSol(), DeckClickProc(), FixIfOneCardLeft(), NewGame(), PileRemoveProc(), and Undo().
|
extern |
Definition at line 25 of file solitaire.cpp.
Referenced by AboutProtocol_Abort(), AboutProtocol_LockRequest(), AboutProtocol_Terminate(), BindProtocol_Abort(), BindProtocol_LockRequest(), BindProtocol_Terminate(), ATL::CRegKey::Create(), CreateHKCRKey(), CreateNestedKey(), DeckClickProc(), DuplicateConsoleHandle(), DuplicateHandle(), FileProtocol_Abort(), FileProtocol_LockRequest(), FileProtocol_Terminate(), FilterConnectCommunicationPort(), FixIfOneCardLeft(), FtpProtocol_Abort(), FtpProtocol_LockRequest(), FtpProtocol_Terminate(), GetScoreMode(), GopherProtocol_Abort(), GopherProtocol_LockRequest(), GopherProtocol_Terminate(), GUIDisplayStatusMessage(), HitTestThemeBackground(), HttpProtocol_Abort(), HttpProtocol_LockRequest(), HttpProtocol_Terminate(), ITSProtocol_Abort(), ITSProtocol_LockRequest(), ITSProtocol_Terminate(), IUnknown_AddOptions(), LoadSettings(), MimeFilterProtocol_Abort(), MimeFilterProtocol_LockRequest(), MimeFilterProtocol_Terminate(), MimeHtmlProtocol_Abort(), MimeHtmlProtocol_LockRequest(), MimeHtmlProtocol_Terminate(), MimeProtocol_LockRequest(), MimeProtocol_Terminate(), MkProtocol_Abort(), MkProtocol_LockRequest(), MkProtocol_Terminate(), MSI_OpenPackageW(), MsiAdvertiseProductExA(), MsiAdvertiseProductExW(), MsiGetFileHashA(), MsiGetFileHashW(), MsiOpenPackageExA(), MsiOpenPackageExW(), MsiSourceListAddMediaDiskA(), MsiSourceListAddMediaDiskW(), MsiSourceListAddSourceExA(), MsiSourceListAddSourceExW(), MsiSourceListClearAllExA(), MsiSourceListClearAllExW(), MsiSourceListClearSourceA(), MsiSourceListClearSourceW(), MsiSourceListEnumMediaDisksA(), MsiSourceListEnumMediaDisksW(), MsiSourceListEnumSourcesA(), MsiSourceListEnumSourcesW(), MsiSourceListGetInfoA(), MsiSourceListGetInfoW(), MsiSourceListSetInfoA(), MsiSourceListSetInfoW(), NewGame(), OpenSourceKey(), OptionsDlgProc(), PileRemoveProc(), Protocol_Abort(), Protocol_Terminate(), ProtocolEmul_LockRequest(), ProtocolEmul_Terminate(), ProtocolHandler_Abort(), ProtocolHandler_LockRequest(), ProtocolHandler_Terminate(), RefreshPolicyEx(), RegCreateKeyExA(), RegCreateKeyExW(), RegOpenUserClassesRoot(), ResProtocol_Abort(), ResProtocol_LockRequest(), ResProtocol_Terminate(), SaveSettings(), SetPlayTimer(), SHMapHandle(), ShowGameOptionsDlg(), SuitStackAddProc(), test_CopyBindInfo(), test_pack_INTERNET_AUTH_NOTIFY_DATA(), test_pack_RemBINDINFO(), TUIDisplayStatusMessage(), UpdateStatusBar(), WlxDisplayStatusMessage(), and WndProc().
|
extern |
Definition at line 30 of file solitaire.cpp.
Referenced by _tWinMain(), and NewGame().
|
extern |
Definition at line 27 of file solitaire.cpp.
Referenced by co_CallLowLevelKeyboardHook(), dialog_proc(), CRegWatcher::KbdToggleTimerProc(), LogErrorConsole(), LogInfoConsole(), LogWarningConsole(), MCICDA_CalcFrame(), MCICDA_CalcTime(), NewGame(), ProcessKeyEvent(), CRegWatcher::RegImxTimerProc(), CProgressDialog::SetProgress64(), SuitStackAddProc(), CRegWatcher::SysColorTimerProc(), UpdateStatusBar(), UserSendKeyboardInput(), and WndProc().
|
extern |
Definition at line 28 of file solitaire.cpp.
Referenced by DeckClickProc(), and NewGame().
|
extern |
Definition at line 29 of file solitaire.cpp.
Referenced by DeckClickProc(), and NewGame().
|
extern |
Definition at line 15 of file solgame.cpp.
|
extern |
Definition at line 13 of file solitaire.cpp.
|
extern |
Definition at line 31 of file solitaire.cpp.
Referenced by DeckClickProc(), NewGame(), RowStackClickProc(), RowStackDropProc(), SuitStackAddProc(), SuitStackDropProc(), Undo(), UpdateStatusBar(), and WndProc().
|
extern |
Definition at line 3 of file solcreate.cpp.
Referenced by CreateSol(), CreateSpider(), DeckClickProc(), NewGame(), and Undo().
|
extern |
Definition at line 32 of file solitaire.cpp.
Referenced by SetPlayTimer(), SuitStackAddProc(), and WndProc().
|
extern |
Definition at line 4 of file solcreate.cpp.
Referenced by CreateSol(), DeckClickProc(), FixIfOneCardLeft(), NewGame(), and Undo().
|
extern |
Definition at line 6 of file solcreate.cpp.
Referenced by CreateSol(), NewGame(), and Undo().
|
extern |
Definition at line 5 of file solcreate.cpp.
Referenced by CreateSol(), FindSuitStackFromCard(), SuitStackAddProc(), and Undo().
|
extern |
Definition at line 34 of file solitaire.cpp.
Referenced by CreateSol(), DeckClickProc(), LoadSettings(), NewGame(), SaveSettings(), ShowDeckOptionsDlg(), ShowGameOptionsDlg(), SuitStackAddProc(), Undo(), and WndProc().
|
extern |
Definition at line 18 of file solitaire.cpp.
|
extern |
Definition at line 13 of file solgame.cpp.
Referenced by DeckClickProc(), NewGame(), PileRemoveProc(), RowStackDropProc(), SuitStackDropProc(), and Undo().
|
extern |
Definition at line 10 of file solcreate.cpp.