Freeciv-3.3
|
#include "fcintl.h"
#include "log.h"
#include "game.h"
#include "nation.h"
#include "packets.h"
#include "victory.h"
#include "client_main.h"
#include "spaceshipdlg_g.h"
#include "text.h"
#include "graphics.h"
#include "gui_id.h"
#include "gui_main.h"
#include "gui_tilespec.h"
#include "mapview.h"
#include "widget.h"
#include "speclist.h"
Go to the source code of this file.
Macros | |
#define | SPECLIST_TAG dialog |
#define | SPECLIST_TYPE struct small_dialog |
#define | dialog_list_iterate(dialoglist, pdialog) TYPED_LIST_ITERATE(struct small_dialog, dialoglist, pdialog) |
#define | dialog_list_iterate_end LIST_ITERATE_END |
Functions | |
static struct small_dialog * | get_spaceship_dialog (struct player *pplayer) |
static int | space_dialog_window_callback (struct widget *pwindow) |
static int | exit_space_dialog_callback (struct widget *pwidget) |
static int | launch_spaceship_callback (struct widget *pwidget) |
void | refresh_spaceship_dialog (struct player *pplayer) |
void | popup_spaceship_dialog (struct player *pplayer) |
void | popdown_spaceship_dialog (struct player *pplayer) |
Variables | |
static struct dialog_list * | dialog_list = NULL |
static bool | dialog_list_has_been_initialised = FALSE |
#define dialog_list_iterate | ( | dialoglist, | |
pdialog | |||
) | TYPED_LIST_ITERATE(struct small_dialog, dialoglist, pdialog) |
Definition at line 46 of file spaceshipdlg.c.
#define dialog_list_iterate_end LIST_ITERATE_END |
Definition at line 48 of file spaceshipdlg.c.
#define SPECLIST_TAG dialog |
Definition at line 42 of file spaceshipdlg.c.
#define SPECLIST_TYPE struct small_dialog |
Definition at line 43 of file spaceshipdlg.c.
User interacted with spaceship dialog close button.
Definition at line 87 of file spaceshipdlg.c.
Referenced by popup_spaceship_dialog().
|
static |
Find spaceship dialog related to specified player.
Definition at line 56 of file spaceshipdlg.c.
User interacted with spaceship dialog launch button.
Definition at line 100 of file spaceshipdlg.c.
Referenced by popup_spaceship_dialog().
Close the spaceship dialog for the given player.
Definition at line 251 of file spaceshipdlg.c.
Popup (or raise) the spaceship dialog for the given player.
Definition at line 146 of file spaceshipdlg.c.
Refresh (update) the spaceship dialog for the given player.
Definition at line 112 of file spaceshipdlg.c.
User interacted with spaceship dialog window.
Definition at line 75 of file spaceshipdlg.c.
Referenced by popup_spaceship_dialog().
Definition at line 50 of file spaceshipdlg.c.
Definition at line 51 of file spaceshipdlg.c.
Referenced by get_spaceship_dialog().