diff options
author | rubidium <rubidium@openttd.org> | 2009-01-17 16:53:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-17 16:53:32 +0000 |
commit | 3a13b75e37b5642de3c1e89cf6ab3bf860b76375 (patch) | |
tree | 76215ba6e27bc0b1f49919c01ff2608f276b8e3d /src/ai/ai_scanner.hpp | |
parent | 2850bf9e006ebdd40b5562cca5117bca027cfab5 (diff) | |
download | openttd-3a13b75e37b5642de3c1e89cf6ab3bf860b76375.tar.xz |
(svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
Diffstat (limited to 'src/ai/ai_scanner.hpp')
-rw-r--r-- | src/ai/ai_scanner.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ai/ai_scanner.hpp b/src/ai/ai_scanner.hpp index 3e82e4682..e79d8ec1d 100644 --- a/src/ai/ai_scanner.hpp +++ b/src/ai/ai_scanner.hpp @@ -64,6 +64,9 @@ public: */ void RescanAIDir(); +#if defined(ENABLE_NETWORK) + bool HasAI(const struct ContentInfo *ci, bool md5sum); +#endif private: typedef std::map<const char *, class AILibrary *, ltstr> AILibraryList; |