(svn r3138) -Fix: [clone vehicles] fixed assert when it was possible to allocate some vehicles to clone a train, but not for all cars
Now it gives "too many vehicles" error message instead
To make this work, AllocateVehicles() needed to be moved to vehicle.c (from aircraft_cmd.c) and made non-static
/* $Id$ */
#ifndef THREAD_H
#define THREAD_H
typedef struct Thread Thread;
typedef void* (*ThreadFunc)(void*);
Thread* OTTDCreateThread(ThreadFunc, void*);
void* OTTDJoinThread(Thread*);
#endif /* THREAD_H */