Add ZZC plugins
This commit is contained in:
parent
b1ce729dba
commit
4682417dbd
7 changed files with 64 additions and 1 deletions
|
@ -295,6 +295,14 @@ extern Model *modelMaude_221;
|
|||
// ZetaCarinaeModules
|
||||
#include "ZetaCarinaeModules/src/plugin.hpp"
|
||||
|
||||
// ZZC
|
||||
#define DISPLAYS_H
|
||||
#define ZZC_SHARED_H
|
||||
#define ZZC_WIDGETS_H
|
||||
#define modelClock modelZZCClock
|
||||
#include "ZZC/src/ZZC.hpp"
|
||||
#undef modelClock
|
||||
|
||||
#endif // NOPLUGINS
|
||||
|
||||
// stuff that reads config files, we dont want that
|
||||
|
@ -328,6 +336,7 @@ extern Plugin* pluginInstance__mscHack;
|
|||
Plugin* pluginInstance__rackwindows;
|
||||
Plugin* pluginInstance__ValleyAudio;
|
||||
Plugin* pluginInstance__ZetaCarinaeModules;
|
||||
Plugin* pluginInstance__ZZC;
|
||||
#endif // NOPLUGINS
|
||||
|
||||
namespace rack {
|
||||
|
@ -1218,6 +1227,28 @@ static void initStatic__ZetaCarinaeModules()
|
|||
p->addModel(modelFirefly);
|
||||
}
|
||||
}
|
||||
|
||||
static void initStatic__ZZC()
|
||||
{
|
||||
Plugin* p = new Plugin;
|
||||
pluginInstance__ZZC = p;
|
||||
|
||||
const StaticPluginLoader spl(p, "ZZC");
|
||||
if (spl.ok())
|
||||
{
|
||||
#define modelClock modelZZCClock
|
||||
p->addModel(modelClock);
|
||||
p->addModel(modelDivider);
|
||||
p->addModel(modelFN3);
|
||||
p->addModel(modelSCVCA);
|
||||
p->addModel(modelSH8);
|
||||
p->addModel(modelSRC);
|
||||
p->addModel(modelDiv);
|
||||
p->addModel(modelDivExp);
|
||||
p->addModel(modelPolygate);
|
||||
#undef modelClock
|
||||
}
|
||||
}
|
||||
#endif // NOPLUGINS
|
||||
|
||||
void initStaticPlugins()
|
||||
|
@ -1245,6 +1276,7 @@ void initStaticPlugins()
|
|||
initStatic__rackwindows();
|
||||
initStatic__ValleyAudio();
|
||||
initStatic__ZetaCarinaeModules();
|
||||
initStatic__ZZC();
|
||||
#endif // NOPLUGINS
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue