driver.h
author bjarni
Sat, 05 Nov 2005 14:01:00 +0000
changeset 2601 7c94a0e394a6
parent 2436 177cb6a8339f
child 2831 510c08cd43d2
permissions -rw-r--r--
(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 DRIVER_H
#define DRIVER_H

void LoadDriver(int driver, const char *name);

bool GetDriverParamBool(const char* const* parm, const char* name);
int GetDriverParamInt(const char* const* parm, const char* name, int def);

void GetDriverList(char* p);

#endif /* DRIVER_H */