diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-12-13 12:58:32 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-12-13 13:10:24 -0500 |
commit | 83853ccd413c06a4a37a3c91f8c2cb270e42109c (patch) | |
tree | edcd9b8f5194f4de4b6c3307e1871be0a8fdf07c | |
parent | e275b7099a68e32aac102bb9e4a9125b1dccf91c (diff) | |
download | minetest-83853ccd413c06a4a37a3c91f8c2cb270e42109c.tar.gz minetest-83853ccd413c06a4a37a3c91f8c2cb270e42109c.tar.bz2 minetest-83853ccd413c06a4a37a3c91f8c2cb270e42109c.zip |
Remove support for optdepends.txt
-rw-r--r-- | doc/lua_api.txt | 7 | ||||
-rw-r--r-- | src/mods.cpp | 10 |
2 files changed, 0 insertions, 17 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index a8b671eb6..28d8b9cc8 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -129,13 +129,6 @@ screenshot.png: description.txt: File containing desctiption to be shown within mainmenu. -optdepends.txt: - An alternative way of specifying optional dependencies. - Like depends.txt, a single line contains a single modname. - - NOTE: This file exists for compatibility purposes only and - support for it will be removed from the engine by the end of 2013. - init.lua: The main Lua script. Running this script should register everything it wants to register. Subsequent execution depends on minetest calling the diff --git a/src/mods.cpp b/src/mods.cpp index bcdda01ef..90feee307 100644 --- a/src/mods.cpp +++ b/src/mods.cpp @@ -77,16 +77,6 @@ void parseModContents(ModSpec &spec) } } } - - // FIXME: optdepends.txt is deprecated - // remove this code at some point in the future - std::ifstream is2((spec.path+DIR_DELIM+"optdepends.txt").c_str()); - while(is2.good()){ - std::string dep; - std::set<char> symbols; - if(parseDependsLine(is2, dep, symbols)) - spec.optdepends.insert(dep); - } } } |