driver.h
author tron
Tue, 25 Apr 2006 07:32:33 +0000
changeset 3657 eb28d97d3d18
parent 2832 5a679de4b9f7
child 5170 817550aa5a5f
permissions -rw-r--r--
(svn r4572) Remove vehicle_leave_tile_proc
There's exactly one implemented function (unbarring a level crossing) and one place where it can be triggered (a train leaves a level crossing)
It's a bit overkill, so just handle this one case where it can happen
/* $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);

char *GetDriverList(char* p);

#endif /* DRIVER_H */