Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/gui-gtk-4.0/transportdlg.c File Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Data Structures | Functions
transportdlg.c File Reference
`#include <gtk/gtk.h>`
`#include "fcintl.h"`
`#include "game.h"`
`#include "movement.h"`
`#include "unit.h"`
`#include "control.h"`
`#include "tilespec.h"`
`#include "gui_main.h"`
`#include "gui_stuff.h"`
`#include "sprite.h"`
`#include "unitselunitdlg.h"`
`#include "transportdlg.h"`

Go to the source code of this file.

## Data Structures

struct | transport_radio_cb_data

## Functions

static void | transport_response_callback (GtkWidget *dlg, gint arg)
bool | request_transport (struct unit *cargo, struct tile *ptile)

## Function Documentation

## ◆ request_transport()

bool request_transport | ( | struct unit * | cargo,
|  | struct tile * | ptile
| ) |  |

Handle transport request automatically when there's nothing to choose from. Otherwise open up transport dialog for the unit

Definition at line 82 of file transportdlg.c.

## ◆ transport_response_callback()

static void transport_response_callback | ( | GtkWidget * | dlg,
|  | gint | arg
| ) |  |

static

Handle user response to transport dialog.

Definition at line 48 of file transportdlg.c.