diff options
| author | Petr Mrázek | 2011-06-27 04:49:56 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-06-27 04:49:56 +0200 |
| commit | b1d41630952a856f73dc2beb33f96f9246a356fc (patch) | |
| tree | 96a299522743cb1538468a44d96e7adafb5ac1a6 /library/PluginManager.cpp | |
| parent | 00ddb45dbdeaa1765b0433903f7e48078417dbe5 (diff) | |
| download | dfhack-b1d41630952a856f73dc2beb33f96f9246a356fc.tar.gz dfhack-b1d41630952a856f73dc2beb33f96f9246a356fc.tar.bz2 dfhack-b1d41630952a856f73dc2beb33f96f9246a356fc.tar.xz | |
Fixed prospector, added the command list back, removed the plugin init console spam.
Diffstat (limited to 'library/PluginManager.cpp')
| -rw-r--r-- | library/PluginManager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/PluginManager.cpp b/library/PluginManager.cpp index bde021ba..85d48a56 100644 --- a/library/PluginManager.cpp +++ b/library/PluginManager.cpp @@ -104,13 +104,15 @@ Plugin::Plugin(Core * core, const std::string & file) name = _PlugName(); plugin_lib = plug; loaded = true; - dfout << "Found plugin " << name << endl; + //dfout << "Found plugin " << name << endl; if(plugin_init(core,commands) == CR_OK) { + /* for(int i = 0; i < commands.size();i++) { dfout << commands[i].name << " : " << commands[i].description << std::endl; } + */ } else { @@ -127,7 +129,7 @@ Plugin::~Plugin() } } -bool Plugin::isLoaded() +bool Plugin::isLoaded() const { return loaded; } |
