driver.h
author bjarni
Mon, 09 Oct 2006 21:42:18 +0000
changeset 4788 76ed308037b1
parent 2832 5a679de4b9f7
child 5170 817550aa5a5f
permissions -rw-r--r--
(svn r6709) -Fix r6679: [build train window] solved an issue that could lead to trailing empty blocks in the list array
Since they were freed with the rest of the array, it only meant that we wasted a few bytes (max 16) while the window were open and we didn't leak memory
/* $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 */