|
@@ -6,22 +6,20 @@
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "aircraft.h"
|
|
|
#include "debug.h"
|
|
|
#include "landscape.h"
|
|
|
#include "station_map.h"
|
|
|
#include "table/strings.h"
|
|
|
#include "timetable.h"
|
|
|
#include "depot.h"
|
|
|
#include "engine.h"
|
|
|
#include "station.h"
|
|
|
#include "news.h"
|
|
|
#include "aircraft.h"
|
|
|
#include "airport.h"
|
|
|
#include "vehicle_gui.h"
|
|
|
#include "table/sprites.h"
|
|
|
#include "newgrf_engine.h"
|
|
|
#include "newgrf_callbacks.h"
|
|
|
#include "newgrf_text.h"
|
|
|
#include "newgrf_sound.h"
|
|
|
#include "spritecache.h"
|
|
|
#include "cargotype.h"
|
|
@@ -35,12 +33,15 @@
|
|
|
#include "variables.h"
|
|
|
#include "autoreplace_func.h"
|
|
|
#include "autoreplace_gui.h"
|
|
|
#include "gfx_func.h"
|
|
|
#include "player_func.h"
|
|
|
|
|
|
#include "table/strings.h"
|
|
|
#include "table/sprites.h"
|
|
|
|
|
|
void Aircraft::UpdateDeltaXY(Direction direction)
|
|
|
{
|
|
|
uint32 x;
|
|
|
#define MKIT(a, b, c, d) ((a & 0xFF) << 24) | ((b & 0xFF) << 16) | ((c & 0xFF) << 8) | ((d & 0xFF) << 0)
|
|
|
switch (this->subtype) {
|
|
|
default: NOT_REACHED();
|