const char * new_challenge_filename(struct connection *pc)
Find a file that we can write too, and return it's name.
void init_new_game()
Initialize a new game: place the players' units onto the map, etc.
void send_scenario_description(struct conn_list *dest)
Send description of the current scenario.
void send_scenario_info(struct conn_list *dest)
Send current scenario info.
struct unit_type * crole_to_unit_type(char crole, struct player *pplayer)
Get unit_type for given role character.
void send_game_info(struct conn_list *dest)
Send game_info packet; some server options and various stuff...
void increase_timeout_because_unit_moved()
adjusts game.seconds_to_turn_done when enemy moves a unit, we see it and the remaining timeout is sma...
void send_year_to_clients()
Tell clients the year, and also update turn_done and nturns_idle fields for all players.
enum unit_role_id crole_to_role_id(char crole)
Get role_id for given role character.
int update_timeout()
adjusts game.info.timeout based on various server options