tty-solitaire/lib/deck.h

31 lines
584 B
C
Raw Normal View History

#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;
struct stack *foundation_0;
struct stack *foundation_1;
struct stack *foundation_2;
struct stack *foundation_3;
struct stack *maneuvre_0;
struct stack *maneuvre_1;
struct stack *maneuvre_2;
struct stack *maneuvre_3;
struct stack *maneuvre_4;
struct stack *maneuvre_5;
struct stack *maneuvre_6;
};
extern const char *program_name;
void allocate_deck(struct deck **);
void initialize_deck(struct deck *);
2011-02-14 02:10:47 +00:00
void free_deck(struct deck *);
#endif