Freeciv-3.3
|
#include <SDL2/SDL.h>
#include "fcintl.h"
#include "log.h"
#include "government.h"
#include "nation.h"
#include "research.h"
#include "client_main.h"
#include "spaceshipdlg_g.h"
#include "graphics.h"
#include "gui_id.h"
#include "gui_main.h"
#include "gui_tilespec.h"
#include "mapview.h"
#include "repodlgs.h"
#include "sprite.h"
#include "widget.h"
#include "inteldlg.h"
#include "speclist.h"
Go to the source code of this file.
Data Structures | |
struct | intel_dialog |
Macros | |
#define | SPECLIST_TAG dialog |
#define | SPECLIST_TYPE struct intel_dialog |
#define | dialog_list_iterate(dialoglist, pdialog) TYPED_LIST_ITERATE(struct intel_dialog, dialoglist, pdialog) |
#define | dialog_list_iterate_end LIST_ITERATE_END |
Functions | |
static struct intel_dialog * | create_intel_dialog (struct player *p) |
void | intel_dialog_init (void) |
void | intel_dialog_done (void) |
static struct intel_dialog * | get_intel_dialog (struct player *pplayer) |
static int | intel_window_dlg_callback (struct widget *pwindow) |
static int | tech_callback (struct widget *pwidget) |
static int | spaceship_callback (struct widget *pwidget) |
static int | exit_intel_dlg_callback (struct widget *pwidget) |
void | close_intel_dialog (struct player *p) |
void | popup_intel_dialog (struct player *p) |
void | popdown_intel_dialog (struct player *p) |
void | popdown_intel_dialogs (void) |
void | update_intel_dialog (struct player *p) |
Variables | |
static struct dialog_list * | dialog_list |
#define dialog_list_iterate | ( | dialoglist, | |
pdialog | |||
) | TYPED_LIST_ITERATE(struct intel_dialog, dialoglist, pdialog) |
Definition at line 60 of file inteldlg.c.
#define dialog_list_iterate_end LIST_ITERATE_END |
Definition at line 62 of file inteldlg.c.
#define SPECLIST_TAG dialog |
Definition at line 56 of file inteldlg.c.
#define SPECLIST_TYPE struct intel_dialog |
Definition at line 57 of file inteldlg.c.
Close an intelligence dialog towards given player.
Definition at line 151 of file inteldlg.c.
|
static |
Create an intelligence dialog towards given player.
Definition at line 159 of file inteldlg.c.
User interacted with intelligence dialog close button
Definition at line 138 of file inteldlg.c.
Referenced by update_intel_dialog().
|
static |
Get intelligence dialog towards given player
Definition at line 86 of file inteldlg.c.
Free intelligence dialog
Definition at line 78 of file inteldlg.c.
Allocate intelligence dialog
Definition at line 70 of file inteldlg.c.
User interacted with the intelligence dialog window
Definition at line 100 of file inteldlg.c.
Referenced by update_intel_dialog().
Popdown an intelligence dialog for the given player.
Definition at line 196 of file inteldlg.c.
Referenced by close_intel_dialog(), exit_intel_dlg_callback(), popdown_intel_dialogs(), and spaceship_callback().
Popdown all intelligence dialogs
Definition at line 215 of file inteldlg.c.
Referenced by popdown_all_game_dialogs().
Popup an intelligence dialog for the given player.
Definition at line 178 of file inteldlg.c.
User interacted with spaceship widget
Definition at line 123 of file inteldlg.c.
Referenced by update_intel_dialog().
User interacted with tech widget
Definition at line 114 of file inteldlg.c.
Referenced by update_intel_dialog().
Update the intelligence dialog for the given player. This is called by the core client code when that player's information changes.
Definition at line 226 of file inteldlg.c.
|
static |
Definition at line 64 of file inteldlg.c.