87#define SPECLIST_TAG dialog
88#define SPECLIST_TYPE struct intel_dialog
91#define dialog_list_iterate(dialoglist, pdialog) \
92 TYPED_LIST_ITERATE(struct intel_dialog, dialoglist, pdialog)
93#define dialog_list_iterate_end LIST_ITERATE_END
103#define SPECLIST_TAG wonder_dialog
104#define SPECLIST_TYPE struct intel_wonder_dialog
107#define wonder_dialog_list_iterate(dialoglist, pdialog) \
108 TYPED_LIST_ITERATE(struct intel_wonder_dialog, dialoglist, pdialog)
109#define wonder_dialog_list_iterate_end LIST_ITERATE_END
116#define FC_TYPE_TECH_ROW (fc_tech_row_get_type())
135#define FC_TYPE_WONDER_ROW (fc_wonder_row_get_type())
156#define TECH_ROW_NAME 0
157#define TECH_ROW_KNOWN 1
159#define WONDER_ROW_NAME 0
160#define WONDER_ROW_CITY 1
258 if (pdialog->pplayer ==
pplayer) {
690 &diplstates[state->
type]);
821 if (pdialog !=
NULL) {
831 rule =
_(
"All Wonders are known");
834 rule =
_(
"Small Wonders not known");
837 rule =
_(
"Small Wonders visible if we have an embassy");
847 const char *cityname;
848 bool is_lost =
FALSE;
857 cityname =
_(
"(unknown city)");
863 cityname =
_(
"(lost)");
870 row->cityname = cityname;
871 row->is_lost = is_lost;
const char * city_name_get(const struct city *pcity)
static struct ai_type * self
bool client_is_global_observer(void)
static struct fc_sockaddr_list * list
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city * pcity
bool could_intel_with_player(const struct player *pplayer, const struct player *aplayer)
const char * ruler_title_for_player(const struct player *pplayer, char *buf, size_t buf_len)
const char * government_name_for_player(const struct player *pplayer)
void setup_dialog(GtkWidget *shell, GtkWidget *parent)
void popup_intel_dialog(struct player *p)
static struct intel_dialog * get_intel_dialog(struct player *pplayer)
static void intel_wonder_destroy_callback(GtkWidget *w, gpointer data)
void close_intel_wonder_dialog(struct player *p)
static struct intel_wonder_dialog * get_intel_wonder_dialog(struct player *pplayer)
void close_intel_dialog(struct player *p)
#define wonder_dialog_list_iterate_end
static const char * table_text[]
void update_intel_wonder_dialog(struct player *p)
static void intel_destroy_callback(GtkWidget *w, gpointer data)
#define wonder_dialog_list_iterate(dialoglist, pdialog)
#define dialog_list_iterate_end
void popup_intel_wonder_dialog(struct player *p)
#define dialog_list_iterate(dialoglist, pdialog)
void intel_dialog_done(void)
static struct dialog_list * dialog_list
static struct wonder_dialog_list * wonder_dialogs
static struct intel_wonder_dialog * create_intel_wonder_dialog(struct player *p)
void intel_dialog_init(void)
static struct intel_dialog * create_intel_dialog(struct player *p)
void update_intel_dialog(struct player *p)
static struct gui_dialog * shell
static void fc_tech_row_init(FcTechRow *self)
static void wonder_factory_bind(GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data)
static void fc_tech_row_class_init(FcTechRowClass *klass)
static FcWonderRow * fc_wonder_row_new(void)
static void fc_wonder_row_init(FcWonderRow *self)
static void fc_wonder_row_class_init(FcWonderRowClass *klass)
static FcTechRow * fc_tech_row_new(void)
static void tech_factory_bind(GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data)
#define FC_TYPE_WONDER_ROW
static void tech_factory_setup(GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data)
static void wonder_factory_setup(GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data)
bool wonder_is_lost(const struct player *pplayer, const struct impr_type *pimprove)
bool wonder_is_built(const struct player *pplayer, const struct impr_type *pimprove)
struct city * city_from_wonder(const struct player *pplayer, const struct impr_type *pimprove)
bool is_wonder(const struct impr_type *pimprove)
bool is_great_wonder(const struct impr_type *pimprove)
bool improvement_obsolete(const struct player *pplayer, const struct impr_type *pimprove, const struct city *pcity)
const char * improvement_name_translation(const struct impr_type *pimprove)
#define improvement_iterate_end
#define improvement_iterate(_p)
#define fc_assert(condition)
const char * nation_adjective_for_player(const struct player *pplayer)
const char * player_name(const struct player *pplayer)
bool team_has_embassy(const struct team *pteam, const struct player *tgt_player)
struct city * player_primary_capital(const struct player *pplayer)
struct player_diplstate * player_diplstate_get(const struct player *plr1, const struct player *plr2)
#define players_iterate_end
#define players_iterate(_pplayer)
const char * research_advance_name_translation(const struct research *presearch, Tech_type_id tech)
struct research * research_get(const struct player *pplayer)
enum tech_state research_invention_state(const struct research *presearch, Tech_type_id tech)
GObjectClass parent_class
GObjectClass parent_class
struct packet_game_info info
GtkTreeStore * diplstates
struct advanced_dialog * pdialog
GtkWidget * table_labels[LABEL_LAST]
enum wonder_visib_type small_wonder_visibility
const struct player_diplstate ** diplstates
struct player_economic economic
struct player::@73::@76 client
struct research::@79::@81 client
#define advance_index_iterate_end
#define advance_index_iterate(_start, _index)