ReactOS 0.4.16-dev-109-gf4cb10f
|
#include "spider.h"
Go to the source code of this file.
Macros | |
#define | NUM_DECK_CARDS 5 |
#define | NUM_SMALLER_STACKS 4 |
#define | NUM_CARD_COLORS 4 |
#define | NUM_ONECOLOR_CARDS 13 |
#define | NUM_STD_CARDS 52 |
#define | NUM_SPIDER_CARDS 104 |
Functions | |
CardStack | CreatePlayDeck () |
void | NewGame (void) |
bool | stackLookingGood (const CardStack &mystack, int numChecks) |
void | TurnStackCard (CardRegion &stackobj) |
void CARDLIBPROC | DeckClickProc (CardRegion &stackobj, int NumDragCards) |
bool CARDLIBPROC | StackDragProc (CardRegion &stackobj, int numDragCards) |
void | GameFinished () |
void CARDLIBPROC | StackAddProc (CardRegion &stackobj, const CardStack &added) |
bool CARDLIBPROC | StackDropProc (CardRegion &stackobj, CardStack &dragcards) |
void | CreateSpider () |
Variables | |
CardStack | deck |
CardRegion * | from |
CardRegion * | pDeck |
CardRegion * | pStack [NUM_STACKS] |
bool | fGameStarted = false |
int | yRowStackCardOffset |
int | cardsFinished |
TCHAR | MsgDeal [] |
TCHAR | MsgWin [] |
#define NUM_CARD_COLORS 4 |
Definition at line 13 of file spigame.cpp.
#define NUM_DECK_CARDS 5 |
Definition at line 11 of file spigame.cpp.
#define NUM_ONECOLOR_CARDS 13 |
Definition at line 14 of file spigame.cpp.
#define NUM_SMALLER_STACKS 4 |
Definition at line 12 of file spigame.cpp.
#define NUM_SPIDER_CARDS 104 |
Definition at line 16 of file spigame.cpp.
#define NUM_STD_CARDS 52 |
Definition at line 15 of file spigame.cpp.
CardStack CreatePlayDeck | ( | ) |
Definition at line 28 of file spigame.cpp.
Referenced by NewGame().
Definition at line 279 of file spigame.cpp.
Referenced by WndProc().
void CARDLIBPROC DeckClickProc | ( | CardRegion & | stackobj, |
int | NumDragCards | ||
) |
Definition at line 126 of file spigame.cpp.
Referenced by CreateSpider().
void GameFinished | ( | ) |
Definition at line 196 of file spigame.cpp.
Referenced by StackAddProc().
Definition at line 54 of file spigame.cpp.
Referenced by GameFinished().
void CARDLIBPROC StackAddProc | ( | CardRegion & | stackobj, |
const CardStack & | added | ||
) |
Definition at line 212 of file spigame.cpp.
Referenced by CreateSpider().
bool CARDLIBPROC StackDragProc | ( | CardRegion & | stackobj, |
int | numDragCards | ||
) |
Definition at line 169 of file spigame.cpp.
Referenced by CreateSpider().
bool CARDLIBPROC StackDropProc | ( | CardRegion & | stackobj, |
CardStack & | dragcards | ||
) |
Definition at line 221 of file spigame.cpp.
Referenced by CreateSpider().
Definition at line 94 of file spigame.cpp.
Referenced by DeckClickProc(), StackDragProc(), and StackDropProc().
void TurnStackCard | ( | CardRegion & | stackobj | ) |
Definition at line 112 of file spigame.cpp.
Referenced by DeckClickProc(), and StackDropProc().
int cardsFinished |
Definition at line 24 of file spigame.cpp.
Referenced by DeckClickProc(), NewGame(), StackAddProc(), and StackDropProc().
CardStack deck |
Definition at line 18 of file spigame.cpp.
Referenced by DeckClickProc(), and NewGame().
Definition at line 22 of file spigame.cpp.
Referenced by DeckClickProc(), GameFinished(), NewGame(), and StackDropProc().
CardRegion* from |
Definition at line 19 of file spigame.cpp.
Referenced by __ConvertToCP(), __mbtowc(), __rpc_get_time_offset(), _copy_diactionformatAtoW(), _copy_diactionformatWtoA(), _FileOpCountManager(), _memccpy(), _tcscpy(), _WLocale_mbtowc(), adns__transfer_interim(), Array_indexOf(), capture_CheckNotify(), cf2w_to_cfany(), cfany_to_cf2w(), check_and_store_certs(), check_convertible(), codeview_map_offset(), communicate(), Context_CopyProperties(), ContextPropertyList_Copy(), conv_charset(), ConvExecute(), XMLStorage::XMLNode::count(), CreateMappedBitmap(), CRYPT_CopyKeyProvInfo(), Backend::curvmesh(), D3DXWeldVertices(), dataconn(), TConsole::DeleteCharacter(), DeleteDirectoryTree(), dialog_print(), codecvt< wchar_t, char, mbstate_t >::do_in(), codecvt_byname< wchar_t, char, mbstate_t >::do_in(), codecvt< char, char, mbstate_t >::do_length(), codecvt< wchar_t, char, mbstate_t >::do_length(), codecvt_byname< wchar_t, char, mbstate_t >::do_length(), codecvt< wchar_t, char, mbstate_t >::do_out(), codecvt_byname< wchar_t, char, mbstate_t >::do_out(), do_packet(), do_synchronous_recvfrom(), Subdivider::drawCurves(), Subdivider::drawSurfaces(), escstrcpy(), ext4_remove_blocks(), XMLStorage::XMLNode::filter(), find_converter(), FormatMessageA(), FormatMessageW(), GdipCloneCustomLineCap(), get_selection_rect(), get_textfont_prop_for_pos(), Quilt::getRange(), got_one(), graftcp(), handle_enter(), IDirectInput8AImpl_ConfigureDevices(), IDirectPlay2AImpl_Receive(), IDirectPlay2AImpl_Send(), IDirectPlay2Impl_Receive(), IDirectPlay2Impl_Send(), IDirectPlay3AImpl_Receive(), IDirectPlay3AImpl_Send(), IDirectPlay3AImpl_SendChatMessage(), IDirectPlay3Impl_Receive(), IDirectPlay3Impl_Send(), IDirectPlay3Impl_SendChatMessage(), IDirectPlay4AImpl_GetMessageQueue(), IDirectPlay4AImpl_Send(), IDirectPlay4AImpl_SendChatMessage(), IDirectPlay4AImpl_SendEx(), IDirectPlay4Impl_GetMessageQueue(), IDirectPlay4Impl_Send(), IDirectPlay4Impl_SendChatMessage(), IDirectPlay4Impl_SendEx(), IDirectPlayImpl_Receive(), IDirectPlayImpl_Send(), CodecvtTest::in_out_test(), inflate(), inflate_fast(), inflateBack(), _Locale_impl::insert(), TConsole::InsertCharacter(), TConsole::InsertLine(), InstallFiles(), IRichEditOle_fnGetObject(), is_old_shell32(), IsWordBreak(), ITextSelection_fnSetText(), layout_merge_segments(), layout_recall_merge(), layout_state_merge(), CodecvtTest::length_test(), lfn_fix_checksum(), lfn_remove(), Subdivider::makeBorderTrim(), Subdivider::makePatchBoundary(), OpenGLCurveEvaluator::mapmesh1f(), ME_Char(), ME_DeleteSelection(), ME_GetCharFormat(), ME_GetInsertStyle(), ME_GetSelection(), ME_GetSelectionCharFormat(), ME_GetSelectionOfs(), ME_GetTextEx(), ME_HandleMessage(), ME_ReplaceSel(), ME_SetSelectionCharFormat(), ME_StreamIn(), ME_TabPressedInTable(), ME_UpdateSelectionLinkAttribute(), memcpy_max(), MONTHCAL_CopyDate(), MONTHCAL_CopyTime(), movebytes(), mpg123_add_substring(), mpg123_copy_string(), mpg123_move_string(), mpg123_set_substring(), msi_move_file(), OnUser(), ParaNdis_ResetOffloadSettings(), pathcp(), propagate_face_vertices(), OpenGLCurveEvaluator::range1f(), BasicSurfaceEvaluator::range2f(), read_trusted_roots_from_known_locations(), ReadFromPipeThread(), recvfrom(), rtime(), scale_point_dpi_aware(), scale_rect_dpi_aware(), search_message(), send_request(), SendFurther(), set_selection(), set_selection_cursors(), set_textfont_prop(), CodecvtTest::special_encodings(), StackDragProc(), StackDropProc(), STATUSBAR_NotifyFormat(), str2mac(), Backend::surfbbox(), Flist::taper(), test(), test_copy(), test_move(), test_rename(), test_swab(), TestMessageHandler(), textrange_inrange(), textrange_isequal(), textrange_set_font(), transitionJobState(), units_scale(), VARIANT_DecFromDI(), VARIANT_DIFromDec(), WDML_PostAck(), weld_component(), weld_d3dcolor(), weld_dec3n(), weld_float1(), weld_float16_2(), weld_float16_4(), weld_float2(), weld_float3(), weld_float4(), weld_short2(), weld_short2n(), weld_short4(), weld_short4n(), weld_ubyte4(), weld_ubyte4n(), weld_udec3(), weld_ushort2n(), and weld_ushort4n().
|
extern |
Definition at line 24 of file solitaire.cpp.
Referenced by _tWinMain(), and GameFinished().
|
extern |
Definition at line 23 of file solitaire.cpp.
Referenced by _tWinMain(), and GameFinished().
CardRegion* pDeck |
Definition at line 20 of file spigame.cpp.
Referenced by CreateSpider(), DeckClickProc(), and NewGame().
CardRegion* pStack[NUM_STACKS] |
Definition at line 21 of file spigame.cpp.
Referenced by CreateSpider(), DeckClickProc(), NewGame(), and TranslateFunctionName().
int yRowStackCardOffset |
Definition at line 23 of file spigame.cpp.
Referenced by CreateSpider().