From edd1359010ce32d5ff6a3b77fcb6bbe7e21b5703 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 13 Feb 2022 21:13:36 +0100 Subject: Update to map based DTMenu --- DTMenu.c4d/SymbolDummy.c4d/Script.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 DTMenu.c4d/SymbolDummy.c4d/Script.c (limited to 'DTMenu.c4d/SymbolDummy.c4d/Script.c') diff --git a/DTMenu.c4d/SymbolDummy.c4d/Script.c b/DTMenu.c4d/SymbolDummy.c4d/Script.c deleted file mode 100644 index 4032726..0000000 --- a/DTMenu.c4d/SymbolDummy.c4d/Script.c +++ /dev/null @@ -1,16 +0,0 @@ -#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; -} -- cgit v1.2.3-54-g00ecf