Linked to debugMode option, gutted RTP config

This commit is contained in:
Mathew 2015-11-26 18:11:08 -05:00 committed by Mathew Velasquez
parent 189556652c
commit 917d320342
5 changed files with 3 additions and 10 deletions

View file

@ -170,7 +170,6 @@ void Config::read(int argc, char *argv[])
podesc.add_options()
PO_DESC_ALL
("preloadScript", po::value<StringVec>()->composing())
("RTP", po::value<StringVec>()->composing())
("fontSub", po::value<StringVec>()->composing())
("rubyLoadpath", po::value<StringVec>()->composing())
;
@ -212,8 +211,6 @@ void Config::read(int argc, char *argv[])
GUARD_ALL( preloadScripts = vm["preloadScript"].as<StringVec>(); );
GUARD_ALL( rtps = vm["RTP"].as<StringVec>(); );
GUARD_ALL( fontSubs = vm["fontSub"].as<StringVec>(); );
GUARD_ALL( rubyLoadpaths = vm["rubyLoadpath"].as<StringVec>(); );

View file

@ -69,7 +69,6 @@ struct Config
} SE;
std::vector<std::string> preloadScripts;
std::vector<std::string> rtps;
std::vector<std::string> fontSubs;

View file

@ -132,9 +132,6 @@ struct SharedStatePrivate
fileSystem.addPath(".");
for (size_t i = 0; i < config.rtps.size(); ++i)
fileSystem.addPath(config.rtps[i].c_str());
if (config.pathCache)
fileSystem.createPathCache();