Freeciv-3.1
|
#include "fcintl.h"
#include "log.h"
#include "game.h"
#include "packets.h"
#include "victory.h"
#include "client_main.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 "spaceshipdlg.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 45 of file spaceshipdlg.c.
#define dialog_list_iterate_end LIST_ITERATE_END |
Definition at line 47 of file spaceshipdlg.c.
#define SPECLIST_TAG dialog |
Definition at line 41 of file spaceshipdlg.c.
#define SPECLIST_TYPE struct small_dialog |
Definition at line 42 of file spaceshipdlg.c.
|
static |
User interacted with spaceship dialog close button.
Definition at line 86 of file spaceshipdlg.c.
Referenced by popup_spaceship_dialog().
|
static |
Find spaceship dialog related to specified player.
Definition at line 55 of file spaceshipdlg.c.
|
static |
User interacted with spaceship dialog launch button.
Definition at line 99 of file spaceshipdlg.c.
Referenced by popup_spaceship_dialog().
void popdown_spaceship_dialog | ( | struct player * | pplayer | ) |
Close the spaceship dialog for the given player.
Definition at line 250 of file spaceshipdlg.c.
void popup_spaceship_dialog | ( | struct player * | pplayer | ) |
Popup (or raise) the spaceship dialog for the given player.
Definition at line 145 of file spaceshipdlg.c.
void refresh_spaceship_dialog | ( | struct player * | pplayer | ) |
Refresh (update) the spaceship dialog for the given player.
Definition at line 111 of file spaceshipdlg.c.
|
static |
User interacted with spaceship dialog window.
Definition at line 74 of file spaceshipdlg.c.
Referenced by popup_spaceship_dialog().
|
static |
Definition at line 49 of file spaceshipdlg.c.
Definition at line 50 of file spaceshipdlg.c.
Referenced by get_spaceship_dialog().