MODULE_INIT(AllModule)
-bool ModuleManager::Load(const char* name)
+bool ModuleManager::Load(const std::string& name, bool)
{
for(std::vector<AllModuleList*>::iterator i = modlist->begin(); i != modlist->end(); ++i)
{
c->ModuleDLLManager = NULL;
Modules[(**i).name] = c;
c->init();
- FOREACH_MOD(I_OnLoadModule,OnLoadModule(c));
}
catch (CoreException& modexcept)
{
void ModuleManager::UnloadAll()
{
- // TODO don't really need this, who cares if we leak on exit?
}
#endif