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
156 if (pdialog->pplayer ==
pplayer) {
506 &diplstates[state->
type]);
640 if (pdialog !=
NULL) {
650 rule =
_(
"All Wonders are known");
653 rule =
_(
"Small Wonders not known");
656 rule =
_(
"Small Wonders visible if we have an embassy");
const char * city_name_get(const struct city *pcity)
bool client_is_global_observer(void)
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
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)
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)
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::@70::@73 client
struct player_economic economic
struct research::@76::@78 client
#define advance_index_iterate_end
#define advance_index_iterate(_start, _index)