adding GoodSheperd modules

This commit is contained in:
dreamer 2022-02-24 17:45:25 +01:00 committed by Filipe Coelho
parent 494f6e76ed
commit 4c84cc15cf
6 changed files with 42 additions and 1 deletions

1
plugins/GoodSheperd Submodule

@ -0,0 +1 @@
Subproject commit 636351059f2eec629f3b8a537451dd3d0eb01c30

View file

@ -486,6 +486,11 @@ endif
PLUGIN_FILES += $(filter-out GlueTheGiant/src/plugin.cpp,$(wildcard GlueTheGiant/src/*.cpp))
# --------------------------------------------------------------
# GoodSheperd
PLUGIN_FILES += $(wildcard GoodSheperd/src/*.cpp)
# --------------------------------------------------------------
# GrandeModular
@ -1269,6 +1274,13 @@ $(BUILD_DIR)/GlueTheGiant/src/gtgComponents.cpp.o: GlueTheGiant/src/gtgComponent
-DloadGtgPluginDefault=ignoredGlueTheGiant1 \
-DsaveGtgPluginDefault=ignoredGlueTheGiant2
$(BUILD_DIR)/GoodSheperd/%.cpp.o: GoodSheperd/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(GOODSHEPERD_CUSTOM),$(call custom_module_names,$(m),GoodSheperd)) \
-DpluginInstance=pluginInstance__GoodSheperd
$(BUILD_DIR)/GrandeModular/%.cpp.o: GrandeModular/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"

View file

@ -305,6 +305,9 @@ int gtg_default_theme = 1;
int loadGtgPluginDefault(const char*, int) { return 1; }
void saveGtgPluginDefault(const char*, int) {}
// GoodSheperd
#include "GoodSheperd/src/plugin.hpp"
// GrandeModular
#include "GrandeModular/src/plugin.hpp"
@ -590,8 +593,9 @@ Plugin* pluginInstance__FehlerFabrik;
#ifdef WITH_FUNDAMENTAL
Plugin* pluginInstance__Fundamental;
#endif
Plugin* pluginInstance__GrandeModular;
Plugin* pluginInstance__GlueTheGiant;
Plugin* pluginInstance__GoodSheperd;
Plugin* pluginInstance__GrandeModular;
Plugin* pluginInstance__HetrickCV;
extern Plugin* pluginInstance__ImpromptuModular;
Plugin* pluginInstance__ihtsyn;
@ -1460,6 +1464,23 @@ static void initStatic__GlueTheGiant()
}
}
static void initStatic__GoodSheperd()
{
Plugin* const p = new Plugin;
pluginInstance__GoodSheperd = p;
const StaticPluginLoader spl(p, "GoodSheperd");
if (spl.ok())
{
p->addModel(modelHurdle);
p->addModel(modelSEQ3st);
p->addModel(modelStable16);
p->addModel(modelStall);
p->addModel(modelSwitch1);
p->addModel(modelSeqtrol);
}
}
static void initStatic__GrandeModular()
{
Plugin* const p = new Plugin;
@ -2063,6 +2084,7 @@ void initStaticPlugins()
initStatic__Fundamental();
#endif
initStatic__GlueTheGiant();
initStatic__GoodSheperd();
initStatic__GrandeModular();
initStatic__HetrickCV();
initStatic__ImpromptuModular();