Freeciv-3.2
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
27void cache_rulesets(void);
28
30struct unit_type *crole_to_unit_type(char crole, struct player *pplayer);
31
32int update_timeout(void);
34
35const char *new_challenge_filename(struct connection *pc);
36
37#endif /* FC__GAMEHAND_H */
char * incite_cost
Definition comments.c:75
void send_scenario_description(struct conn_list *dest)
Definition gamehand.c:964
void send_year_to_clients(void)
Definition gamehand.c:881
void send_scenario_info(struct conn_list *dest)
Definition gamehand.c:950
int update_timeout(void)
Definition gamehand.c:985
void send_game_info(struct conn_list *dest)
Definition gamehand.c:907
enum unit_role_id crole_to_role_id(char crole)
Definition gamehand.c:87
void increase_timeout_because_unit_moved(void)
Definition gamehand.c:1036
void init_new_game(void)
Definition gamehand.c:451
struct unit_type * crole_to_unit_type(char crole, struct player *pplayer)
Definition gamehand.c:120
const char * new_challenge_filename(struct connection *pc)
Definition gamehand.c:1096
void cache_rulesets(void)
Definition gamehand.c:1133