Add Mog
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
2e3f6fd57d
commit
7686956ee0
8 changed files with 41 additions and 2 deletions
|
@ -461,6 +461,12 @@ PLUGIN_FILES += $(wildcard MindMeldModular/src/Utilities/*.cpp)
|
|||
# modules/types which are present in other plugins
|
||||
MINDMELD_CUSTOM = printNote
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# Mog
|
||||
|
||||
PLUGIN_FILES += Mog/src/Network.cpp
|
||||
PLUGIN_FILES += Mog/src/Nexus.cpp
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# mscHack
|
||||
|
||||
|
@ -979,7 +985,7 @@ $(BUILD_DIR)/MindMeldModular/MindMeldModular.cpp.o: MindMeldModular/src/MindMeld
|
|||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(MINDMELD_CUSTOM),$(call custom_module_names,$(m),JW)) \
|
||||
$(foreach m,$(MINDMELD_CUSTOM),$(call custom_module_names,$(m),MindMeld)) \
|
||||
-DpluginInstance=pluginInstance__MindMeld \
|
||||
-Dinit=init__MindMeld
|
||||
|
||||
|
@ -987,9 +993,16 @@ $(BUILD_DIR)/MindMeldModular/%.cpp.o: MindMeldModular/%.cpp
|
|||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(MINDMELD_CUSTOM),$(call custom_module_names,$(m),JW)) \
|
||||
$(foreach m,$(MINDMELD_CUSTOM),$(call custom_module_names,$(m),MindMeld)) \
|
||||
-DpluginInstance=pluginInstance__MindMeld
|
||||
|
||||
$(BUILD_DIR)/Mog/%.cpp.o: Mog/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(MOG_CUSTOM),$(call custom_module_names,$(m),Mog)) \
|
||||
-DpluginInstance=pluginInstance__Mog
|
||||
|
||||
$(BUILD_DIR)/mscHack/%.cpp.o: mscHack/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
|
|
1
plugins/Mog
Submodule
1
plugins/Mog
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c1b128866786246a407c10713efb00ecc8486ced
|
|
@ -295,6 +295,9 @@ extern Model *modelBassMaster;
|
|||
extern Model *modelBassMasterJr;
|
||||
extern Model *modelShapeMaster;
|
||||
|
||||
// Mog
|
||||
#include "Mog/src/plugin.hpp"
|
||||
|
||||
// mscHack
|
||||
/* NOTE too much noise in original include, do this a different way
|
||||
// #include "mscHack/src/mscHack.hpp"
|
||||
|
@ -384,6 +387,7 @@ Plugin* pluginInstance__GrandeModular;
|
|||
extern Plugin* pluginInstance__ImpromptuModular;
|
||||
Plugin* pluginInstance__JW;
|
||||
extern Plugin* pluginInstance__MindMeld;
|
||||
Plugin* pluginInstance__Mog;
|
||||
extern Plugin* pluginInstance__mscHack;
|
||||
Plugin* pluginInstance__rackwindows;
|
||||
Plugin* pluginInstance__repelzen;
|
||||
|
@ -1278,6 +1282,19 @@ static void initStatic__MindMeld()
|
|||
}
|
||||
}
|
||||
|
||||
static void initStatic__Mog()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
pluginInstance__Mog = p;
|
||||
|
||||
const StaticPluginLoader spl(p, "Mog");
|
||||
if (spl.ok())
|
||||
{
|
||||
p->addModel(modelNetwork);
|
||||
p->addModel(modelNexus);
|
||||
}
|
||||
}
|
||||
|
||||
static void initStatic__mscHack()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
|
@ -1486,6 +1503,7 @@ void initStaticPlugins()
|
|||
initStatic__ImpromptuModular();
|
||||
initStatic__JW();
|
||||
initStatic__MindMeld();
|
||||
initStatic__Mog();
|
||||
initStatic__mscHack();
|
||||
initStatic__rackwindows();
|
||||
initStatic__repelzen();
|
||||
|
|
1
plugins/res/Mog
Symbolic link
1
plugins/res/Mog
Symbolic link
|
@ -0,0 +1 @@
|
|||
../Mog/res
|
Loading…
Add table
Add a link
Reference in a new issue