Add RebelTech modules
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5025afcb50
commit
1dbc70d626
6 changed files with 57 additions and 3 deletions
|
@ -875,6 +875,14 @@ PRISM_CUSTOM = bogaudio Scale
|
|||
|
||||
PLUGIN_FILES += $(filter-out rackwindows/src/plugin.cpp,$(wildcard rackwindows/src/*.cpp))
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# RebelTech
|
||||
|
||||
PLUGIN_FILES += $(filter-out RebelTech/src/plugin.cpp,$(wildcard RebelTech/src/*.cpp))
|
||||
|
||||
# modules/types which are present in other plugins
|
||||
REBELTECH_CUSTOM = BefacoInputPort BefacoOutputPort
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# repelzen
|
||||
|
||||
|
@ -1176,8 +1184,8 @@ RESOURCE_FILES = \
|
|||
$(wildcard Cardinal/res/*.svg) \
|
||||
$(wildcard Fundamental/res/*.svg) \
|
||||
$(wildcard Fundamental/res/components/*.svg) \
|
||||
$(wildcard ZamAudio/res/*.svg) \
|
||||
Fundamental/presets
|
||||
# $(wildcard ZamAudio/res/*.svg)
|
||||
else
|
||||
PLUGIN_LIST = $(subst /plugin.json,,$(wildcard */plugin.json))
|
||||
|
||||
|
@ -1982,6 +1990,13 @@ $(BUILD_DIR)/rackwindows/%.cpp.o: rackwindows/%.cpp
|
|||
-Wno-implicit-fallthrough \
|
||||
-Wno-sign-compare
|
||||
|
||||
$(BUILD_DIR)/RebelTech/%.cpp.o: RebelTech/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
|
||||
$(foreach m,$(REBELTECH_CUSTOM),$(call custom_module_names,$(m),RebelTech)) \
|
||||
-DpluginInstance=pluginInstance__RebelTech
|
||||
|
||||
$(BUILD_DIR)/repelzen/%.cpp.o: repelzen/%.cpp
|
||||
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
|
||||
@echo "Compiling $<"
|
||||
|
|
1
plugins/RebelTech
Submodule
1
plugins/RebelTech
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6ac79f59c5b95433d82bcc759c4cd0642ec35098
|
|
@ -689,6 +689,15 @@ extern Model* modelBlankPanel;
|
|||
// rackwindows
|
||||
#include "rackwindows/src/plugin.hpp"
|
||||
|
||||
// RebelTech
|
||||
#define BefacoInputPort BefacoInputPortRebelTech
|
||||
#define BefacoOutputPort BefacoOutputPortRebelTech
|
||||
#include "RebelTech/src/plugin.hpp"
|
||||
#undef BefacoInputPort
|
||||
#undef BefacoOutputPort
|
||||
ModuleTheme defaultPanelTheme = DARK_THEME;
|
||||
void addThemeMenuItems(Menu*, ModuleTheme*) {}
|
||||
|
||||
// repelzen
|
||||
#define modelBlank modelrepelzenBlank
|
||||
#define modelMixer modelrepelzenMixer
|
||||
|
@ -736,14 +745,18 @@ extern Model* modelBlankPanel;
|
|||
// known terminal modules
|
||||
std::vector<Model*> hostTerminalModels;
|
||||
|
||||
// stuff that reads config files, we dont want that
|
||||
// stuff that reads config files, we don't want that
|
||||
int loadConsoleType() { return 0; }
|
||||
bool loadDarkAsDefault() { return 1; }
|
||||
bool loadDarkAsDefault() { return settings::darkMode; }
|
||||
ModuleTheme loadDefaultTheme() { return settings::darkMode ? DARK_THEME : LIGHT_THEME; }
|
||||
int loadDirectOutMode() { return 0; }
|
||||
void readDefaultTheme() { defaultPanelTheme = loadDefaultTheme(); }
|
||||
void saveConsoleType(int) {}
|
||||
void saveDarkAsDefault(bool) {}
|
||||
void saveDefaultTheme(ModuleTheme) {}
|
||||
void saveDirectOutMode(bool) {}
|
||||
void saveHighQualityAsDefault(bool) {}
|
||||
void writeDefaultTheme() {}
|
||||
|
||||
// plugin instances
|
||||
Plugin* pluginInstance__Cardinal;
|
||||
|
@ -807,6 +820,7 @@ Plugin* pluginInstance__PathSet;
|
|||
Plugin* pluginInstance__PinkTrombone;
|
||||
Plugin* pluginInstance__Prism;
|
||||
Plugin* pluginInstance__rackwindows;
|
||||
Plugin* pluginInstance__RebelTech;
|
||||
Plugin* pluginInstance__repelzen;
|
||||
Plugin* pluginInstance__sonusmodular;
|
||||
Plugin* pluginInstance__stocaudio;
|
||||
|
@ -2636,6 +2650,23 @@ static void initStatic__rackwindows()
|
|||
}
|
||||
}
|
||||
|
||||
static void initStatic__RebelTech()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
pluginInstance__RebelTech = p;
|
||||
|
||||
const StaticPluginLoader spl(p, "RebelTech");
|
||||
if (spl.ok())
|
||||
{
|
||||
p->addModel(modelStoicheia);
|
||||
p->addModel(modelTonic);
|
||||
p->addModel(modelKlasmata);
|
||||
p->addModel(modelCLK);
|
||||
p->addModel(modelLogoi);
|
||||
p->addModel(modelPhoreo);
|
||||
}
|
||||
}
|
||||
|
||||
static void initStatic__repelzen()
|
||||
{
|
||||
Plugin* const p = new Plugin;
|
||||
|
@ -2905,6 +2936,7 @@ void initStaticPlugins()
|
|||
initStatic__PinkTrombone();
|
||||
initStatic__Prism();
|
||||
initStatic__rackwindows();
|
||||
initStatic__RebelTech();
|
||||
initStatic__repelzen();
|
||||
initStatic__sonusmodular();
|
||||
initStatic__stocaudio();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue