view src/driver.h @ 6773:746c984c2dfe draft

(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
author maedhros <maedhros@openttd.org>
date Fri, 01 Jun 2007 12:03:10 +0000
parents 46d001ebacf6
children c6917d8e8c25
line wrap: on
line source

/* $Id$ */

/** @file driver.h */

#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);

char *GetDriverList(char *p, const char *last);

#endif /* DRIVER_H */