|
Freeciv-3.4
|
#include <QApplication>#include <QButtonGroup>#include <QComboBox>#include <QGroupBox>#include <QHeaderView>#include <QImage>#include <QMessageBox>#include <QMouseEvent>#include <QPainter>#include <QPainterPath>#include <QRadioButton>#include <QRect>#include <QTableWidgetItem>#include <QTextEdit>#include <QVBoxLayout>#include <QWindow>#include <QtMath>#include "astring.h"#include "actions.h"#include "city.h"#include "game.h"#include "government.h"#include "improvement.h"#include "movement.h"#include "nation.h"#include "research.h"#include "sex.h"#include "audio.h"#include "chatline_common.h"#include "client_main.h"#include "control.h"#include "helpdata.h"#include "packhand.h"#include "svgflag.h"#include "text.h"#include "tilespec.h"#include "dialogs.h"#include "fc_client.h"#include "gui_main.h"#include "hudwidget.h"#include "qtg_cxxside.h"#include "sprite.h"Go to the source code of this file.
Macros | |
| #define | BUTTON_WAIT (ACTION_COUNT + 1) |
| #define | BUTTON_CANCEL (BUTTON_WAIT + 1) |
| #define | BUTTON_COUNT (BUTTON_CANCEL + 1) |
| #define BUTTON_CANCEL (BUTTON_WAIT + 1) |
Definition at line 72 of file dialogs.cpp.
| #define BUTTON_COUNT (BUTTON_CANCEL + 1) |
Definition at line 73 of file dialogs.cpp.
| #define BUTTON_WAIT (ACTION_COUNT + 1) |
Definition at line 71 of file dialogs.cpp.
Delay selection of what action to take.
Definition at line 2044 of file dialogs.cpp.
Referenced by popup_action_selection().
|
static |
Show the user the action if it is enabled.
Definition at line 2468 of file dialogs.cpp.
Referenced by action_selection_refresh(), and popup_action_selection().
|
static |
Update an existing button.
Definition at line 2501 of file dialogs.cpp.
Referenced by action_selection_refresh().
Returns the id of the actor unit currently handled in action selection dialog when the action selection dialog is open. Returns IDENTITY_NUMBER_ZERO if no action selection dialog is open.
Definition at line 4858 of file dialogs.cpp.
Referenced by action_selection_refresh().
Closes the action selection dialog
Definition at line 5063 of file dialogs.cpp.
Let the non shared client code know that the action selection process no longer is in progress for the specified unit.
This allows the client to clean up any client specific assumptions.
Definition at line 2125 of file dialogs.cpp.
| 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 | ||
| ) |
Updates the action selection dialog with new information.
Definition at line 4940 of file dialogs.cpp.
Returns id of the target city of the actions currently handled in action selection dialog when the action selection dialog is open and it has a city target. Returns IDENTITY_NUMBER_ZERO if no action selection dialog is open or no city target is present in the action selection dialog.
Definition at line 4875 of file dialogs.cpp.
Returns id of the target extra of the actions currently handled in action selection dialog when the action selection dialog is open and it has an extra target. Returns EXTRA_NONE if no action selection dialog is open or no extra target is present in the action selection dialog.
Definition at line 4909 of file dialogs.cpp.
Referenced by base(), base2(), clean(), clean2(), irrigate(), irrigate2(), mine(), mine2(), pillage(), pillage2(), road(), and road2().
Returns id of the target tile of the actions currently handled in action selection dialog when the action selection dialog is open and it has a tile target. Returns TILE_INDEX_NONE if no action selection dialog is open.
Definition at line 4892 of file dialogs.cpp.
Returns id of the target unit of the actions currently handled in action selection dialog when the action selection dialog is open and it has a unit target. Returns IDENTITY_NUMBER_ZERO if no action selection dialog is open or no unit target is present in the action selection dialog.
Definition at line 4926 of file dialogs.cpp.
Initialize a mapping between an action and the function to call if the action's button is pushed.
Definition at line 246 of file dialogs.cpp.
Action "Airlift Unit" for choice dialog
Definition at line 1913 of file dialogs.cpp.
Referenced by af_map_init(), receive_packet_city_info_100(), and receive_packet_edit_city_100().
Action "Attack" for choice dialog
Definition at line 3497 of file dialogs.cpp.
Referenced by af_map_init(), dai_choose_defender_versus(), dai_rampage_want(), dai_unit_attack_desirability(), dai_unit_defense_desirability(), find_something_to_kill(), kill_desire(), kill_something_with(), and process_attacker_want().
Action "Attack 2" for choice dialog
Definition at line 3512 of file dialogs.cpp.
Referenced by af_map_init().
Action "Build Base" for choice dialog
Definition at line 3356 of file dialogs.cpp.
Referenced by advance_req_iter_init(), advance_root_req_iter_init(), af_map_init(), check_vote(), compute_max_stats_heuristic(), get_city_dialog_output_text(), get_unit_vision_base(), hp_gain_coord(), impr_base_build_shield_cost(), impr_build_shield_cost(), impr_estimate_build_shield_cost(), is_on_unit_upgrade_path(), luascript_call(), research_iter_init(), research_player_iter_init(), secfile_save(), set_unit_activity_base(), sg_load_player_unit(), trade_from_route(), and utype_build_shield_cost().
Action "Build Base 2" for choice dialog
Definition at line 3377 of file dialogs.cpp.
Referenced by af_map_init().
Action "Bombard" for choice dialog
Definition at line 3061 of file dialogs.cpp.
Referenced by af_map_init().
Action "Bombard 2" for choice dialog
Definition at line 3073 of file dialogs.cpp.
Referenced by af_map_init().
Action "Bombard 3" for choice dialog
Definition at line 3085 of file dialogs.cpp.
Referenced by af_map_init().
Action "Bombard 4" for choice dialog
Definition at line 3097 of file dialogs.cpp.
Referenced by af_map_init().
Action "Bombard Lethal" for choice dialog
Definition at line 3109 of file dialogs.cpp.
Referenced by af_map_init().
Action "Bombard Lethal 2" for choice dialog
Definition at line 3121 of file dialogs.cpp.
Referenced by af_map_init().
Action capture units for choice dialog
Definition at line 3037 of file dialogs.cpp.
Referenced by af_map_init().
Action establish trade for choice dialog
Definition at line 1832 of file dialogs.cpp.
Referenced by af_map_init().
Action help build wonder for choice dialog
Definition at line 1847 of file dialogs.cpp.
Referenced by af_map_init().
Action enter market place for choice dialog
Definition at line 1817 of file dialogs.cpp.
Referenced by af_map_init().
Action "Clean" for choice dialog
Definition at line 3274 of file dialogs.cpp.
Referenced by af_map_init().
Action "Clean 2" for choice dialog
Definition at line 3294 of file dialogs.cpp.
Referenced by af_map_init().
Action "Collect Ransom" for choice dialog
Definition at line 3001 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer City Shrink" for choice dialog
Definition at line 1928 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer City Shrink 2" for choice dialog
Definition at line 1943 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer City Shrink 3" for choice dialog
Definition at line 1958 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer City Shrink 4" for choice dialog
Definition at line 1973 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer Extras" for choice dialog
Definition at line 1988 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer Extras 2" for choice dialog
Definition at line 2002 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer Extras 3" for choice dialog
Definition at line 2016 of file dialogs.cpp.
Referenced by af_map_init().
Action "Conquer Extras 4" for choice dialog
Definition at line 2030 of file dialogs.cpp.
Referenced by af_map_init().
Action Convert Unit for choice dialog
Definition at line 2570 of file dialogs.cpp.
Referenced by af_map_init().
Action "Cultivate" for choice dialog
Definition at line 3174 of file dialogs.cpp.
Referenced by af_map_init().
Action "Cultivate 2" for choice dialog
Definition at line 3189 of file dialogs.cpp.
Referenced by af_map_init().
Action destroy city for choice dialog
Definition at line 4039 of file dialogs.cpp.
Referenced by af_map_init().
Action bribe stack for choice dialog
Definition at line 2614 of file dialogs.cpp.
Referenced by af_map_init().
Action bribe unit for choice dialog
Definition at line 2596 of file dialogs.cpp.
Referenced by af_map_init().
Action establish embassy for choice dialog
Definition at line 4144 of file dialogs.cpp.
Referenced by af_map_init().
Action incite revolt for choice dialog
Definition at line 4249 of file dialogs.cpp.
Referenced by af_map_init().
Action incite revolt and escape for choice dialog
Definition at line 4267 of file dialogs.cpp.
Referenced by af_map_init().
Action Investigate City Spend Unit for choice dialog
Definition at line 4174 of file dialogs.cpp.
Referenced by af_map_init().
Move the queue of units that need user input forward unless the current unit will need more input.
Definition at line 2072 of file dialogs.cpp.
Move the queue of units that need user input forward since the current unit doesn't require the extra input any more.
Definition at line 2112 of file dialogs.cpp.
Action sabotage for choice dialog
Definition at line 4189 of file dialogs.cpp.
Referenced by af_map_init().
Action sabotage and escape for choice dialog
Definition at line 4204 of file dialogs.cpp.
Referenced by af_map_init().
Action steal with diplomat for choice dialog
Definition at line 4219 of file dialogs.cpp.
Referenced by af_map_init().
Action "Steal Tech Escape Expected" for choice dialog
Definition at line 4234 of file dialogs.cpp.
Referenced by af_map_init().
Action Disband Unit for choice dialog
Definition at line 2530 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Disembark" for choice dialog
Definition at line 2809 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Disembark 2" for choice dialog
Definition at line 2824 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Disembark 3" for choice dialog
Definition at line 2839 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Disembark 4" for choice dialog
Definition at line 2854 of file dialogs.cpp.
Referenced by af_map_init().
Action "Enter Hut" for choice dialog
Definition at line 2869 of file dialogs.cpp.
Referenced by af_map_init(), api_edit_unit_move(), api_edit_unit_teleport(), tolua_server_edit_unit_move00(), tolua_server_edit_unit_teleport00(), and unit_move().
Action "Enter Hut 2" for choice dialog
Definition at line 2884 of file dialogs.cpp.
Referenced by af_map_init().
Action "Enter Hut 3" for choice dialog
Definition at line 2899 of file dialogs.cpp.
Referenced by af_map_init().
Action "Enter Hut 4" for choice dialog
Definition at line 2914 of file dialogs.cpp.
Referenced by af_map_init().
Action expel unit for choice dialog
Definition at line 3049 of file dialogs.cpp.
Referenced by af_map_init().
Action "Fortify" for choice dialog
Definition at line 2542 of file dialogs.cpp.
Referenced by af_map_init().
Action "Fortify 2" for choice dialog
Definition at line 2556 of file dialogs.cpp.
Referenced by af_map_init().
Action build city for choice dialog
Definition at line 3133 of file dialogs.cpp.
Referenced by af_map_init().
Action "Frighten Hut" for choice dialog
Definition at line 2929 of file dialogs.cpp.
Referenced by af_map_init(), api_edit_unit_move(), api_edit_unit_teleport(), tolua_server_edit_unit_move00(), tolua_server_edit_unit_teleport00(), unit_enter_hut(), and unit_move().
Action "Frighten Hut 2" for choice dialog
Definition at line 2944 of file dialogs.cpp.
Referenced by af_map_init().
Action "Frighten Hut 3" for choice dialog
Definition at line 2959 of file dialogs.cpp.
Referenced by af_map_init().
Action "Frighten Hut 4" for choice dialog
Definition at line 2974 of file dialogs.cpp.
Referenced by af_map_init().
Get the non targeted version of an action so it, if enabled, can appear in the target selection dialog.
Definition at line 2425 of file dialogs.cpp.
Referenced by popup_sabotage_dialog(), spy_sabotage(), spy_steal_shared(), and spy_steal_something().
Get the production targeted version of an action so it, if enabled, can appear in the target selection dialog.
Definition at line 2448 of file dialogs.cpp.
Referenced by popup_sabotage_dialog(), and spy_sabotage().
Action "Heal Unit" for choice dialog
Definition at line 2655 of file dialogs.cpp.
Referenced by af_map_init().
Action "Heal Unit 2" for choice dialog
Definition at line 2666 of file dialogs.cpp.
Referenced by af_map_init().
Action "Unit Make Homeless" for choice dialog
Definition at line 2582 of file dialogs.cpp.
Referenced by af_map_init(), and transfer_city_units().
Action "Build Irrigation" for choice dialog
Definition at line 3440 of file dialogs.cpp.
Referenced by af_map_init().
Action "Build Irrigation 2" for choice dialog
Definition at line 3461 of file dialogs.cpp.
Referenced by af_map_init().
Action join city for choice dialog
Definition at line 3767 of file dialogs.cpp.
Referenced by af_map_init().
Empty action for choice dialog (just do nothing)
Definition at line 2052 of file dialogs.cpp.
Referenced by popup_action_selection().
Action "Build Mine" for choice dialog
Definition at line 3398 of file dialogs.cpp.
Referenced by af_map_init().
Action "Build Mine 2" for choice dialog
Definition at line 3419 of file dialogs.cpp.
Referenced by af_map_init().
Action "Explode Nuclear" for choice dialog
Definition at line 3482 of file dialogs.cpp.
Referenced by adv_data_phase_init(), and af_map_init().
Action "Nuke City" for choice dialog
Definition at line 4024 of file dialogs.cpp.
Referenced by af_map_init().
Action "Nuke Units" for choice dialog
Definition at line 2989 of file dialogs.cpp.
Referenced by adv_data_phase_init(), and af_map_init().
Action "Paradrop Unit" for choice dialog
Definition at line 3557 of file dialogs.cpp.
Referenced by af_map_init().
Action "Paradrop Unit Conquer" for choice dialog
Definition at line 3617 of file dialogs.cpp.
Referenced by af_map_init().
Action "Paradrop Unit Enter" for choice dialog
Definition at line 3707 of file dialogs.cpp.
Referenced by af_map_init().
Action "Paradrop Unit Enter Conquer" for choice dialog
Definition at line 3737 of file dialogs.cpp.
Referenced by af_map_init().
Action "Paradrop Unit Frighten" for choice dialog
Definition at line 3647 of file dialogs.cpp.
Referenced by af_map_init().
Action "Paradrop Unit Frighten Conquer" for choice dialog
Definition at line 3677 of file dialogs.cpp.
Referenced by af_map_init().
Action "Pillage" for choice dialog
Definition at line 3234 of file dialogs.cpp.
Referenced by af_map_init().
Action "Pillage 2" for choice dialog
Definition at line 3254 of file dialogs.cpp.
Referenced by af_map_init().
Action pillage for choice dialog
Definition at line 4503 of file dialogs.cpp.
Referenced by popup_pillage_dialog().
Action "Plant" for choice dialog
Definition at line 3204 of file dialogs.cpp.
Referenced by af_map_init().
Action "Plant 2" for choice dialog
Definition at line 3219 of file dialogs.cpp.
Referenced by af_map_init().
This function is called when the client disconnects or the game is over. It should close all dialog windows for that game.
Definition at line 4819 of file dialogs.cpp.
|
extern |
Close all spaceships dialogs
Definition at line 174 of file spaceshipdlg.cpp.
Referenced by popdown_all_game_dialogs().
|
extern |
Closes city report
Definition at line 1339 of file cityrep.cpp.
Referenced by popdown_all_game_dialogs().
|
extern |
Closes economy report
Definition at line 1824 of file repodlgs.cpp.
Referenced by popdown_all_game_dialogs().
|
extern |
Removes endgame report
Definition at line 1760 of file repodlgs.cpp.
Referenced by popdown_all_game_dialogs().
Closes players report
Definition at line 1197 of file plrdlg.cpp.
Referenced by popdown_all_game_dialogs().
Close the nation selection dialog. This should allow the user to (at least) select a unit to activate.
Definition at line 1316 of file dialogs.cpp.
|
extern |
Closes science report
Definition at line 1842 of file repodlgs.cpp.
Referenced by popdown_all_game_dialogs().
|
extern |
Closes units report
Definition at line 1860 of file repodlgs.cpp.
Referenced by popdown_all_game_dialogs().
|
static |
Open dialog confirming that user wants to do the action.
Definition at line 5682 of file dialogs.cpp.
Referenced by qtg_request_action_confirmation().
| void popup_action_selection | ( | 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 | ||
| ) |
Popup a dialog that allows the player to select what action a unit should take.
Definition at line 2135 of file dialogs.cpp.
| void popup_bribe_stack_dialog | ( | struct unit * | actor, |
| struct tile * | ttile, | ||
| int | cost, | ||
| const struct action * | paction | ||
| ) |
Popup a dialog asking a diplomatic unit if it wishes to bribe the given enemy unit stack.
Definition at line 4456 of file dialogs.cpp.
| void popup_bribe_unit_dialog | ( | struct unit * | actor, |
| struct unit * | tunit, | ||
| int | cost, | ||
| const struct action * | paction | ||
| ) |
Popup a dialog asking a diplomatic unit if it wishes to bribe the given enemy unit.
Definition at line 4408 of file dialogs.cpp.
Popup a dialog to display connection message from server.
Definition at line 1277 of file dialogs.cpp.
Pops up a dialog to confirm disband of the unit(s).
Definition at line 4703 of file dialogs.cpp.
| void popup_incite_dialog | ( | struct unit * | actor, |
| struct city * | tcity, | ||
| int | cost, | ||
| const struct action * | paction | ||
| ) |
Popup a window asking a diplomatic unit if it wishes to incite the given enemy city.
Definition at line 4346 of file dialogs.cpp.
Ruleset (modpack) has suggested loading certain musicset. Confirm from user and load.
Definition at line 4769 of file dialogs.cpp.
Popup a generic dialog to display some generic information.
Definition at line 1291 of file dialogs.cpp.
| void popup_notify_goto_dialog | ( | const char * | headline, |
| const char * | lines, | ||
| const struct text_tag_list * | tags, | ||
| struct tile * | ptile | ||
| ) |
Popup a dialog to display information about an event that has a specific location. The user should be given the option to goto that location.
Definition at line 1265 of file dialogs.cpp.
Popup a dialog asking the unit which improvement they would like to pillage.
Definition at line 4624 of file dialogs.cpp.
Popup the nation selection dialog.
Definition at line 1302 of file dialogs.cpp.
| void popup_revolution_dialog | ( | struct government * | gov | ) |
Popup a dialog asking if the player wants to start a revolution.
Definition at line 1378 of file dialogs.cpp.
| void popup_sabotage_dialog | ( | struct unit * | actor, |
| struct city * | tcity, | ||
| const struct action * | paction | ||
| ) |
Popup a dialog asking a diplomatic unit if it wishes to sabotage the given enemy city.
Definition at line 4553 of file dialogs.cpp.
Ruleset (modpack) has suggested loading certain soundset. Confirm from user and load.
Definition at line 4744 of file dialogs.cpp.
Tileset (modpack) has suggested loading certain theme. Confirm from user and load.
Definition at line 4794 of file dialogs.cpp.
Ruleset (modpack) has suggested loading certain tileset. Confirm from user and load.
Definition at line 4713 of file dialogs.cpp.
Popup dialog for upgrade units
Definition at line 5125 of file dialogs.cpp.
Referenced by unit_upgrade().
| bool qtg_handmade_scenario_warning | ( | ) |
Give a warning when user is about to edit scenario with manually set properties.
Definition at line 5611 of file dialogs.cpp.
Referenced by setup_gui_funcs().
| void qtg_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 | ||
| ) |
Popup detailed information about battle or save information for some kind of statistics
Definition at line 5661 of file dialogs.cpp.
Referenced by setup_gui_funcs().
| void qtg_request_action_confirmation | ( | const char * | expl, |
| struct act_confirmation_data * | data | ||
| ) |
Common code wants confirmation for an action.
Definition at line 5704 of file dialogs.cpp.
Referenced by setup_gui_funcs().
Unit wants to get into some transport on given tile.
Definition at line 5620 of file dialogs.cpp.
Referenced by unit_item::load_unit(), setup_gui_funcs(), and mr_menu::slot_board().
In the nation selection dialog, make already-taken nations unavailable. This information is contained in the packet_nations_used packet.
Definition at line 1368 of file dialogs.cpp.
The server has changed the set of selectable nations.
Definition at line 1357 of file dialogs.cpp.
Action "Unit Move" for choice dialog
Definition at line 4285 of file dialogs.cpp.
Referenced by af_map_init().
Action "Unit Move 2" for choice dialog
Definition at line 4300 of file dialogs.cpp.
Referenced by af_map_init().
Action "Unit Move 3" for choice dialog
Definition at line 4315 of file dialogs.cpp.
Referenced by af_map_init().
| void restart_notify_dialogs | ( | ) |
Restarts all notify dialogs
Definition at line 4803 of file dialogs.cpp.
Referenced by apply_notify_font().
| void revolution_response | ( | struct government * | gov | ) |
Starts revolution with targeted government as target or anarchy otherwise
Definition at line 2059 of file dialogs.cpp.
Referenced by popup_revolution_dialog().
Action "Build Road" for choice dialog
Definition at line 3314 of file dialogs.cpp.
Referenced by af_map_init(), fill_road_corner_sprites(), fill_road_sprite_array(), helptext_extra(), set_unit_activity_road(), sg_load_player_unit(), and tileset_lookup_sprite_tags().
Action "Build Road 2" for choice dialog
Definition at line 3335 of file dialogs.cpp.
Referenced by af_map_init().
Action "Scout" for choice dialog
Definition at line 4330 of file dialogs.cpp.
Referenced by af_map_init().
| void show_tech_gained_dialog | ( | Tech_type_id | tech | ) |
Player has gained a new tech.
Definition at line 5077 of file dialogs.cpp.
Show tileset error dialog.
Definition at line 5084 of file dialogs.cpp.
Action "Spy Attack" for choice dialog
Definition at line 3013 of file dialogs.cpp.
Referenced by af_map_init().
Action establish embassy for choice dialog
Definition at line 4129 of file dialogs.cpp.
Referenced by af_map_init().
Action Spy Escape for choice dialog
Definition at line 4114 of file dialogs.cpp.
Referenced by af_map_init().
Action investigate city for choice dialog
Definition at line 4159 of file dialogs.cpp.
Referenced by af_map_init().
Action suitcase nuke for choice dialog
Definition at line 3994 of file dialogs.cpp.
Referenced by af_map_init().
Action suitcase nuke escape for choice dialog
Definition at line 4009 of file dialogs.cpp.
Referenced by af_map_init().
Action Poison City for choice dialog
Definition at line 3949 of file dialogs.cpp.
Referenced by af_map_init().
Action Poison City Escape for choice dialog
Definition at line 3964 of file dialogs.cpp.
Referenced by af_map_init().
Action request sabotage (and escape) list for choice dialog
Definition at line 3930 of file dialogs.cpp.
Referenced by af_map_init().
Action request sabotage list for choice dialog
Definition at line 3912 of file dialogs.cpp.
Referenced by af_map_init().
Action request "Surgical Strike Building" list for choice dialog
Definition at line 3895 of file dialogs.cpp.
Referenced by af_map_init().
Action sabotage with spy for choice dialog
Definition at line 4523 of file dialogs.cpp.
Referenced by popup_sabotage_dialog().
Action sabotage unit for choice dialog
Definition at line 2631 of file dialogs.cpp.
Referenced by af_map_init().
Action Sabotage Unit Escape for choice dialog
Definition at line 2643 of file dialogs.cpp.
Referenced by af_map_init().
Action Spread Plague for choice dialog
Definition at line 3979 of file dialogs.cpp.
Referenced by af_map_init().
Action "Targeted Steal Tech" for choice dialog
Definition at line 3856 of file dialogs.cpp.
Referenced by af_map_init().
Action "Targeted Steal Tech Escape Expected" for choice dialog
Definition at line 3864 of file dialogs.cpp.
Referenced by af_map_init().
Action steal gold for choice dialog
Definition at line 4054 of file dialogs.cpp.
Referenced by af_map_init().
Action steal gold escape for choice dialog
Definition at line 4069 of file dialogs.cpp.
Referenced by af_map_init().
Action steal maps for choice dialog
Definition at line 4084 of file dialogs.cpp.
Referenced by af_map_init().
Action steal maps escape for choice dialog
Definition at line 4099 of file dialogs.cpp.
Referenced by af_map_init().
Action steal tech with spy for choice dialog
Definition at line 3782 of file dialogs.cpp.
Referenced by spy_steal(), and spy_steal_esc().
Action steal given tech for choice dialog
Definition at line 3872 of file dialogs.cpp.
Referenced by spy_steal_shared().
Action "Suicide Attack" for choice dialog
Definition at line 3527 of file dialogs.cpp.
Referenced by af_map_init().
Action "Suicide Attack 2" for choice dialog
Definition at line 3542 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit" for choice dialog
Definition at line 3572 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit 2" for choice dialog
Definition at line 3587 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit 3" for choice dialog
Definition at line 3602 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit Conquer" for choice dialog
Definition at line 3632 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit Enter" for choice dialog
Definition at line 3722 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit Enter Conquer" for choice dialog
Definition at line 3752 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit Frighten" for choice dialog
Definition at line 3662 of file dialogs.cpp.
Referenced by af_map_init().
Action "Teleport Unit Frighten Conquer" for choice dialog
Definition at line 3692 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transform Terrain" for choice dialog
Definition at line 3144 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transform Terrain 2" for choice dialog
Definition at line 3159 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Board" for choice dialog
Definition at line 2677 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Board 2" for choice dialog
Definition at line 2688 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Board 3" for choice dialog
Definition at line 2699 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Deboard" for choice dialog
Definition at line 2798 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Embark" for choice dialog
Definition at line 2710 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Embark 2" for choice dialog
Definition at line 2721 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Embark 3" for choice dialog
Definition at line 2732 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Embark 4" for choice dialog
Definition at line 2743 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Load" for choice dialog
Definition at line 2765 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Load 2" for choice dialog
Definition at line 2776 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Load 3" for choice dialog
Definition at line 2787 of file dialogs.cpp.
Referenced by af_map_init().
Action "Transport Unload" for choice dialog
Definition at line 2754 of file dialogs.cpp.
Referenced by af_map_init().
Try to pick up default city action
Definition at line 1646 of file dialogs.cpp.
Referenced by popup_action_selection().
Try to pick up default unit action
Definition at line 1628 of file dialogs.cpp.
Referenced by popup_action_selection().
Action Disband Unit Recover for choice dialog
Definition at line 1862 of file dialogs.cpp.
Referenced by af_map_init().
Action Home City for choice dialog
Definition at line 1877 of file dialogs.cpp.
Referenced by af_map_init().
Popup a dialog window to select units on a particular tile.
Definition at line 1327 of file dialogs.cpp.
Update the dialog window to select units on a particular tile.
Definition at line 1339 of file dialogs.cpp.
Action "Upgrade Unit" for choice dialog
Definition at line 1892 of file dialogs.cpp.
Referenced by af_map_init().
| void update_nationset_combo | ( | ) |
Updates nationset combobox
Definition at line 1347 of file dialogs.cpp.
Referenced by option_gui_update().
Action "Wipe Units" for choice dialog
Definition at line 3025 of file dialogs.cpp.
Referenced by af_map_init().
|
static |
Definition at line 403 of file dialogs.cpp.
Referenced by action_entry(), try_default_city_action(), and try_default_unit_action().
Definition at line 237 of file dialogs.cpp.
Referenced by action_selection_close(), and diplomat_queue_handle_primary().
|
extern |
Definition at line 135 of file client_main.c.
Referenced by popup_tileset_suggestion_dialog().
Definition at line 233 of file dialogs.cpp.
Referenced by action_selection_no_longer_in_progress_gui_specific(), diplomat_bribe_stack(), diplomat_bribe_unit(), diplomat_incite(), diplomat_incite_escape(), diplomat_queue_handle_primary(), diplomat_queue_handle_secondary(), popup_action_selection(), popup_bribe_stack_dialog(), popup_bribe_unit_dialog(), popup_incite_dialog(), popup_sabotage_dialog(), spy_request_sabotage_esc_list(), spy_request_sabotage_list(), spy_request_strike_bld_list(), and spy_steal_shared().
Definition at line 228 of file dialogs.cpp.
Referenced by popdown_races_dialog(), popup_races_dialog(), races_dialog::races_dialog(), races_toggles_set_sensitive(), races_update_pickable(), update_nationset_combo(), and races_dialog::~races_dialog().
Definition at line 226 of file dialogs.cpp.
Referenced by pillage_something(), and popup_pillage_dialog().
|
static |
Definition at line 227 of file dialogs.cpp.
Referenced by popdown_races_dialog(), popup_races_dialog(), races_toggles_set_sensitive(), races_update_pickable(), and update_nationset_combo().