summaryrefslogtreecommitdiff
path: root/driver.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-23 15:16:57 +0000
committertron <tron@openttd.org>2005-07-23 15:16:57 +0000
commit126fed74d63e8ebbabff2fa9dccf10fdd5a68333 (patch)
tree1e83d1a7e27b80f46817858872b1f46a903f1d1b /driver.h
parentdd36a3660f77ce72f2df149fb7777834f700a0a0 (diff)
downloadopenttd-126fed74d63e8ebbabff2fa9dccf10fdd5a68333.tar.xz
(svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
This results in shorter and hopefully easier to maintain files. Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
Diffstat (limited to 'driver.h')
-rw-r--r--driver.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/driver.h b/driver.h
new file mode 100644
index 000000000..cfef360a6
--- /dev/null
+++ b/driver.h
@@ -0,0 +1,11 @@
+#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);
+
+void GetDriverList(char* p);
+
+#endif