void update_line(int canvas_x, int canvas_y)
Update the goto/patrol line to the given map canvas location.
void maybe_activate_keyboardless_goto(int canvas_x, int canvas_y)
The goto hover state is only activated when the mouse pointer moves beyond the tile where the button ...
void adjust_workers_button_pressed(int canvas_x, int canvas_y)
Adjust the position of city workers from the mapview.
void release_goto_button(int canvas_x, int canvas_y)
Goto button has been released.
bool get_turn_done_button_state()
Return TRUE iff the turn done button should be enabled.
bool tiles_hilited_cities
void recenter_button_pressed(int canvas_x, int canvas_y)
Recenter the map on the canvas location, on user request.
void update_turn_done_button_state()
Update the turn done button state.
void action_button_pressed(int canvas_x, int canvas_y, enum quickselect_type qtype)
Do some appropriate action when the "main" mouse button (usually left-click) is pressed.
void wakeup_button_pressed(int canvas_x, int canvas_y)
Wakeup sentried units on the tile of the specified location.
struct city * city_workers_display
bool keyboardless_goto_button_down
void key_city_overlay(int canvas_x, int canvas_y)
The user pressed the overlay-city button (t) while the mouse was at the given canvas position.
bool can_end_turn()
Return TRUE iff client can end turn.
void cancel_selection_rectangle()
Redraws the selection rectangle after a map flush.
void upgrade_canvas_clipboard()
A newer technology may be available for units.
bool keyboardless_goto_active
void clipboard_paste_production(struct city *pcity)
If City tiles are hilited, paste into all those cities.
bool clipboard_copy_production(struct tile *ptile)
Shift-Left-Click on owned city or any visible unit to copy.
struct tile * keyboardless_goto_start_tile