summaryrefslogtreecommitdiff
path: root/aircraft.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-06-09 06:34:28 +0000
committerpeter1138 <peter1138@openttd.org>2006-06-09 06:34:28 +0000
commita7fbd158a03671831a9199f0ac13d37217526e86 (patch)
treecec2376156d3bbcf58f1342e2749ec52302d80f7 /aircraft.h
parentffeb87763fa891435330e36cfa02f2cdbeba7ba3 (diff)
downloadopenttd-a7fbd158a03671831a9199f0ac13d37217526e86.tar.xz
(svn r5186) - NewGRF: show default aircraft cargo type and the purchase list (mart3p)
Diffstat (limited to 'aircraft.h')
-rw-r--r--aircraft.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/aircraft.h b/aircraft.h
index 55fc35c89..06e53797a 100644
--- a/aircraft.h
+++ b/aircraft.h
@@ -1,5 +1,8 @@
/* $Id$ */
+#ifndef AIRCRAFT_H
+#define AIRCRAFT_H
+
#include "station_map.h"
#include "vehicle.h"
@@ -14,3 +17,7 @@ static inline bool IsAircraftInHangarStopped(const Vehicle* v)
{
return IsAircraftInHangar(v) && v->vehstatus & VS_STOPPED;
}
+
+uint16 AircraftDefaultCargoCapacity(CargoID cid, EngineID engine_type);
+
+#endif /* AIRCRAFT_H */