summaryrefslogtreecommitdiffstats
path: root/DTMenu.c4d/SymbolDummy.c4d
diff options
context:
space:
mode:
authorMarkus Mittendrein <maxmitti@maxmitti.tk>2021-04-01 17:22:30 +0200
committerMarkus Mittendrein <maxmitti@maxmitti.tk>2021-04-01 17:22:30 +0200
commit2754b3f9f7869e1731bf0a070c4b2fcfc921f437 (patch)
treee642395da002d845d1ee5bb854f8f5e4b24c5809 /DTMenu.c4d/SymbolDummy.c4d
parent8c3e2aaf3c82321d47c5a4a409f48a594be07b97 (diff)
downloadObjectsAppend-2754b3f9f7869e1731bf0a070c4b2fcfc921f437.tar.gz
ObjectsAppend-2754b3f9f7869e1731bf0a070c4b2fcfc921f437.zip
Add CrewSelection rule
Diffstat (limited to 'DTMenu.c4d/SymbolDummy.c4d')
-rw-r--r--DTMenu.c4d/SymbolDummy.c4d/DefCore.txt5
-rw-r--r--DTMenu.c4d/SymbolDummy.c4d/Graphics.pngbin0 -> 126 bytes
-rw-r--r--DTMenu.c4d/SymbolDummy.c4d/Script.c16
3 files changed, 21 insertions, 0 deletions
diff --git a/DTMenu.c4d/SymbolDummy.c4d/DefCore.txt b/DTMenu.c4d/SymbolDummy.c4d/DefCore.txt
new file mode 100644
index 0000000..1fd66a9
--- /dev/null
+++ b/DTMenu.c4d/SymbolDummy.c4d/DefCore.txt
@@ -0,0 +1,5 @@
+[DefCore]
+id=MS7I
+Name=Menu symbol dummy
+Version=4,9,10,8
+Category=C4D_StaticBack
diff --git a/DTMenu.c4d/SymbolDummy.c4d/Graphics.png b/DTMenu.c4d/SymbolDummy.c4d/Graphics.png
new file mode 100644
index 0000000..6b1b504
--- /dev/null
+++ b/DTMenu.c4d/SymbolDummy.c4d/Graphics.png
Binary files differ
diff --git a/DTMenu.c4d/SymbolDummy.c4d/Script.c b/DTMenu.c4d/SymbolDummy.c4d/Script.c
new file mode 100644
index 0000000..4032726
--- /dev/null
+++ b/DTMenu.c4d/SymbolDummy.c4d/Script.c
@@ -0,0 +1,16 @@
+#strict 2
+
+static const DT_Menu_SymbolDummy = MS7I;
+
+func SetSymbol(id symbol, int nr)
+{
+ SetGraphics(0, this, symbol);
+ SetPicture(GetDefCoreVal("Picture", "DefCore", symbol, 0) + nr * GetDefCoreVal("Picture", "DefCore", symbol, 2), GetDefCoreVal("Picture", "DefCore", symbol, 1), GetDefCoreVal("Picture", "DefCore", symbol, 2), GetDefCoreVal("Picture", "DefCore", symbol, 3));
+ return this;
+}
+
+func SetColor(int color)
+{
+ SetClrModulation(color);
+ return this;
+}