tty-solitaire/debug/deck_debug.c

50 lines
998 B
C
Raw Normal View History

#include <stdio.h>
2010-04-10 16:55:29 +00:00
#include "stack_debug.h"
2010-04-10 16:49:19 +00:00
#include "deck_debug.h"
void print_deck(struct deck *deck) {
2010-04-10 16:59:04 +00:00
puts("stock");
print_stack(deck->stock);
2010-04-10 16:59:04 +00:00
puts("");
puts("waste_pile");
print_stack(deck->waste_pile);
2010-04-10 16:59:04 +00:00
puts("");
2010-04-10 16:59:04 +00:00
puts("foundation_0");
print_stack(deck->foundation_0);
2010-04-10 16:59:04 +00:00
puts("");
puts("foundation_1");
print_stack(deck->foundation_1);
2010-04-10 16:59:04 +00:00
puts("");
puts("foundation_2");
print_stack(deck->foundation_2);
2010-04-10 16:59:04 +00:00
puts("");
puts("foundation_3");
print_stack(deck->foundation_3);
2010-04-10 16:59:04 +00:00
puts("");
2010-04-10 16:59:04 +00:00
puts("maneuvre_0");
print_stack(deck->maneuvre_0);
2010-04-10 16:59:04 +00:00
puts("");
puts("maneuvre_1");
print_stack(deck->maneuvre_1);
2010-04-10 16:59:04 +00:00
puts("");
puts("maneuvre_2");
print_stack(deck->maneuvre_2);
2010-04-10 16:59:04 +00:00
puts("");
puts("maneuvre_3");
print_stack(deck->maneuvre_3);
2010-04-10 16:59:04 +00:00
puts("");
puts("maneuvre_4");
print_stack(deck->maneuvre_4);
2010-04-10 16:59:04 +00:00
puts("");
puts("maneuvre_5");
print_stack(deck->maneuvre_5);
2010-04-10 16:59:04 +00:00
puts("");
puts("maneuvre_6");
print_stack(deck->maneuvre_6);
2010-04-10 16:59:04 +00:00
puts("");
return;
}