Freeciv-3.3
Loading...
Searching...
No Matches
dialogs_g.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__DIALOGS_G_H
14#define FC__DIALOGS_G_H
15
16/* utility */
17#include "support.h" /* bool type */
18
19/* common */
20#include "actions.h"
21#include "fc_types.h"
22#include "featured_text.h" /* struct text_tag_list */
23#include "nation.h" /* Nation_type_id */
24#include "terrain.h" /* enum tile_special_type */
25#include "unitlist.h"
26
27/* client */
29
32
34 const char *lines,
35 const struct text_tag_list *tags,
36 struct tile *ptile)
38 const char *headline, const char *lines)
40 const char *headline, const char *message)
41
44
46void unit_select_dialog_update(void); /* Defined in update_queue.c. */
48
50GUI_FUNC_PROTO(void, races_update_pickable, bool nationset_change)
51
52GUI_FUNC_PROTO(void, popup_combat_info, int attacker_unit_id,
53 int defender_unit_id, int attacker_hp, int defender_hp,
54 bool make_att_veteran, bool make_def_veteran)
70 int actor_unit_id)
88 bool fatal, const char *tset_name, const char *msg)
90
92
96
98
99GUI_FUNC_PROTO(void, popup_image, const char *tag)
100
101#endif /* FC__DIALOGS_G_H */
char * incite_cost
Definition comments.c:76
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id popup_bribe_unit_dialog
Definition dialogs_g.h:73
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city const struct action *paction const char * expl
Definition dialogs_g.h:94
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction popup_sabotage_dialog
Definition dialogs_g.h:77
struct unit struct city struct unit * target_unit
Definition dialogs_g.h:56
popup_action_selection
Definition dialogs_g.h:55
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit * actor
Definition dialogs_g.h:73
struct unit * actor_unit
Definition dialogs_g.h:55
const char * caption
Definition dialogs_g.h:37
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs action_selection_no_longer_in_progress_gui_specific
Definition dialogs_g.h:69
const char const char * headline
Definition dialogs_g.h:38
popup_notify_dialog
Definition dialogs_g.h:37
struct unit struct city struct unit struct tile * target_tile
Definition dialogs_g.h:57
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
Definition dialogs_g.h:74
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city * pcity
Definition dialogs_g.h:78
struct unit struct city * target_city
Definition dialogs_g.h:56
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int cost
Definition dialogs_g.h:74
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit int const struct action *paction struct unit struct city const struct action *paction request_action_confirmation
Definition dialogs_g.h:94
struct unit struct city struct unit struct tile struct extra_type * target_extra
Definition dialogs_g.h:57
static struct extra_type extras[MAX_EXTRA_TYPES]
Definition extras.c:31
int Tech_type_id
Definition fc_types.h:236
int action_selection_target_extra(void)
static int actor_unit_id
int action_selection_target_tile(void)
int action_selection_actor_unit(void)
void popup_bribe_stack_dialog(struct unit *actor, struct tile *ptile, int cost, const struct action *paction)
void action_selection_close(void)
int action_selection_target_city(void)
void action_selection_refresh(struct unit *actor_unit, struct city *target_city, struct unit *target_unit, struct tile *target_tile, struct extra_type *target_extra, const struct act_prob *act_probs)
int action_selection_target_unit(void)
void popup_incite_dialog(struct unit *actor, struct city *pcity, int cost, const struct action *paction)
void unit_select_dialog_popup(struct tile *ptile)
Definition dialogs.c:377
void popup_upgrade_dialog(struct unit_list *punits)
Definition dialogs.c:1435
void races_update_pickable(bool nationset_change)
Definition dialogs.c:731
void popup_notify_goto_dialog(const char *headline, const char *lines, const struct text_tag_list *tags, struct tile *ptile)
Definition dialogs.c:196
void show_tech_gained_dialog(Tech_type_id tech)
Definition dialogs.c:1524
void popup_races_dialog(struct player *pplayer)
Definition dialogs.c:1215
void popup_disband_dialog(struct unit_list *punits)
Definition dialogs.c:1473
void popdown_races_dialog(void)
Definition dialogs.c:1230
void popup_pillage_dialog(struct unit *punit, bv_extras extras)
Definition dialogs.c:338
void popup_connect_msg(const char *headline, const char *message)
Definition dialogs.c:239
bool handmade_scenario_warning(void)
Definition dialogs.c:1573
void unit_select_dialog_update_real(void *unused)
Definition dialogs.c:386
void races_toggles_set_sensitive(void)
Definition dialogs.c:1245
void show_tileset_error(bool fatal, const char *tset_name, const char *msg)
Definition dialogs.c:1540
void popup_combat_info(int attacker_unit_id, int defender_unit_id, int attacker_hp, int defender_hp, bool make_att_veteran, bool make_def_veteran)
Definition dialogs.c:1583
void popup_image(const char *tag)
Definition dialogs.c:1636
void popdown_all_game_dialogs(void)
Definition dialogs.c:1514
void update_infra_dialog(void)
Definition infradlg.c:138
void popup_musicset_suggestion_dialog(void)
void popup_soundset_suggestion_dialog(void)
bool popup_theme_suggestion_dialog(const char *theme_name)
Definition theme_dlg.c:46
void popup_tileset_suggestion_dialog(void)
Definition tileset_dlg.c:58
bool request_transport(struct unit *cargo, struct tile *ptile)
#define GUI_FUNC_PROTO(_type, _func,...)
char * lines
Definition packhand.c:131
Definition city.h:317
Definition tile.h:50
Definition unit.h:140
void unit_select_dialog_update(void)