Files @ r5299:1a5e005aa3e9
Branch filter:

Location: cpp/openttd-patchpack/source/driver.h

rubidium
(svn r7452) -Fix: GetRandom(Industry|Town) must return a valid industry/town and should not need to loop over the pool for a second time.
/* $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 */