Feature #56 » 0009-Give-nonnull-attribute-to-update_city_activities-ppl.patch
server/cityturn.c | ||
---|---|---|
char buf[4 * MAX_LEN_NAME];
|
||
int n, gold;
|
||
fc_assert(NULL != pplayer);
|
||
fc_assert(NULL != pplayer->cities);
|
||
n = city_list_size(pplayer->cities);
|
server/cityturn.h | ||
---|---|---|
/**********************************************************************
|
||
/***********************************************************************
|
||
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
|
||
This program is free software; you can redistribute it and/or modify
|
||
it under the terms of the GNU General Public License as published by
|
||
... | ... | |
#ifndef FC__CITYTURN_H
|
||
#define FC__CITYTURN_H
|
||
/* utility */
|
||
#include "support.h" /* bool type */
|
||
#include "fc_types.h"
|
||
... | ... | |
struct conn_list;
|
||
struct cm_result;
|
||
bool city_refresh(struct city *pcity); /* call if city has changed */
|
||
void city_refresh_for_player(struct player *pplayer); /* tax/govt changed */
|
||
bool city_refresh(struct city *pcity); /* Call if city has changed */
|
||
void city_refresh_for_player(struct player *pplayer); /* Tax/govt changed */
|
||
void city_refresh_queue_add(struct city *pcity);
|
||
void city_refresh_queue_processing(void);
|
||
void auto_arrange_workers(struct city *pcity); /* will arrange the workers */
|
||
void auto_arrange_workers(struct city *pcity); /* Will arrange the workers */
|
||
void apply_cmresult_to_city(struct city *pcity, const struct cm_result *cmr);
|
||
bool city_change_size(struct city *pcity, citizens new_size,
|
||
... | ... | |
int city_granary_savings(const struct city *pcity);
|
||
void send_city_turn_notifications(struct connection *pconn);
|
||
void update_city_activities(struct player *pplayer);
|
||
void update_city_activities(struct player *pplayer)
|
||
fc__attribute((nonnull(1)));
|
||
int city_incite_cost(struct player *pplayer, struct city *pcity);
|
||
void remove_obsolete_buildings_city(struct city *pcity, bool refresh);
|
||
void remove_obsolete_buildings(struct player *pplayer);
|
||
... | ... | |
void city_style_refresh(struct city *pcity);
|
||
#endif /* FC__CITYTURN_H */
|
||
#endif /* FC__CITYTURN_H */
|
- « Previous
- 1
- 2
- Next »