src/driver.h
author KUDr
Sat, 13 Jan 2007 18:55:54 +0000
changeset 5651 79496e6d8a56
parent 5475 2e6990a8c7c4
child 6125 a6fff965707c
permissions -rw-r--r--
(svn r8110) -Codechange: direct Vehicle::current_order.type changes (to OT_LOADING and OT_LEAVESTATION) replaced by v->BeginLoading() and v->LeaveStation() calls. This should allow easy hooking of those state transitions in order to maintain vehicle loading queue.
/* $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, const char *last);

#endif /* DRIVER_H */