/[maitretarot]/game_server/src/game.h
ViewVC logotype

Diff of /game_server/src/game.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by ymettier, Tue Jun 10 22:01:26 2003 UTC revision 1.7 by ymettier, Thu Jul 10 13:22:44 2003 UTC
# Line 20  Line 20 
20  #include "cardgame_server.h"  #include "cardgame_server.h"
21  #include <glib.h>  #include <glib.h>
22    
23    typedef enum
24    {
25      READ_CHIEN_TOO_FEW_ARGUMENTS,
26      READ_CHIEN_BAD_ARGUMENT,
27      READ_CHIEN_WRONG_CHIEN,
28      READ_CHIEN_OK
29    } read_chient_e;
30    
31  GString *game_params_are_ok (char *type, int nb_players);  GString *game_params_are_ok (char *type, int nb_players);
32  void send_message_SAY_resume (int sock_id, game_t * g);  void send_message_SAY_resume (int sock_id, game_t * g);
33  void send_message_SAY_cards_in_hand (int sock_id, game_t * g, int player_id);  void send_message_SAY_cards_in_hand (int sock_id, game_t * g, int player_id);
34    int player_get_position (player_t * player);
35  void send_ask_bids (int sock_id, player_t * p, int is_resume);  void send_ask_bids (int sock_id, player_t * p, int is_resume);
36  void send_info_chien (int sock_id, player_t * p);  void send_info_chien (int sock_id, player_t * p);
37  void send_ask_chien (int sock_id, player_t * p);  void send_ask_chien (int sock_id, player_t * p);
38    read_chient_e read_chien (char **aline, game_t * game);
39    
40  void game_start (game_t * g);  void game_start (game_t * g);
41    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26