author | rubidium |
Thu, 12 Jun 2008 14:41:29 +0000 | |
changeset 10936 | 9bd0503ae2c6 |
parent 10429 | 1b99254f9607 |
permissions | -rw-r--r-- |
7268
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
1 |
/* $Id$ */ |
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
2 |
|
10429
1b99254f9607
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
9273
diff
changeset
|
3 |
/** @file articulated_vehicles.h Functions related to articulated vehicles. */ |
7268
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
4 |
|
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
5 |
#ifndef ARTICULATED_VEHICLES_H |
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
6 |
#define ARTICULATED_VEHICLES_H |
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
7 |
|
8640
1e93b81e96d2
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
rubidium
parents:
8091
diff
changeset
|
8 |
#include "vehicle_type.h" |
9273
ca5e00698c01
(svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h.
rubidium
parents:
9055
diff
changeset
|
9 |
#include "engine_type.h" |
8640
1e93b81e96d2
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
rubidium
parents:
8091
diff
changeset
|
10 |
|
8091
f24d360b6ba1
(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
rubidium
parents:
7353
diff
changeset
|
11 |
uint CountArticulatedParts(EngineID engine_type, bool purchase_window); |
9055
386250fe46b2
(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown.
peter1138
parents:
8640
diff
changeset
|
12 |
uint16 *GetCapacityOfArticulatedParts(EngineID engine, VehicleType type); |
7353
716c6dd9322a
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
maedhros
parents:
7268
diff
changeset
|
13 |
void AddArticulatedParts(Vehicle **vl, VehicleType type); |
7268
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
14 |
|
9c77f6baef3b
(svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff
changeset
|
15 |
#endif /* ARTICULATED_VEHICLES_H */ |