home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume15
/
accordian
/
part01
/
cards.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-27
|
634b
|
36 lines
/*
* cards.h - the include library with all the definitions for card things
*/
#define REVERSE 1 /* the suit should be displayed in reverse */
#define NORMAL 0
#define SPADE 0 /* the types of cards */
#define HEART 1 /* this should ALWAYS match the suits[] array */
#define CLUB 2
#define DIAMOND 3
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
struct card {
int face;
int suit;
};
extern char *cards[];
extern char *cardnames[];
extern char *suits[];
extern char *suitnames[];
extern char *helplist[];
extern struct card deck[52];
extern newdeck();
extern shuffle();
extern swap();
extern help();