summaryrefslogtreecommitdiff
path: root/src/base_media_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-02 20:59:54 +0000
committerrubidium <rubidium@openttd.org>2011-05-02 20:59:54 +0000
commitff143c67085ad22abb5f6920873fd0ff9eddf603 (patch)
treef4f5fe046bd9b07d8a9c20130d7e115eb80f45ba /src/base_media_func.h
parentcf30941fab66fe6232e5b15b59ebedc4ea430e1e (diff)
downloadopenttd-ff143c67085ad22abb5f6920873fd0ff9eddf603.tar.xz
(svn r22413) -Document: even more stuff
Diffstat (limited to 'src/base_media_func.h')
-rw-r--r--src/base_media_func.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base_media_func.h b/src/base_media_func.h
index 69eaccf5f..6adf397c4 100644
--- a/src/base_media_func.h
+++ b/src/base_media_func.h
@@ -274,6 +274,12 @@ template <class Tbase_set>
#if defined(ENABLE_NETWORK)
#include "network/network_content.h"
+/**
+ * Check whether there's a base set matching some information.
+ * @param ci The content info to compare it to.
+ * @param md5sum Should the MD5 checksum be tested as well?
+ * @param s The list with sets.
+ */
template <class Tbase_set> bool HasBaseSet(const ContentInfo *ci, bool md5sum, const Tbase_set *s)
{
for (; s != NULL; s = s->next) {