1 #ifndef __GAME_H__ 2 #define __GAME_H__ 3 4 #include "def.h" 5 6 void game_print_family(FILE *stream, int family); 7 8 void game_play_ia(struct _prog *prog_data); 9 10 void game_hand_position(struct _prog *prog_data, int); 11 12 void game_distribute_phase1(struct _prog *); 13 14 void game_finish_phase1(struct _prog *); 15 16 void game_distribute_phase2(struct _prog *prog_data); 17 18 void game_turn(struct _prog *prog_data, struct _card *card); 19 20 void game_middle_position(struct _prog *prog_data); 21 22 void game_position_middle(struct _card *card, 23 struct _prog *, 24 int player); 25 26 void game_start(struct _prog *prog_data); 27 28 void game_choose_trump(struct _prog *prog_data); 29 30 void game_choose_trump_next(struct _prog *prog_data); 31 32 void game_print_card(FILE *stream, struct _card *card); 33 34 gboolean game_find_card(int family, int num, GList *lst); 35 36 struct _card* game_get_best(int *best, int *family, 37 int majorfamily, GList *lst); 38 39 void game_check_declarations(struct _prog *prog_data); 40 41 #endif 42