diff options
author | rubidium <rubidium@openttd.org> | 2009-09-19 09:51:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-19 09:51:14 +0000 |
commit | e8ddf001c87790cde6e03e9ca47714b6fc30266c (patch) | |
tree | ee79ed87da1aba8bb3af2e0ca22d10abe5621b08 /src/driver.cpp | |
parent | fa33b92b0f3fae58a7fee4dd9a74fd43bf7d1f9a (diff) | |
download | openttd-e8ddf001c87790cde6e03e9ca47714b6fc30266c.tar.xz |
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
Diffstat (limited to 'src/driver.cpp')
-rw-r--r-- | src/driver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver.cpp b/src/driver.cpp index db6633036..6b70515f1 100644 --- a/src/driver.cpp +++ b/src/driver.cpp @@ -61,6 +61,7 @@ int GetDriverParamInt(const char * const *parm, const char *name, int def) /** * Find the requested driver and return its class. * @param name the driver to select. + * @param type the type of driver to select * @post Sets the driver so GetCurrentDriver() returns it too. */ Driver *DriverFactoryBase::SelectDriver(const char *name, Driver::Type type) @@ -144,6 +145,8 @@ Driver *DriverFactoryBase::SelectDriver(const char *name, Driver::Type type) /** * Register a driver internally, based on its name. * @param name the name of the driver. + * @param type the type of driver to register + * @param priority the priority; how badly do we want this as default? * @note an assert() will be trigger if 2 driver with the same name try to register. */ void DriverFactoryBase::RegisterDriver(const char *name, Driver::Type type, int priority) |