Freeciv-3.3
|
#include <string.h>
#include "fcintl.h"
#include "log.h"
#include "support.h"
#include "connection.h"
#include "game.h"
#include "government.h"
#include "nation.h"
#include "research.h"
#include "client_main.h"
#include "climisc.h"
#include "options.h"
#include "text.h"
#include "plrdlg_g.h"
#include "plrdlg_common.h"
Go to the source code of this file.
Variables | |
struct player_dlg_column | player_dlg_columns [] |
const int | num_player_dlg_columns = ARRAY_SIZE(player_dlg_columns) |
Compare culture of two players in players dialog, needed to sort column
Definition at line 341 of file plrdlg_common.c.
Compares diplomatic status of two players in players dialog
Definition at line 171 of file plrdlg_common.c.
Compare gold of two players in players dialog, needed to sort column
Definition at line 381 of file plrdlg_common.c.
Compares ai's attitude toward the player
Definition at line 193 of file plrdlg_common.c.
Compare luxury of two players in players dialog, needed to sort column
Definition at line 502 of file plrdlg_common.c.
Compares the names of two players in players dialog.
Definition at line 55 of file plrdlg_common.c.
Compare science of two players in players dialog, needed to sort column
Definition at line 462 of file plrdlg_common.c.
Compare score of two players in players dialog
Definition at line 310 of file plrdlg_common.c.
Compare tax of two players in players dialog, needed to sort column
Definition at line 422 of file plrdlg_common.c.
TRUE if the player is AI-controlled.
Definition at line 88 of file plrdlg_common.c.
Player's culture value
Definition at line 372 of file plrdlg_common.c.
Returns a translated string giving the diplomatic status ("war" or "ceasefire (5)").
Definition at line 109 of file plrdlg_common.c.
Returns a translated string giving the embassy status (none/with us/with them/both).
Definition at line 100 of file plrdlg_common.c.
Player's gold
Definition at line 413 of file plrdlg_common.c.
The name of the player's government
Definition at line 319 of file plrdlg_common.c.
Returns a string telling the player's client's hostname (the machine from which they are connecting).
The host is kept as a blank address if no one is controlling the player, even if there is observers.
Definition at line 279 of file plrdlg_common.c.
Returns a string telling how many turns the player has been idle.
Definition at line 293 of file plrdlg_common.c.
Return a string displaying the AI's love (or not) for you...
Definition at line 180 of file plrdlg_common.c.
Player's luxury rate
Definition at line 533 of file plrdlg_common.c.
The player-name (aka nation leader) column of the plrdlg.
Definition at line 47 of file plrdlg_common.c.
The name of the player's nation for the plrdlg.
Definition at line 72 of file plrdlg_common.c.
Player's current research target
Definition at line 566 of file plrdlg_common.c.
Player's science rate
Definition at line 493 of file plrdlg_common.c.
Player's tax rate
Definition at line 453 of file plrdlg_common.c.
The name of the player's team (or empty) for the plrdlg.
Definition at line 80 of file plrdlg_common.c.
The username (connection name) column of the plrdlg.
Definition at line 64 of file plrdlg_common.c.
Returns a translated string giving our shared-vision status.
Definition at line 220 of file plrdlg_common.c.
Return a numerical value suitable for ordering players by their diplomatic status in the players dialog
A lower value stands for more friendly diplomatic status.
Definition at line 135 of file plrdlg_common.c.
Referenced by cmp_diplstate().
Show others player's culture to me if I am allowed to know it.
Definition at line 350 of file plrdlg_common.c.
Referenced by col_culture().
Show player's gold to me if I am allowed to know it
Definition at line 390 of file plrdlg_common.c.
Referenced by col_gold().
Show player's luxury to me if I am allowed to know it
Definition at line 511 of file plrdlg_common.c.
Referenced by col_luxury().
Show player's research to me if I am allowed to know it
Definition at line 541 of file plrdlg_common.c.
Referenced by col_research().
Show player's science to me if I am allowed to know it
Definition at line 471 of file plrdlg_common.c.
Referenced by col_science().
Show player's tax to me if I am allowed to know it.
Definition at line 431 of file plrdlg_common.c.
Referenced by col_tax().
Return default player dlg sorting column.
Definition at line 606 of file plrdlg_common.c.
Referenced by create_players_dialog().
Returns a translated string giving the player's "state".
FIXME: These terms aren't very intuitive for new players.
Definition at line 230 of file plrdlg_common.c.
const int num_player_dlg_columns = ARRAY_SIZE(player_dlg_columns) |
Definition at line 601 of file plrdlg_common.c.
Referenced by plr_item::columnCount(), plr_model::columnCount(), create_players_dialog(), create_show_menu(), create_show_menu(), fill_row(), plr_model::headerData(), init_player_dlg_common(), options_dialogs_set(), options_dialogs_update(), players_dialog_store_new(), real_players_dialog_update(), and update_views().
struct player_dlg_column player_dlg_columns[] |
Definition at line 574 of file plrdlg_common.c.
Referenced by create_players_dialog(), create_plrdlg_display_menu_item(), create_show_menu(), plr_item::data(), plr_widget::display_header_menu(), fill_row(), plr_model::headerData(), plr_model::hide_data(), init_player_dlg_common(), plr_sorter::lessThan(), options_dialogs_set(), options_dialogs_update(), plr_item_delegate::paint(), players_dialog_store_new(), plrdlg_sort_func(), real_players_dialog_update(), toggle_view(), and update_views().