Skip to content

Commit cd29e96

Browse files
committed
start adding Moffenzeef
1 parent acc0bd2 commit cd29e96

4 files changed

Lines changed: 77 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,3 +266,6 @@
266266
[submodule "plugins/Venom"]
267267
path = plugins/Venom
268268
url = https://github.com/DaveBenham/VenomModules
269+
[submodule "plugins/Moffenzeef"]
270+
path = plugins/Moffenzeef
271+
url = https://github.com/moffenzeefmodular/Moffenzeef-VCV.git

plugins/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,12 @@ MINIPLUGIN_FILES += MockbaModular/src/Pannah.cpp
911911
MINIPLUGIN_FILES += MockbaModular/src/ReVoltah.cpp
912912
MINIPLUGIN_FILES += MockbaModular/src/Shapah.cpp
913913

914+
# --------------------------------------------------------------
915+
# Moffenzeef
916+
917+
PLUGIN_FILES += $(filter-out Moffenzeef/src/plugin.cpp,$(wildcard Moffenzeef/src/*.cpp))
918+
# PLUGIN_FILES += $(wildcard Moffenzeef/src/*.c)
919+
914920
# --------------------------------------------------------------
915921
# Mog
916922

@@ -2637,6 +2643,13 @@ $(BUILD_DIR)/MockbaModular/%.cpp.o: MockbaModular/%.cpp
26372643
$(foreach m,$(MOCKBAMODULAR_CUSTOM),$(call custom_module_names,$(m),MockbaModular)) \
26382644
-DpluginInstance=pluginInstance__MockbaModular
26392645

2646+
$(BUILD_DIR)/Moffenzeef/%.cpp.o: Moffenzeef/%.cpp
2647+
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
2648+
@echo "Compiling $<"
2649+
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -std=gnu++17 -c -o $@ \
2650+
$(foreach m,$(MOFFENZEEF_CUSTOM),$(call custom_module_names,$(m),Moffenzeef)) \
2651+
-DpluginInstance=pluginInstance__Moffenzeef
2652+
26402653
$(BUILD_DIR)/Mog/%.cpp.o: Mog/%.cpp
26412654
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
26422655
@echo "Compiling $<"

plugins/Moffenzeef

Submodule Moffenzeef added at 44fedd7

plugins/plugins.cpp

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,31 @@ extern Model* modelArpeggiator;
726726
#undef loadBack
727727
std::string loadBack(int) { return "res/Empty_gray.svg"; }
728728

729+
// Moffenzeef
730+
#include "Moffenzeef/src/plugin.hpp"
731+
extern Model* modelBadIdea9;
732+
extern Model* modelBadIdea1800;
733+
extern Model* modelBobcat;
734+
extern Model* modelBusMult;
735+
extern Model* modelCount;
736+
extern Model* modelDeviant;
737+
extern Model* modelDialUp;
738+
extern Model* modelGMO;
739+
extern Model* modelKriket;
740+
extern Model* modelMito;
741+
extern Model* modelMoffenmix;
742+
extern Model* modelMongrel;
743+
extern Model* modelMuskrat;
744+
extern Model* modelSimplify;
745+
extern Model* modelSwarm;
746+
extern Model* modelINTENSIFIES;
747+
extern Model* modelTheRunner;
748+
extern Model* modelKleztizer;
749+
extern Model* modelTantz;
750+
extern Model* modelStargazer;
751+
extern Model* modelQuadDeviant;
752+
// extern Model* modelTehom;
753+
729754
// Mog
730755
#include "Mog/src/plugin.hpp"
731756

@@ -1009,6 +1034,7 @@ Plugin* pluginInstance__Meander;
10091034
extern Plugin* pluginInstance__MindMeld;
10101035
Plugin* pluginInstance__ML;
10111036
Plugin* pluginInstance__MockbaModular;
1037+
Plugin* pluginInstance__Moffenzeef;
10121038
Plugin* pluginInstance__Mog;
10131039
extern Plugin* pluginInstance__mscHack;
10141040
Plugin* pluginInstance__MSM;
@@ -2896,6 +2922,39 @@ static void initStatic__MockbaModular()
28962922
}
28972923
}
28982924

2925+
static void initStatic__Moffenzeef()
2926+
{
2927+
Plugin* const p = new Plugin;
2928+
pluginInstance__Moffenzeef = p;
2929+
2930+
const StaticPluginLoader spl(p, "Moffenzeef");
2931+
if (spl.ok())
2932+
{
2933+
p->addModel(modelBadIdea9);
2934+
p->addModel(modelBadIdea1800);
2935+
p->addModel(modelBobcat);
2936+
p->addModel(modelBusMult);
2937+
p->addModel(modelCount);
2938+
p->addModel(modelDeviant);
2939+
p->addModel(modelDialUp);
2940+
p->addModel(modelGMO);
2941+
p->addModel(modelKriket);
2942+
p->addModel(modelMito);
2943+
p->addModel(modelMoffenmix);
2944+
p->addModel(modelMongrel);
2945+
p->addModel(modelMuskrat);
2946+
p->addModel(modelSimplify);
2947+
p->addModel(modelSwarm);
2948+
p->addModel(modelINTENSIFIES);
2949+
p->addModel(modelTheRunner);
2950+
p->addModel(modelKleztizer);
2951+
p->addModel(modelTantz);
2952+
p->addModel(modelStargazer);
2953+
p->addModel(modelQuadDeviant);
2954+
// p->addModel(modelTehom);
2955+
}
2956+
}
2957+
28992958
static void initStatic__Mog()
29002959
{
29012960
Plugin* const p = new Plugin;
@@ -3769,6 +3828,7 @@ void initStaticPlugins()
37693828
initStatic__MindMeld();
37703829
initStatic__ML();
37713830
initStatic__MockbaModular();
3831+
initStatic__Moffenzeef();
37723832
initStatic__Mog();
37733833
initStatic__mscHack();
37743834
initStatic__MSM();

0 commit comments

Comments
 (0)