ReactOS  0.4.12-dev-14-gd0c8636
spigame.cpp File Reference
#include "spider.h"
Include dependency graph for spigame.cpp:

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
 
CardRegionfrom
 
CardRegionpDeck
 
CardRegionpStack [NUM_STACKS]
 
bool fGameStarted = false
 
int yRowStackCardOffset
 
int cardsFinished
 
TCHAR MsgDeal []
 
TCHAR MsgWin []
 

Macro Definition Documentation

◆ NUM_CARD_COLORS

#define NUM_CARD_COLORS   4

Definition at line 13 of file spigame.cpp.

Referenced by CreatePlayDeck().

◆ NUM_DECK_CARDS

#define NUM_DECK_CARDS   5

Definition at line 11 of file spigame.cpp.

◆ NUM_ONECOLOR_CARDS

#define NUM_ONECOLOR_CARDS   13

Definition at line 14 of file spigame.cpp.

Referenced by DeckClickProc(), and StackDropProc().

◆ NUM_SMALLER_STACKS

#define NUM_SMALLER_STACKS   4

Definition at line 12 of file spigame.cpp.

Referenced by NewGame().

◆ NUM_SPIDER_CARDS

#define NUM_SPIDER_CARDS   104

Definition at line 16 of file spigame.cpp.

Referenced by CreatePlayDeck(), and StackAddProc().

◆ NUM_STD_CARDS

#define NUM_STD_CARDS   52

Definition at line 15 of file spigame.cpp.

Referenced by CreatePlayDeck().

Function Documentation

◆ CreatePlayDeck()

CardStack CreatePlayDeck ( )

Definition at line 28 of file spigame.cpp.

Referenced by NewGame().

29 {
30  CardStack newStack;
31  int i, colors = 1, num = 0;
32 
33  switch (dwDifficulty)
34  {
35  case IDC_DIF_ONECOLOR:
36  colors = 1;
37  break;
38  case IDC_DIF_TWOCOLORS:
39  colors = 2;
40  break;
41  case IDC_DIF_FOURCOLORS:
42  colors = 4;
43  break;
44  }
45  for (i = 0; i < NUM_SPIDER_CARDS; i++)
46  {
47  num += NUM_CARD_COLORS / colors;
48  Card newCard(num % NUM_STD_CARDS);
49  newStack.Push(newCard);
50  }
51  return newStack;
52 }
void Push(const Card card)
Definition: cardstack.cpp:83
GLenum GLclampf GLint i
Definition: glfuncs.h:14
#define NUM_SPIDER_CARDS
Definition: spigame.cpp:16
#define NUM_CARD_COLORS
Definition: spigame.cpp:13
#define NUM_STD_CARDS
Definition: spigame.cpp:15
GLuint GLuint num
Definition: glext.h:9618
DWORD dwDifficulty
Definition: spider.cpp:25
#define IDC_DIF_ONECOLOR
Definition: resource.h:32
Definition: card.h:27
#define IDC_DIF_TWOCOLORS
Definition: resource.h:33
#define IDC_DIF_FOURCOLORS
Definition: resource.h:34

◆ CreateSpider()

void CreateSpider ( void  )

Definition at line 279 of file spigame.cpp.

Referenced by WndProc().

280 {
281  int i, pos;
282 
283  /* Compute the value for yRowStackCardOffset based on the height of the card, so the card number and suite isn't hidden on larger cards except Ace */
285 
286  pDeck = SpiderWnd.CreateRegion(0, true, 0, 0, -15, 0);
293 
294  /* Create the row stacks */
295  for (i = 0; i < NUM_STACKS; i++)
296  {
297  pStack[i] = SpiderWnd.CreateRegion(NUM_STACKS+i, true, 0, Y_BORDER, 0, yRowStackCardOffset);
299  pos = i - NUM_STACKS/2;
301  pos * (__cardwidth + X_BORDER) + 6 * (X_BORDER + 1) + 3, 0);
306  }
307 }
#define Y_BORDER
Definition: solitaire.h:53
void SetFaceDirection(UINT uDirType, int nOption)
Definition: cardregion.cpp:258
CardRegion * pDeck
Definition: spigame.cpp:20
CardWindow SpiderWnd
Definition: spider.cpp:27
#define X_BORDER
Definition: solitaire.h:49
void SetClickReleaseProc(pClickProc proc)
Definition: cardregion.cpp:187
#define CS_XJUST_RIGHT
Definition: cardlib.h:38
#define CS_DRAG_NONE
Definition: cardlib.h:28
#define CS_DRAG_CALLBACK
Definition: cardlib.h:31
#define CS_EI_SUNK
Definition: cardlib.h:19
void SetPlacement(UINT xJustify, UINT yJustify, int xAdjust, int yAdjust)
Definition: cardregion.cpp:250
void CARDLIBPROC StackAddProc(CardRegion &stackobj, const CardStack &added)
Definition: spigame.cpp:212
void SetEmptyImage(UINT uImage)
Definition: cardregion.cpp:366
GLenum GLclampf GLint i
Definition: glfuncs.h:14
#define CS_EI_CIRC
Definition: cardlib.h:20
bool CARDLIBPROC StackDragProc(CardRegion &stackobj, int numDragCards)
Definition: spigame.cpp:169
bool SetDragRule(UINT uDragType, pCanDragProc proc=0)
Definition: cardregion.cpp:146
#define CS_XJUST_CENTER
Definition: cardlib.h:39
void CARDLIBPROC DeckClickProc(CardRegion &stackobj, int NumDragCards)
Definition: spigame.cpp:126
#define CS_FACE_DOWN
Definition: cardlib.h:52
#define CS_DROP_NONE
Definition: cardlib.h:33
CardRegion * CreateRegion(int id, bool fVisible, int x, int y, int xoffset, int yoffset)
Definition: cardregion.cpp:104
bool CARDLIBPROC StackDropProc(CardRegion &stackobj, CardStack &dragcards)
Definition: spigame.cpp:221
int __cardwidth
Definition: cardlib.cpp:25
#define CS_DROP_CALLBACK
Definition: cardlib.h:35
#define CS_YJUST_BOTTOM
Definition: cardlib.h:42
int yRowStackCardOffset
Definition: spigame.cpp:23
CardRegion * pStack[NUM_STACKS]
Definition: spigame.cpp:21
void SetAddCardProc(pAddProc proc)
Definition: cardregion.cpp:197
bool SetDropRule(UINT uDropType, pCanDropProc proc=0)
Definition: cardregion.cpp:164
int __cardheight
Definition: cardlib.cpp:26
#define NUM_STACKS
Definition: spider.h:21
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:29

◆ DeckClickProc()

void CARDLIBPROC DeckClickProc ( CardRegion stackobj,
int  NumDragCards 
)

Definition at line 126 of file spigame.cpp.

Referenced by CreateSpider().

127 {
128  CardStack temp, fakeDeck = pDeck->GetCardStack();
129  fGameStarted = true;
130 
131  if (fakeDeck.NumCards() != 0 && deck.NumCards() != 0)
132  {
133  int i, facedown, faceup;
134  /* Add one card to every stack */
135  for (i = 0; i < NUM_STACKS; i++)
136  {
137  temp = pStack[i]->GetCardStack();
138  temp.Push(deck.Pop());
139 
140  /* Check if we accidentally finished a row */
141  pStack[i]->GetFaceDirection(&facedown);
142  faceup = temp.NumCards() - facedown;
143  if (faceup >= NUM_ONECOLOR_CARDS)
144  {
145  /* Check stack finished, remove cards if so */
146  if (stackLookingGood(temp, NUM_ONECOLOR_CARDS - 1))
147  {
148  int j;
149  for (j = 0; j < NUM_ONECOLOR_CARDS; j++)
150  {
151  temp.RemoveCard(0);
152  }
154  pStack[i]->SetCardStack(temp);
155  /* Turn now topmost card */
156  TurnStackCard(*pStack[i]);
157  }
158  }
159  pStack[i]->SetCardStack(temp);
160  }
161  /* Remove one card from the fake ones */
162  pDeck->SetCardStack(fakeDeck.Pop(fakeDeck.NumCards() - 1));
163  }
164  pDeck->Update();
165  SpiderWnd.Redraw();
166 }
GLenum GLclampf GLint GLenum GLuint GLenum GLenum GLsizei GLenum const GLvoid GLfloat GLfloat GLfloat GLfloat GLclampd GLint GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean GLboolean GLboolean GLboolean GLint GLenum GLsizei const GLvoid GLenum GLint GLenum GLint GLint GLsizei GLint GLenum GLint GLint GLint GLint GLsizei GLenum GLsizei const GLuint GLboolean GLenum GLenum GLint GLsizei GLenum GLsizei GLenum const GLvoid GLboolean const GLboolean GLenum const GLdouble const GLfloat const GLdouble const GLfloat GLenum GLint GLint GLint GLint GLint GLint j
Definition: glfuncs.h:98
CardRegion * pDeck
Definition: spigame.cpp:20
CardWindow SpiderWnd
Definition: spider.cpp:27
const CardStack & GetCardStack()
Definition: cardregion.cpp:399
void Push(const Card card)
Definition: cardstack.cpp:83
Card RemoveCard(size_t index)
Definition: cardstack.cpp:172
void TurnStackCard(CardRegion &stackobj)
Definition: spigame.cpp:112
int cardsFinished
Definition: spigame.cpp:24
void Redraw(void)
Definition: cardwindow.cpp:553
GLenum GLclampf GLint i
Definition: glfuncs.h:14
void Update()
Definition: cardregion.cpp:207
Card Pop()
Definition: cardstack.cpp:127
static stack_node_t temp
Definition: rpn.c:18
void SetCardStack(const CardStack &cs)
Definition: cardregion.cpp:390
bool fGameStarted
Definition: spigame.cpp:22
CardStack deck
Definition: spigame.cpp:18
CardRegion * pStack[NUM_STACKS]
Definition: spigame.cpp:21
bool stackLookingGood(const CardStack &mystack, int numChecks)
Definition: spigame.cpp:94
UINT GetFaceDirection(int *pnOption)
Definition: cardregion.cpp:273
#define NUM_STACKS
Definition: spider.h:21
#define NUM_ONECOLOR_CARDS
Definition: spigame.cpp:14
int NumCards() const
Definition: cardstack.h:14

◆ GameFinished()

void GameFinished ( )

Definition at line 196 of file spigame.cpp.

Referenced by StackAddProc().

197 {
199 
202  {
203  NewGame();
204  }
205  else
206  {
207  fGameStarted = false;
208  }
209 }
void NewGame(void)
Definition: spigame.cpp:54
CardWindow SpiderWnd
Definition: spider.cpp:27
#define IDYES
Definition: winuser.h:829
void EmptyStacks(void)
Definition: cardwindow.cpp:607
#define MB_YESNO
Definition: winuser.h:811
TCHAR MsgWin[]
Definition: solitaire.cpp:21
#define MB_ICONQUESTION
Definition: winuser.h:783
#define MB_ICONINFORMATION
Definition: winuser.h:796
#define MessageBox
Definition: winuser.h:5688
TCHAR szAppName[128]
Definition: solitaire.cpp:16
bool fGameStarted
Definition: spigame.cpp:22
TCHAR MsgDeal[]
Definition: solitaire.cpp:22
#define MB_OK
Definition: winuser.h:784

◆ NewGame()

void NewGame ( void  )

Definition at line 54 of file spigame.cpp.

Referenced by GameFinished().

55 {
56  int i, j;
57  /* First four stack with five, all other with 4 */
58  int covCards = 5;
59  CardStack fakeDeck, temp;
60 
62 
63  /* Create a new card-deck, fake deck */
64  deck = CreatePlayDeck();
65  deck.Shuffle();
66  fakeDeck.NewDeck();
67  fakeDeck.Shuffle();
68 
69  /* Reset progress value */
70  cardsFinished = 0;
71 
72  /* Deal to each stack */
73  for (i = 0; i < NUM_STACKS; i++)
74  {
75  temp.Clear();
76  if (i == NUM_SMALLER_STACKS)
77  {
78  covCards--;
79  }
80  for (j = 0; j <= covCards; j++)
81  {
82  temp.Push(deck.Pop(1));
83  }
85  pStack[i]->SetCardStack(temp);
86  }
87  /* Deal five fake cards to the deck */
88  pDeck->SetCardStack(fakeDeck.Pop(5));
89 
90  SpiderWnd.Redraw();
91  fGameStarted = false;
92 }
GLenum GLclampf GLint GLenum GLuint GLenum GLenum GLsizei GLenum const GLvoid GLfloat GLfloat GLfloat GLfloat GLclampd GLint GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean GLboolean GLboolean GLboolean GLint GLenum GLsizei const GLvoid GLenum GLint GLenum GLint GLint GLsizei GLint GLenum GLint GLint GLint GLint GLsizei GLenum GLsizei const GLuint GLboolean GLenum GLenum GLint GLsizei GLenum GLsizei GLenum const GLvoid GLboolean const GLboolean GLenum const GLdouble const GLfloat const GLdouble const GLfloat GLenum GLint GLint GLint GLint GLint GLint j
Definition: glfuncs.h:98
void SetFaceDirection(UINT uDirType, int nOption)
Definition: cardregion.cpp:258
CardRegion * pDeck
Definition: spigame.cpp:20
CardWindow SpiderWnd
Definition: spider.cpp:27
#define NUM_SMALLER_STACKS
Definition: spigame.cpp:12
void EmptyStacks(void)
Definition: cardwindow.cpp:607
void Clear()
Definition: cardstack.cpp:37
void Push(const Card card)
Definition: cardstack.cpp:83
int cardsFinished
Definition: spigame.cpp:24
CardStack CreatePlayDeck()
Definition: spigame.cpp:28
void Redraw(void)
Definition: cardwindow.cpp:553
void NewDeck()
Definition: cardstack.cpp:42
GLenum GLclampf GLint i
Definition: glfuncs.h:14
void Shuffle()
Definition: cardstack.cpp:50
Card Pop()
Definition: cardstack.cpp:127
static stack_node_t temp
Definition: rpn.c:18
void SetCardStack(const CardStack &cs)
Definition: cardregion.cpp:390
bool fGameStarted
Definition: spigame.cpp:22
#define CS_FACE_DOWNUP
Definition: cardlib.h:53
CardStack deck
Definition: spigame.cpp:18
CardRegion * pStack[NUM_STACKS]
Definition: spigame.cpp:21
#define NUM_STACKS
Definition: spider.h:21

◆ StackAddProc()

void CARDLIBPROC StackAddProc ( CardRegion stackobj,
const CardStack added 
)

Definition at line 212 of file spigame.cpp.

Referenced by CreateSpider().

213 {
215  {
216  GameFinished();
217  }
218 }
int cardsFinished
Definition: spigame.cpp:24
#define NUM_SPIDER_CARDS
Definition: spigame.cpp:16
void GameFinished()
Definition: spigame.cpp:196

◆ StackDragProc()

bool CARDLIBPROC StackDragProc ( CardRegion stackobj,
int  numDragCards 
)

Definition at line 169 of file spigame.cpp.

Referenced by CreateSpider().

170 {
171  int numfacedown, numcards;
172 
173  stackobj.GetFaceDirection(&numfacedown);
174  numcards = stackobj.NumCards();
175 
176  /* Only cards facing up */
177  if (numDragCards <= numcards - numfacedown)
178  {
179  const CardStack &mystack = stackobj.GetCardStack();
180  /* Don't allow to drag unsuited cards */
181  if (!stackLookingGood(mystack, numDragCards - 1))
182  {
183  return false;
184  }
185  /* Remember where the cards come from */
186  from = &stackobj;
187  return true;
188  }
189  else
190  {
191  return false;
192  }
193 }
const CardStack & GetCardStack()
Definition: cardregion.cpp:399
int NumCards() const
Definition: cardregion.cpp:544
bool stackLookingGood(const CardStack &mystack, int numChecks)
Definition: spigame.cpp:94
UINT GetFaceDirection(int *pnOption)
Definition: cardregion.cpp:273
CardRegion * from
Definition: spigame.cpp:19

◆ StackDropProc()

bool CARDLIBPROC StackDropProc ( CardRegion stackobj,
CardStack dragcards 
)

Definition at line 221 of file spigame.cpp.

Referenced by CreateSpider().

222 {
223  Card dragcard = dragcards[dragcards.NumCards() - 1];
224  int faceup, facedown;
225 
226  /* Only drop our cards on other stacks */
227  if (stackobj.Id() == from->Id())
228  {
229  return false;
230  }
231 
232  /* If stack is empty, everything can be dropped */
233  if (stackobj.NumCards() != 0)
234  {
235  const CardStack &mystack = stackobj.GetCardStack();
236 
237  /* Can only drop if card is 1 less */
238  if (mystack[0].LoVal() != dragcard.LoVal() + 1)
239  {
240  return false;
241  }
242 
243  /* Check if stack complete */
244  stackobj.GetFaceDirection(&facedown);
245  faceup = stackobj.NumCards() - facedown;
246 
247  if (faceup + dragcards.NumCards() >= NUM_ONECOLOR_CARDS)
248  {
249  int i, max = NUM_ONECOLOR_CARDS - dragcards.NumCards() - 1;
250 
251  /* Dragged cards have been checked to be in order, check stack cards */
252  if (mystack[0].Suit() == dragcard.Suit() &&
253  stackLookingGood(mystack, max))
254  {
255  CardStack s = stackobj.GetCardStack();
256  CardStack f;
257 
258  /* Remove from card stack */
259  for (i = 0; i < max + 1; i++)
260  {
261  s.RemoveCard(0);
262  }
263  /* Remove dragged cards */
264  dragcards = f;
265  stackobj.SetCardStack(s);
267  /* Flip top card of the dest stack */
268  TurnStackCard(stackobj);
269  }
270  }
271  }
272  /* Flip the top card of the source stack */
274  fGameStarted = true;
275  return true;
276 }
int Suit() const
Definition: card.h:54
#define max(a, b)
Definition: svc.c:63
const CardStack & GetCardStack()
Definition: cardregion.cpp:399
Card RemoveCard(size_t index)
Definition: cardstack.cpp:172
void TurnStackCard(CardRegion &stackobj)
Definition: spigame.cpp:112
int cardsFinished
Definition: spigame.cpp:24
GLenum GLclampf GLint i
Definition: glfuncs.h:14
int NumCards() const
Definition: cardregion.cpp:544
GLdouble s
Definition: gl.h:2039
void SetCardStack(const CardStack &cs)
Definition: cardregion.cpp:390
Definition: card.h:27
#define f
Definition: ke_i.h:83
bool fGameStarted
Definition: spigame.cpp:22
int LoVal() const
Definition: card.h:59
bool stackLookingGood(const CardStack &mystack, int numChecks)
Definition: spigame.cpp:94
UINT GetFaceDirection(int *pnOption)
Definition: cardregion.cpp:273
#define NUM_ONECOLOR_CARDS
Definition: spigame.cpp:14
CardRegion * from
Definition: spigame.cpp:19
int NumCards() const
Definition: cardstack.h:14

◆ stackLookingGood()

bool stackLookingGood ( const CardStack mystack,
int  numChecks 
)

Definition at line 94 of file spigame.cpp.

Referenced by DeckClickProc(), StackDragProc(), and StackDropProc().

95 {
96  int i;
97  for (i = 0; i < numChecks; i++)
98  {
99  if (mystack[i].LoVal() != mystack[i + 1].LoVal() - 1)
100  {
101  return false;
102  }
103  if (mystack[i].Suit() != mystack[i + 1].Suit())
104  {
105  return false;
106  }
107  }
108  return true;
109 }
GLenum GLclampf GLint i
Definition: glfuncs.h:14

◆ TurnStackCard()

void TurnStackCard ( CardRegion stackobj)

Definition at line 112 of file spigame.cpp.

Referenced by DeckClickProc(), and StackDropProc().

113 {
114  int numfacedown;
115 
116  stackobj.GetFaceDirection(&numfacedown);
117  if (stackobj.NumCards() <= numfacedown)
118  {
119  if (numfacedown > 0) numfacedown--;
120  stackobj.SetFaceDirection(CS_FACE_DOWNUP, numfacedown);
121  stackobj.Redraw();
122  }
123 }
void SetFaceDirection(UINT uDirType, int nOption)
Definition: cardregion.cpp:258
void Redraw()
int NumCards() const
Definition: cardregion.cpp:544
#define CS_FACE_DOWNUP
Definition: cardlib.h:53
UINT GetFaceDirection(int *pnOption)
Definition: cardregion.cpp:273

Variable Documentation

◆ cardsFinished

int cardsFinished

Definition at line 24 of file spigame.cpp.

Referenced by DeckClickProc(), NewGame(), StackAddProc(), and StackDropProc().

◆ deck

CardStack deck

Definition at line 18 of file spigame.cpp.

Referenced by NewGame().

◆ fGameStarted

bool fGameStarted = false

Definition at line 22 of file spigame.cpp.

Referenced by DeckClickProc(), GameFinished(), NewGame(), and StackDropProc().

◆ from

CardRegion* from

Definition at line 19 of file spigame.cpp.

Referenced by __rpc_get_time_offset(), _tcscpy(), _WLocale_mbtowc(), add_dirent_to_buf(), Array_indexOf(), CdRomUpdateGeometryCompletion(), cliptest_np_points4(), cliptest_points2(), cliptest_points3(), cliptest_points4(), codeview_map_offset(), conv_charset(), ConvExecute(), ConWritePaging(), XMLStorage::XMLNode::count(), create_sic(), CreateMappedBitmap(), D3DXWeldVertices(), dataconn(), debugstr_run(), TConsole::DeleteCharacter(), dialog_print(), codecvt_byname< wchar_t, char, mbstate_t >::do_in(), codecvt< wchar_t, char, mbstate_t >::do_length(), codecvt_byname< wchar_t, char, mbstate_t >::do_out(), do_packet(), Subdivider::drawCurves(), Subdivider::drawSurfaces(), ext4_remove_blocks(), FormatMessageA(), FormatMessageW(), GdipCloneCustomLineCap(), get_textfont_prop_for_pos(), graftcp(), IDirectInput8AImpl_ConfigureDevices(), IDirectPlay4Impl_GetMessageQueue(), CodecvtTest::in_out_test(), inflate(), inflate_fast(), inflateBack(), TConsole::InsertCharacter(), TConsole::InsertLine(), is_old_shell32(), Subdivider::isBezierArcType(), ITextSelection_fnSetText(), CodecvtTest::length_test(), ME_Char(), ME_DeleteSelection(), ME_GetInsertStyle(), ME_GetSelectionCharFormat(), ME_GetSelectionOfs(), ME_GetTextEx(), ME_HandleMessage(), ME_KeyDown(), ME_ReplaceSel(), ME_SetSelection(), ME_SetSelectionCharFormat(), ME_StreamIn(), ME_TabPressedInTable(), ME_ToCFAny(), ME_UpdateSelectionLinkAttribute(), movebytes(), normalize_normals(), OnUser(), png_access_version_number(), propagate_face_vertices(), OpenGLCurveEvaluator::range1f(), read_trusted_roots_from_known_locations(), ReadFromPipeThread(), reiserfs_transaction_running(), rescale_normals(), reset_actions(), rtime(), search_message(), set_textfont_prop(), CodecvtTest::special_encodings(), test_copy(), test_move(), test_rename(), test_swab(), TestMessageHandler(), textrange_inrange(), textrange_isequal(), textrange_set_font(), transform_normalize_normals(), transform_normalize_normals_no_rot(), transform_normals(), transform_normals_no_rot(), transform_points1_2d(), transform_points1_2d_no_rot(), transform_points1_3d(), transform_points1_3d_no_rot(), transform_points1_general(), transform_points1_identity(), transform_points1_perspective(), transform_points2_2d(), transform_points2_2d_no_rot(), transform_points2_3d(), transform_points2_3d_no_rot(), transform_points2_general(), transform_points2_identity(), transform_points2_perspective(), transform_points3_2d(), transform_points3_2d_no_rot(), transform_points3_3d(), transform_points3_3d_no_rot(), transform_points3_general(), transform_points3_identity(), transform_points3_perspective(), transform_points4_2d(), transform_points4_2d_no_rot(), transform_points4_3d(), transform_points4_3d_no_rot(), transform_points4_general(), transform_points4_identity(), transform_points4_perspective(), transform_rescale_normals(), transform_rescale_normals_no_rot(), WDML_PostAck(), weld_dec3n(), weld_float1(), weld_float16_2(), weld_float16_4(), weld_float2(), weld_float3(), weld_float4(), weld_short2(), weld_short4(), weld_ubyte4(), weld_udec3(), weld_ushort2n(), weld_ushort4n(), and xmlReportError().

◆ MsgDeal

TCHAR MsgDeal[]

Definition at line 22 of file solitaire.cpp.

Referenced by _tWinMain(), and GameFinished().

◆ MsgWin

TCHAR MsgWin[]

Definition at line 21 of file solitaire.cpp.

Referenced by _tWinMain(), and GameFinished().

◆ pDeck

CardRegion* pDeck

Definition at line 20 of file spigame.cpp.

◆ pStack

Definition at line 21 of file spigame.cpp.

Referenced by TranslateFunctionName().

◆ yRowStackCardOffset

int yRowStackCardOffset

Definition at line 23 of file spigame.cpp.

Referenced by CreateSpider().