src/articulated_vehicles.h
author skidd13
Thu, 24 Jan 2008 18:35:35 +0000
changeset 8408 cab5989c2ce2
parent 8144 65cec0877b78
child 8559 e51166aff0b2
permissions -rw-r--r--
(svn r11978) -Codechange: Replace some global variables with window owned ones
6772
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
     1
/* $Id$ */
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
     2
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
     3
/** @file articulated_vehicles.h */
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
     4
8672ba1bebc9 (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
8672ba1bebc9 (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
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
     7
8144
65cec0877b78 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
rubidium
parents: 7595
diff changeset
     8
#include "vehicle_type.h"
65cec0877b78 (svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
rubidium
parents: 7595
diff changeset
     9
7595
9d645518f001 (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: 6857
diff changeset
    10
uint CountArticulatedParts(EngineID engine_type, bool purchase_window);
6857
60130753e595 (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
maedhros
parents: 6772
diff changeset
    11
void AddArticulatedParts(Vehicle **vl, VehicleType type);
6772
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
    12
8672ba1bebc9 (svn r10008) -Codechange: Move a couple of functions related to articulated vehicles to a file of their own.
maedhros
parents:
diff changeset
    13
#endif /* ARTICULATED_VEHICLES_H */