#include "stdafx.h"
#include "openttd.h"
#include "aircraft.h"
#include "debug.h"
#include "gui.h"
#include "engine.h"
#include "depot.h"
#include "vehicle_gui.h"
#include "newgrf_engine.h"
#include "strings_func.h"
#include "vehicle_func.h"
#include "gfx_func.h"
#include "table/sprites.h"
#include "table/strings.h"
Go to the source code of this file.
Functions | |
void | DrawAircraftDetails (const Vehicle *v, int x, int y) |
Draw the details for the given vehicle at the position (x,y). | |
void | DrawAircraftImage (const Vehicle *v, int x, int y, VehicleID selection) |
void | CcBuildAircraft (bool success, TileIndex tile, uint32 p1, uint32 p2) |
This is the Callback method after the construction attempt of an aircraft. |
Definition in file aircraft_gui.cpp.
void CcBuildAircraft | ( | bool | success, | |
TileIndex | tile, | |||
uint32 | p1, | |||
uint32 | p2 | |||
) |
This is the Callback method after the construction attempt of an aircraft.
success | indicates completion (or not) of the operation | |
tile | of depot where aircraft is built | |
p1 | unused | |
p2 | unused |
Definition at line 88 of file aircraft_gui.cpp.
References RestoreVehicleOrders(), and ShowVehicleViewWindow().
void DrawAircraftDetails | ( | const Vehicle * | v, | |
int | x, | |||
int | y | |||
) |
Draw the details for the given vehicle at the position (x,y).
v | current vehicle | |
x | The x coordinate | |
y | The y coordinate |
Definition at line 28 of file aircraft_gui.cpp.
References IsNormalAircraft().
Referenced by DrawVehicleDetails().