42#define SPECLIST_TAG dialog
43#define SPECLIST_TYPE struct small_dialog
46#define dialog_list_iterate(dialoglist, pdialog) \
47 TYPED_LIST_ITERATE(struct small_dialog, dialoglist, pdialog)
48#define dialog_list_iterate_end LIST_ITERATE_END
64 if (pdialog->end_widget_list->data.player == pplayer) {
181 buf->data.player = pplayer;
static struct spaceship_dialog * get_spaceship_dialog(struct player *pplayer)
void popdown_spaceship_dialog(struct player *pplayer)
#define dialog_list_iterate_end
#define dialog_list_iterate(dialoglist, pdialog)
static struct dialog_list * dialog_list
void popup_spaceship_dialog(struct player *pplayer)
void refresh_spaceship_dialog(struct player *pplayer)
int main_window_width(void)
struct sdl2_data main_data
int main_window_height(void)
#define PRESSED_EVENT(event)
utf8_str * copy_chars_to_utf8_str(utf8_str *pstr, const char *pchars)
#define create_utf8_from_char_fonto(string_in, fonto)
static bool dialog_list_has_been_initialised
static int exit_space_dialog_callback(struct widget *pwidget)
static int space_dialog_window_callback(struct widget *pwindow)
static int launch_spaceship_callback(struct widget *pwidget)
#define fc_calloc(n, esz)
const char * nation_adjective_for_player(const struct player *pplayer)
int send_packet_spaceship_launch(struct connection *pc)
enum spaceship_state state
struct player_spaceship spaceship
struct widget * begin_widget_list
struct widget * end_widget_list
int fc_snprintf(char *str, size_t n, const char *format,...)
const char * get_spaceship_descr(struct player_spaceship *pship)
bool victory_enabled(enum victory_condition_type victory)