1 /**********************************************************************
2  Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3    This program is free software; you can redistribute it and/or modify
4    it under the terms of the GNU General Public License as published by
5    the Free Software Foundation; either version 2, or (at your option)
6    any later version.
7 
8    This program is distributed in the hope that it will be useful,
9    but WITHOUT ANY WARRANTY; without even the implied warranty of
10    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11    GNU General Public License for more details.
12 ***********************************************************************/
13 #ifndef FC__GAMEHAND_H
14 #define FC__GAMEHAND_H
15 
16 struct section_file;
17 struct connection;
18 struct conn_list;
19 
20 void init_new_game(void);
21 void send_year_to_clients(void);
22 void send_game_info(struct conn_list *dest);
23 
24 void send_scenario_info(struct conn_list *dest);
25 void send_scenario_description(struct conn_list *dest);
26 
27 enum unit_role_id crole_to_role_id(char crole);
28 struct unit_type *crole_to_unit_type(char crole,struct player *pplayer);
29 
30 int update_timeout(void);
31 void increase_timeout_because_unit_moved(void);
32 
33 const char *new_challenge_filename(struct connection *pc);
34 
35 #endif  /* FC__GAMEHAND_H */
36