Add Computerscare modules (#614)

* Attempt to clean up some things

* Add Makefile and plugins.cpp

* Added modified res and src for Computerscare

* Updated README.md and docs/LICENSES.md, fixed Makefile

* Updated Makefile

* Added PanelBorder to custom names, modified ComputerscareSVGPanel again

* Updated Makefile

* Modified dep.cpp for Computerscare dark mode

* Attempt to prepare ComputerscareBlank for dark mode

* [WIP] a janky fix for ComputerscareBlank dark mode, but logo disappeared!

* [WIP] eureka

* fix ComputerscareBlank for mark dode

* Updated LICENSES.md

* [WIP] patched modules so labels properly change colors, hopefully everything else still works as intended

* adjust PatchSequencer font size

* What does this option do?

* tweaked colors, text boxes now change color for dark mode

* minor upd to Computerscare and dep.cpp

* Upd ComputerscareLaundrySoup (hopefully fixes plugin-validation)

* Upd LaundrySoup again

* Delete ComputerscareIso.cpp from Computerscare

* rebase Computerscare to updated master branch

* Upd Computerscare

* Don't change object names in submodule source, instead define/undef in plugins.cpp

* revert Computerscare due to lto build failure
This commit is contained in:
Shiera Kawa 2024-04-04 02:22:39 -06:00 committed by GitHub
parent c44acc8241
commit 64eafbc631
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 92 additions and 1 deletions

1
plugins/Computerscare Submodule

@ -0,0 +1 @@
Subproject commit d460bd226ab7b132fc4dfe14c5f359d7bbf007b7

View file

@ -645,6 +645,14 @@ PLUGIN_FILES += $(filter-out cf/src/plugin.cpp,$(wildcard cf/src/*.cpp))
# modules/types which are present in other plugins
CF_CUSTOM = $(DRWAV)
# --------------------------------------------------------------
# Computerscare
PLUGIN_FILES += $(filter-out Computerscare/src/Computerscare.cpp Computerscare/src/test.cpp,$(wildcard Computerscare/src/*.cpp))
# modules/types which are present in other plugins
COMPUTERSCARE_CUSTOM = Quantizer PanelBorder
# --------------------------------------------------------------
# CVfunk
@ -2207,6 +2215,13 @@ $(BUILD_DIR)/cf/src/%.cpp.o: cf/src/%.cpp
-DpluginInstance=pluginInstance__cf \
-Wno-misleading-indentation
$(BUILD_DIR)/Computerscare/src/%.cpp.o: Computerscare/src/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(COMPUTERSCARE_CUSTOM),$(call custom_module_names,$(m),Computerscare)) \
-DpluginInstance=pluginInstance__Computerscare
$(BUILD_DIR)/CVfunk/src/%.cpp.o: CVfunk/src/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"

View file

@ -311,6 +311,9 @@ extern Model* modelTestVCF;
#include "ChowDSP/src/plugin.cpp"
#undef init
// Computerscare
#include "Computerscare/src/Computerscare.hpp"
// dBiz
#define DarkDefaultItem dBizDarkDefaultItem
#define OrangeLight dBizOrangeLight
@ -866,6 +869,7 @@ Plugin* pluginInstance__BogaudioModules;
Plugin* pluginInstance__CatroModulo;
Plugin* pluginInstance__cf;
Plugin* pluginInstance__ChowDSP;
Plugin* pluginInstance__Computerscare;
Plugin* pluginInstance__CVfunk;
Plugin* pluginInstance__dBiz;
Plugin* pluginInstance__DHE;
@ -1833,6 +1837,34 @@ static void initStatic__ChowDSP()
}
}
static void initStatic__Computerscare()
{
Plugin* const p = new Plugin;
pluginInstance__Computerscare = p;
const StaticPluginLoader spl(p, "Computerscare");
if (spl.ok())
{
p->addModel(modelComputerscarePatchSequencer);
p->addModel(modelComputerscareDebug);
p->addModel(modelComputerscareLaundrySoup);
p->addModel(modelComputerscareILoveCookies);
p->addModel(modelComputerscareOhPeas);
p->addModel(modelComputerscareHorseADoodleDoo);
p->addModel(modelComputerscareKnolyPobs);
p->addModel(modelComputerscareBolyPuttons);
p->addModel(modelComputerscareRolyPouter);
p->addModel(modelComputerscareSolyPequencer);
p->addModel(modelComputerscareTolyPools);
p->addModel(modelComputerscareMolyPatrix);
p->addModel(modelComputerscareGolyPenerator);
p->addModel(modelComputerscareFolyPace);
p->addModel(modelComputerscareStolyFickPigure);
p->addModel(modelComputerscareBlank);
p->addModel(modelComputerscareBlankExpander);
}
}
static void initStatic__CVfunk()
{
Plugin* const p = new Plugin;
@ -3252,6 +3284,7 @@ void initStaticPlugins()
initStatic__CatroModulo();
initStatic__cf();
initStatic__ChowDSP();
initStatic__Computerscare();
initStatic__CVfunk();
initStatic__dBiz();
initStatic__DHE();