Feature #56 » 0016-Give-nonnull-attribute-to-update_city_activities-ppl.patch
server/cityturn.c | ||
---|---|---|
{
|
||
int n;
|
||
fc_assert(NULL != pplayer);
|
||
fc_assert(NULL != pplayer->cities);
|
||
n = city_list_size(pplayer->cities);
|
server/cityturn.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_shrink_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);
|