home *** CD-ROM | disk | FTP | other *** search
- DefInt A-Z
-
- Declare Sub WinHelp Lib "user" (ByVal Hwnd%, ByVal HelpFile$, ByVal HelpCommand%, ByVal HelpData As Any)
- Declare Function BitBlt Lib "Gdi" (ByVal DestDc%, ByVal DestX%, ByVal DestY%, ByVal ImageWidth%, ByVal Height%, ByVal SrcDc%, ByVal SrcX%, ByVal SrcY%, ByVal RasterOp&)
- Global Const SRCCOPY = &HCC0020
- Declare Function MhExePath$ Lib "mhen200.vbx" (ByVal Hwnd As Integer)
- Declare Function MhExeName$ Lib "mhen200.vbx" (ByVal Hwnd As Integer)
- Global Const MhTrue = -1, MhFalse = 0
- Global Const CARDSINDECK = 52
- Global Const HORIZONTALSEPARATION = 1300 'for cards, in twips
- ' These are references to the deck option buttons
- Global Const SINGLEDECKBUTTON = 0, DOUBLEDECKBUTTON = 1, SIXDECKBUTTON = 2
-
- ' Indicates if back or face of card drawn
- Global Const BACK = 1, FACE = 0
-
- ' Indicates which hand we're dealing with
- Global Const DEALER = 0, PLAYER = 1, PLAYERB = 2
-
- ' Indicates hand outcome
- Global Const WIN = 1, LOSE = 2, PUSH = 3, WINBJ = 4
-
- ' These are used for results of MsgBox FUNCTION calls
- Global Const MSGBOXOK = 1, MSGBOXCANCEL = 2, MSGBOXYES = 6, MSGBOXNO = 7
- Global Stake&, Advance&
- Global Bet(2)
- Global Split, ActivePlayer, InactivePlayer
- Global Aces, Decks
- Global Cards(313), hands(2, 10), HowManyCards(2), Total(2), Busted(2), playerdone(2)
- Global MasterCardColumn(2, 10)
- Global PlayerHasBj(2), CardRow(2), CardColumn(2, 10), OutCome(2)
- Global CardsLeft, NextCard, Temp, Insurance, WhichDeck
- Global NewDeck, HandInPlay, DealerVisible
- Global BJWidth, BJHeight, DBWidth, DBHeight, DBTop, DBLeft
-
- Global Message$, CRLF$
-
- ' Following are for Windows help system
- Global Const HELPKEYCODE = 112 ' F1
- Global Const HELP_CONTEXT = 1, HELP_QUIT = 2, HELP_INDEX = 3
- Global Const HELP_HELPONHELP = 4, HELP_SETINDEX = 5
- Global Const HELP_KEY = &H101, HELP_MULTIKEY = &H201
-
- Global HelpFileName$
-
-
-
-
-
-
-