File diff r8143:59f1aeab7b39 → r8144:1432edd15267
src/aircraft_gui.cpp
Show inline comments
 
/* $Id$ */
 

	
 
/** @file aircraft_gui.cpp */
 

	
 
#include "stdafx.h"
 
#include "openttd.h"
 
#include "aircraft.h"
 
#include "debug.h"
 
#include "table/sprites.h"
 
#include "table/strings.h"
 
#include "gui.h"
 
#include "vehicle.h"
 
#include "engine.h"
 
#include "viewport.h"
 
#include "player.h"
 
#include "depot.h"
 
#include "vehicle_gui.h"
 
#include "newgrf_engine.h"
 
#include "strings_func.h"
 
#include "vehicle_func.h"
 

	
 
/**
 
* Draw the details for the given vehicle at the position (x,y)
 
*
 
* @param v current vehicle
 
* @param x The x coordinate
 
* @param y The y coordinate
 
*/
 
void DrawAircraftDetails(const Vehicle *v, int x, int y)
 
{
 
	int y_offset = (v->Next()->cargo_cap != 0) ? -11 : 0;