// Copyright: (c) 1993-1998 Chris Breeze
// Licence: wxWindows licence
//---------------------------------------------------------------------------
-// Last modified: 22nd July 1998 - ported to wxWindows 2.0
+// Last modified: 22nd July 1998 - ported to wxWidgets 2.0
/////////////////////////////////////////////////////////////////////////////
//+-------------------------------------------------------------+
//| Description: |
{
for (int i = 0; i <= m_topCard; i++)
{
- if (card == m_cards[i]) return TRUE;
+ if (card == m_cards[i]) return true;
}
- return FALSE;
+ return false;
}
// Calculate how far x, y is from top card in the pile
if (x >= cardX - Card::GetWidth() && x <= cardX + Card::GetWidth() &&
y >= cardY - Card::GetHeight() && y <= cardY + Card::GetHeight())
{
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}