2010-04-05 07:33:10 +00:00
|
|
|
#ifndef DECK_H
|
|
|
|
#define DECK_H
|
|
|
|
|
|
|
|
#include "stack.h"
|
|
|
|
|
|
|
|
struct deck {
|
|
|
|
struct stack *stock;
|
2010-04-09 03:12:06 +00:00
|
|
|
struct stack *waste_pile;
|
2011-05-29 20:12:52 +00:00
|
|
|
struct stack *foundation[4];
|
|
|
|
struct stack *maneuvre[7];
|
2010-04-05 07:33:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void allocate_deck(struct deck **);
|
|
|
|
void initialize_deck(struct deck *);
|
2011-02-14 02:10:47 +00:00
|
|
|
void free_deck(struct deck *);
|
2010-04-05 07:33:10 +00:00
|
|
|
|
|
|
|
#endif
|