Freeciv-3.3
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.