|
-
Jan 5th, 2005, 10:32 PM
#1
Thread Starter
New Member
Cards.dll
Sorting Cards:
Using "cdtDraw me.hdc, x, y, ordFace, iDraw, vbWhite", ordFace should be set to "0" for normal face cards, "2" for inverted face cards, and "1" for card backs.
Setting ordFace to "0" orders the cards as such; "0 = Ace of Clubs"; "1 = Ace of Diamonds?"; "2 = Ace of Hearts?"; "3 = Ace of Spades." Essentially ordering the cards by value.
Setting ordFace to "1" (the value reserved for card backs) and displaying card faces as I read was not to be done, orders the cards as such; "1 = Ace of Clubs"; "2 = Two of Clubs";... "14 = Ace of Diamonds." Essentially ordering cards by suit. "0" is not used and the numbers are "1-52", instead of "0-51".
Is it safe programming to use either one or is it best to use only one method and which one?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|