#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "astring.h"
#include "fcintl.h"
#include "log.h"
#include "support.h"
#include "game.h"
#include "map.h"
#include "packets.h"
#include "player.h"
#include "unit.h"
#include "unitlist.h"
#include "client_main.h"
#include "control.h"
#include "goto.h"
#include "options.h"
#include "text.h"
#include "plrdlg.h"
#include "dialogs.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "mapview.h"
#include "gotodlg.h"
Go to the source code of this file.
◆ anonymous enum
Enumerator |
---|
CMD_AIRLIFT | |
CMD_GOTO | |
Definition at line 73 of file gotodlg.c.
◆ anonymous enum
Enumerator |
---|
GD_COL_CITY_ID | |
GD_COL_CITY_NAME | |
GD_COL_FLAG | |
GD_COL_NATION | |
GD_COL_AIRLIFT | |
GD_COL_NUM | |
Definition at line 77 of file gotodlg.c.
◆ create_goto_dialog()
Create goto -dialog for gotoing or airlifting unit
Definition at line 134 of file gotodlg.c.
◆ get_selected_city()
Return currently selected city
Definition at line 273 of file gotodlg.c.
◆ goto_cmd_callback()
User has responded to goto dialog
Definition at line 90 of file gotodlg.c.
◆ goto_dialog_focus_units_changed()
void goto_dialog_focus_units_changed |
( |
void |
| ) |
|
Called when the set of units in focus has changed; updates airlift info
Definition at line 540 of file gotodlg.c.
◆ goto_selection_callback()
Update goto dialog. button tells if cities of all players or just client's player should be listed.
Definition at line 520 of file gotodlg.c.
◆ list_store_append_player_cities()
Appends the list of the city owned by the player in the goto dialog.
Definition at line 293 of file gotodlg.c.
◆ popup_goto_dialog()
◆ refresh_airlift_button()
Refresh the state of the "Airlift" button for the currently selected unit(s) and city.
Definition at line 492 of file gotodlg.c.
◆ refresh_airlift_column()
Refresh airlift column in city list (without tearing everything down).
Definition at line 466 of file gotodlg.c.
◆ update_goto_dialog()
Refresh city list (in response to "all cities" checkbox changing).
Definition at line 431 of file gotodlg.c.
◆ update_source_label()
Refresh the label that shows where the selected unit(s) currently are (and the relevant cities' airlift capacities, if relevant).
Definition at line 326 of file gotodlg.c.
◆ all_toggle
◆ dshell
◆ goto_list_selection
◆ goto_list_store
◆ gotodlg_updating
◆ original_tile
◆ source
◆ view