Searched refs:CardStack (Results 1 – 15 of 15) sorted by relevance
/reactos/sdk/lib/3rdparty/cardlib/ |
H A D | cardstack.cpp | 37 void CardStack::Clear() in Clear() 89 void CardStack::Push(const CardStack &cardstack) in Push() 100 CardStack& CardStack::operator += (Card card) in operator +=() 106 CardStack& CardStack::operator += (CardStack &cs) in operator +=() 112 CardStack CardStack::operator + (Card card) in operator +() 119 CardStack CardStack::operator + (CardStack &cs) in operator +() 127 Card CardStack::Pop() in Pop() 135 CardStack CardStack::Pop(int items) in Pop() 151 Card CardStack::Top() in Top() 159 CardStack CardStack::Top(int items) in Top() [all …]
|
H A D | cardstack.h | 6 class CardStack 11 CardStack() : nNumCards(0) { } in CardStack() function 20 void Push(const CardStack &cardstack); 23 CardStack Pop(int items); 26 CardStack Top(int items); 37 CardStack &operator += (Card card); 38 CardStack &operator += (CardStack &cs); 40 CardStack operator + (Card card); 41 CardStack operator + (CardStack &cs); 45 CardStack(CardStack ©this, size_t fromindex);
|
H A D | cardcount.h | 8 CardCount(const CardStack &cs); 10 void Init(const CardStack &cs); 12 void Add(const CardStack &cs); 13 void Sub(const CardStack &cs); 19 CardCount &operator = (const CardStack &cs); 20 CardCount &operator += (const CardStack &cs);
|
H A D | cardregion.h | 14 friend class CardStack; variable 29 void SetCardStack(const CardStack &cs); 30 const CardStack & GetCardStack(); 89 void Push(const CardStack &cs) { cardstack.Push(cs); } in Push() 92 CardStack Pop(int items) { return cardstack.Pop(items); } in Pop() 95 CardStack Top(int items) { return cardstack.Top(items); } in Top() 103 void UpdateFaceDir(CardStack &cards); 117 bool CanDropCards(CardStack &cards); 143 CardStack cardstack; //cards in this stack 144 CardStack dragstack; //cards which we might be dragging
|
H A D | cardcount.cpp | 30 CardCount::CardCount(const CardStack &cs) in CardCount() 41 void CardCount::Add(const CardStack &cs) in Add() 52 void CardCount::Sub(const CardStack &cs) in Sub() 64 void CardCount::Init(const CardStack &cs) in Init()
|
H A D | cardlib.h | 82 class CardStack; variable 86 typedef bool (CARDLIBPROC *pCanDropProc) (CardRegion &stackobj, CardStack &cards); 88 typedef void (CARDLIBPROC *pAddProc) (CardRegion &stackobj, const CardStack &cards); 92 typedef int (CARDLIBPROC *pDropZoneProc) (int dzid, const CardStack &cards);
|
H A D | dropzone.h | 9 class CardStack; variable 24 int DropCards(CardStack &cardstack) in DropCards()
|
H A D | cardregion.cpp | 390 void CardRegion::SetCardStack(const CardStack &cs) in SetCardStack() 399 const CardStack & CardRegion::GetCardStack() in GetCardStack() 409 void CardRegion::UpdateFaceDir(CardStack &cards) in UpdateFaceDir() 499 CardStack temp; in MoveCard() 526 CardStack cs = pDestStack->GetCardStack(); in MoveCard()
|
H A D | card.h | 29 friend class CardStack; variable
|
H A D | cardrgnmouse.cpp | 185 bool CardRegion::CanDropCards(CardStack &cards) in CanDropCards() 331 CardStack temp = pDestStack->GetCardStack(); in OnLButtonUp()
|
/reactos/base/applications/games/spider/ |
H A D | spigame.cpp | 18 CardStack deck; 28 CardStack CreatePlayDeck() in CreatePlayDeck() 30 CardStack newStack; in CreatePlayDeck() 59 CardStack fakeDeck, temp; in NewGame() 94 bool stackLookingGood(const CardStack &mystack, int numChecks) in stackLookingGood() 128 CardStack temp, fakeDeck = pDeck->GetCardStack(); in DeckClickProc() 179 const CardStack &mystack = stackobj.GetCardStack(); in StackDragProc() 221 bool CARDLIBPROC StackDropProc(CardRegion &stackobj, CardStack &dragcards) in StackDropProc() 235 const CardStack &mystack = stackobj.GetCardStack(); in StackDropProc() 255 CardStack s = stackobj.GetCardStack(); in StackDropProc() [all …]
|
H A D | spider.h | 36 bool CARDLIBPROC RowStackDropProc(CardRegion &stackobj, const CardStack &dragcards);
|
/reactos/base/applications/games/solitaire/ |
H A D | solgame.cpp | 12 CardStack activepile; 53 CardStack deck; in NewGame() 62 CardStack temp; in NewGame() 128 bool CARDLIBPROC RowStackDropProc(CardRegion &stackobj, CardStack &dragcards) in RowStackDropProc() 146 const CardStack &mystack = stackobj.GetCardStack(); in RowStackDropProc() 202 const CardStack &cardstack = stackobj.GetCardStack(); in CanDrop() 235 bool CARDLIBPROC SuitStackDropProc(CardRegion &stackobj, CardStack &dragcards) in SuitStackDropProc() 417 const CardStack &cardstack = stackobj.GetCardStack(); in RowStackDblClickProc() 510 CardStack cardstack = stackobj.GetCardStack(); in DeckClickProc() 511 CardStack pile = pPile->GetCardStack(); in DeckClickProc() [all …]
|
H A D | solitaire.h | 63 extern CardStack activepile; 71 bool CARDLIBPROC RowStackDropProc(CardRegion &stackobj, CardStack &dragcards); 73 bool CARDLIBPROC SuitStackDropProc(CardRegion &stackobj, CardStack &dragcards); 74 void CARDLIBPROC SuitStackAddProc(CardRegion &stackobj, const CardStack &added);
|
H A D | solundo.cpp | 96 CardStack tmp = activepile.Pop(number_of_cards); in Undo() 129 CardStack tmp = activepile.Top(prev_visible_pile_cards); in Undo() 139 CardStack tmp = destination->Pop(1); in Undo()
|