diff options
author | truebrain <truebrain@openttd.org> | 2011-11-29 23:27:08 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-29 23:27:08 +0000 |
commit | e0d4c75cf4411f66771524bf9a7f98d15cdc6fcf (patch) | |
tree | 55736dab87d443eae5d1071680b8f4e2d4a0468e /src/script/script_instance.hpp | |
parent | 880f377fa61d8c87dc409f25447515509348bb45 (diff) | |
download | openttd-e0d4c75cf4411f66771524bf9a7f98d15cdc6fcf.tar.xz |
(svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore
Diffstat (limited to 'src/script/script_instance.hpp')
-rw-r--r-- | src/script/script_instance.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/script/script_instance.hpp b/src/script/script_instance.hpp index 122cc5808..8aa85744c 100644 --- a/src/script/script_instance.hpp +++ b/src/script/script_instance.hpp @@ -44,6 +44,14 @@ public: virtual int GetSetting(const char *name) = 0; /** + * Find a library. + * @param library The library name to find. + * @param version The version the library should have. + * @return The library if found, NULL otherwise. + */ + virtual class ScriptInfo *FindLibrary(const char *library, int version) = 0; + + /** * A script in multiplayer waits for the server to handle his DoCommand. * It keeps waiting for this until this function is called. */ |