Freeciv-3.3: /fast/freeciv/nightly/main/server/gamehand.h Source File

Freeciv-3.3

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
29enum unit_role_id crole_to_role_id(char crole);
30struct unit_type *crole_to_unit_type(char crole, struct player *pplayer);
31
32int update_timeout(void);
33void increase_timeout_because_unit_moved(void);
34
35const char *new_challenge_filename(struct connection *pc);
36
37#endif /* FC__GAMEHAND_H */
incite_cost
char * incite_cost
Definition comments.c:74
send_scenario_description
void send_scenario_description(struct conn_list *dest)
Definition gamehand.c:967
send_year_to_clients
void send_year_to_clients(void)
Definition gamehand.c:884
send_scenario_info
void send_scenario_info(struct conn_list *dest)
Definition gamehand.c:953
update_timeout
int update_timeout(void)
Definition gamehand.c:988
send_game_info
void send_game_info(struct conn_list *dest)
Definition gamehand.c:910
crole_to_role_id
enum unit_role_id crole_to_role_id(char crole)
Definition gamehand.c:87
increase_timeout_because_unit_moved
void increase_timeout_because_unit_moved(void)
Definition gamehand.c:1039
init_new_game
void init_new_game(void)
Definition gamehand.c:454
crole_to_unit_type
struct unit_type * crole_to_unit_type(char crole, struct player *pplayer)
Definition gamehand.c:120
new_challenge_filename
const char * new_challenge_filename(struct connection *pc)
Definition gamehand.c:1099
cache_rulesets
void cache_rulesets(void)
Definition gamehand.c:1136
connection
Definition connection.h:136
player
Definition player.h:249
section_file
Definition section_file.h:36
unit_type
Definition unittype.h:507