Project

General

Profile

Feature #1335 » 0012-Correct-informations-to-information.patch

S3_1 - Marko Lindqvist, 05/01/2025 07:42 PM

View differences:

client/client_main.c
client_game_init();
} else {
/* From an upper state means that we didn't quit the server,
* so a lot of informations are still in effect. */
* so a lot of information is still in effect. */
client_game_reset();
options_dialogs_update();
}
client/gui-qt/dialogs.h
};
/***************************************************************************
Widget around map view to display informations like demographics report,
Widget around map view to display information like demographics report,
top 5 cities, traveler's report.
***************************************************************************/
class notify_dialog:public fcwidget
client/packhand.c
improvement_iterate(pimprove) {
/* Don't update the non-visible improvements, they could hide the
* previously seen informations about the city (diplomat investigation).
* previously seen information about the city (diplomat investigation).
*/
if (is_improvement_visible(pimprove)) {
bool have = BV_ISSET(packet->improvements,
......
close_intel_dialog(pplayer);
}
/* Update the connection informations. */
/* Update the connection information. */
if (client_player() == pplayer) {
client.conn.playing = NULL;
}
common/citizens.c
return;
}
/* For the nationality of the citizens the informations for all player
/* For the nationality of the citizens the information for all player
* slots are allocated as once. Considering a size of citizens (= char)
* this results in an allocation of 2 * 128 * 1 bytes for the citizens
* per nation as well as the timer for a nationality change. */
common/city.c
static void citylog_map_radius_sq(enum log_level level);
#endif /* FREECIV_DEBUG */
/* Get city tile informations using the city tile index. */
/* Get city tile information using the city tile index. */
static struct iter_index *city_map_index = NULL;
/* Get city tile informations using the city tile coordinates. This is an
/* Get city tile information using the city tile coordinates. This is an
* [x][y] array of integer values corresponding to city_map_index. The
* coordinates x and y are in the range [0, CITY_MAP_MAX_SIZE] */
static int city_map_xy[CITY_MAP_MAX_SIZE][CITY_MAP_MAX_SIZE];
......
illness_size = (int)((1.0 - exp(- (float)use_size / 10.0))
* 10.0 * game.info.illness_base_factor);
if (is_server()) {
/* on the server we recalculate the illness due to trade as we have
* all informations */
/* On the server we recalculate the illness due to trade as we have
* all the information */
illness_trade = get_trade_illness(pcity);
} else {
/* on the client we have to rely on the value saved within the city
/* On the client we have to rely on the value saved within the city
* struct */
illness_trade = pcity->illness_trade;
}
common/featured_text.h
* Text tag.
*
* The text_tag type is a structure which tag a particular modification for
* a string. It contains many informations, which the type of modification,
* a string. It contains much information, which the type of modification,
* the start of the modification in bytes from the start of the string, and
* the stop of it. It also can contains many others fields, according to
* sequence type.
(2-2/2)