- plugins: type for listed plugins on blue key is selectable

* add mainmenu items for tools and lua-extensions
  (default not visible)
* add usermenu items for tools and lua-extensions
  (default off)
This commit is contained in:
svenhoefer
2014-02-04 09:08:21 +01:00
parent 31221edc47
commit f9ad30f183
13 changed files with 85 additions and 11 deletions

View File

@@ -134,7 +134,7 @@ void CPlugins::scanDir(const char *dir)
else if (new_plugin.type == CPlugins::P_TYPE_LUA)
new_plugin.pluginfile.append(".lua");
#endif
else
else // CPlugins::P_TYPE_GAME or CPlugins::P_TYPE_TOOL
new_plugin.pluginfile.append(".so");
// We do not check if new_plugin.pluginfile exists since .cfg in
// PLUGINDIR_VAR can overwrite settings in read only dir