webperimental: killstack decides stack protects.
[freeciv.git] / server / gamehand.h
blob3b7ad991328ce9f7e36db63f73667913ba0ee808
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.
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
16 struct section_file;
17 struct connection;
18 struct conn_list;
20 void init_new_game(void);
21 void send_year_to_clients(void);
22 void send_game_info(struct conn_list *dest);
24 void send_scenario_info(struct conn_list *dest);
25 void send_scenario_description(struct conn_list *dest);
27 enum unit_role_id crole_to_role_id(char crole);
28 struct unit_type *crole_to_unit_type(char crole,struct player *pplayer);
30 int update_timeout(void);
31 void increase_timeout_because_unit_moved(void);
33 const char *new_challenge_filename(struct connection *pc);
35 void ruleset_choices_free(void);
37 #endif /* FC__GAMEHAND_H */