Browse Source

[WIP] add WhatTheRack

pull/218/head
dreamer 3 years ago
parent
commit
cdab26ef0c
6 changed files with 43 additions and 1 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      README.md
  3. +4
    -0
      docs/LICENSES.md
  4. +15
    -1
      plugins/Makefile
  5. +1
    -0
      plugins/WhatTheRack
  6. +19
    -0
      plugins/plugins.cpp

+ 3
- 0
.gitmodules View File

@@ -190,3 +190,6 @@
[submodule "plugins/unless_modules"]
path = plugins/unless_modules
url = https://gitlab.com/unlessgames/unless_modules.git
[submodule "plugins/WhatTheRack"]
path = plugins/WhatTheRack
url = https://github.com/korfuri/WhatTheRack.git

+ 1
- 0
README.md View File

@@ -163,6 +163,7 @@ At the moment the following 3rd-party modules are provided:
- unless_modules
- Valley
- Voxglitch
- WhatTheRack
- ZetaCarinae
- ZZC



+ 4
- 0
docs/LICENSES.md View File

@@ -69,6 +69,7 @@ Bellow follows a list of all code licenses used in Cardinal and linked submodule
| unless_modules | GPL-3.0-or-later | |
| Valley | GPL-3.0-or-later | |
| Voxglitch | GPL-3.0-or-later | |
| WhatTheRack | WTFPL | |
| ZetaCarinae | GPL-3.0-or-later | |
| ZZC | GPL-3.0-or-later | |

@@ -195,6 +196,9 @@ Below is a list of artwork licenses from plugins
| ValleyAudio/ShareTechMono-*.ttf | OFL-1.1-RFN | |
| voxglitch/* | GPL-3.0-or-later | No artwork specific license provided |
| voxglitch/ShareTechMono-Regular.ttf | OFL-1.1-RFN | |
| WhatTheRack/* | WTFPL | |
| WhatTheRack/BoomButton/* | CC-BY-3.0 | |
| WhatTheRack/fonts/* | <not valid> | Needs clarification/modification! |
| ZetaCarinaeModules/* | GPL-3.0-or-later | [Same license as source code](https://github.com/mhampton/ZetaCarinaeModules/issues/8) |
| ZZC/* | CC-BY-NC-SA-4.0 | |
| ZZC/panels/* | CC-BY-NC-SA-4.0 | NOTE: The ZZC Logo is Copyright (c) 2019 Sergey Ukolov and cannot be used in derivative works; Cardinal's use does not officially constitute derivative work. |


+ 15
- 1
plugins/Makefile View File

@@ -850,7 +850,13 @@ VALLEYAUDIO_CUSTOM_PER_FILE = TempoKnob
# --------------------------------------------------------------
# Voxglitch

PLUGIN_FILES += $(filter-out voxglitch/src/plugin.cpp,$(wildcard voxglitch/src/*.cpp))
PLUGIN_FILES += $(filter-out voxglitch/src/WhatTheRack.cpp,$(wildcard voxglitch/src/*.cpp))

# --------------------------------------------------------------
# WhatTheRack

PLUGIN_FILES += $(filter-out WhatTheRack/src/plugin.cpp,$(wildcard WhatTheRack/src/*.cpp))


# modules/types which are present in other plugins
VOXGLITCH_CUSTOM = $(DRWAV) AudioFile Looper Readout
@@ -1729,6 +1735,14 @@ $(BUILD_DIR)/voxglitch/%.cpp.o: voxglitch/%.cpp
-DpluginInstance=pluginInstance__Voxglitch \
-DSKIP_MINGW_FORMAT

$(BUILD_DIR)/WhatTheRack/%.cpp.o: WhatTheRack/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
$(foreach m,$(WHATTHERACK_CUSTOM),$(call custom_module_names,$(m),WhatTheRack)) \
-DpluginInstance=pluginInstance__WhatTheRack \
-UBUILDING_PLUGIN_MODULES

$(BUILD_DIR)/ZetaCarinaeModules/%.cpp.o: ZetaCarinaeModules/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"


+ 1
- 0
plugins/WhatTheRack

@@ -0,0 +1 @@
Subproject commit 7e17e5a8e5c69b36e4255f2f1e5e7403bf06a756

+ 19
- 0
plugins/plugins.cpp View File

@@ -658,6 +658,9 @@ extern Model* modelBlankPanel;
#include "voxglitch/src/plugin.hpp"
#undef modelLooper

// WhatTheRack
#include "WhatTheRack/src/WhatTheRack.hpp"

// ZetaCarinaeModules
#include "ZetaCarinaeModules/src/plugin.hpp"

@@ -741,6 +744,7 @@ Plugin* pluginInstance__stocaudio;
Plugin* pluginInstance__unless_modules;
Plugin* pluginInstance__ValleyAudio;
Plugin* pluginInstance__Voxglitch;
Plugin* pluginInstance__WhatTheRack;
Plugin* pluginInstance__ZetaCarinaeModules;
Plugin* pluginInstance__ZZC;
#endif // NOPLUGINS
@@ -2451,6 +2455,20 @@ static void initStatic__Voxglitch()
}
}

static void initStatic__WhatTheRack()
{
Plugin* p = new Plugin;
pluginInstance__WhatTheRack = p;

const StaticPluginLoader spl(p, "WhatTheRack");
if (spl.ok())
{
p->addModel(modelWhatTheRack);
p->addModel(modelWhatTheMod);
p->addModel(modelWhatTheJack);
}
}

static void initStatic__ZetaCarinaeModules()
{
Plugin* p = new Plugin;
@@ -2553,6 +2571,7 @@ void initStaticPlugins()
initStatic__unless_modules();
initStatic__ValleyAudio();
initStatic__Voxglitch();
initStatic__WhatTheRack();
initStatic__ZetaCarinaeModules();
initStatic__ZZC();
#endif // NOPLUGINS


Loading…
Cancel
Save