Freeciv-3.1
Loading...
Searching...
No Matches
gamehand.h
Go to the documentation of this file.
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
16struct section_file;
17struct connection;
18struct conn_list;
19
20void init_new_game(void);
21void send_year_to_clients(void);
22void send_game_info(struct conn_list *dest);
23
24void send_scenario_info(struct conn_list *dest);
25void send_scenario_description(struct conn_list *dest);
26
27enum unit_role_id crole_to_role_id(char crole);
28struct unit_type *crole_to_unit_type(char crole, struct player *pplayer);
29
30int update_timeout(void);
32
33const char *new_challenge_filename(struct connection *pc);
34
35#endif /* FC__GAMEHAND_H */
void send_scenario_description(struct conn_list *dest)
Definition gamehand.c:962
void send_year_to_clients(void)
Definition gamehand.c:879
void send_scenario_info(struct conn_list *dest)
Definition gamehand.c:948
int update_timeout(void)
Definition gamehand.c:983
void send_game_info(struct conn_list *dest)
Definition gamehand.c:905
enum unit_role_id crole_to_role_id(char crole)
Definition gamehand.c:85
void increase_timeout_because_unit_moved(void)
Definition gamehand.c:1034
void init_new_game(void)
Definition gamehand.c:449
struct unit_type * crole_to_unit_type(char crole, struct player *pplayer)
Definition gamehand.c:118
const char * new_challenge_filename(struct connection *pc)
Definition gamehand.c:1094