From ce4d5a5ac5204c3a791e2a1bd426c019ffa05172 Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 2 Aug 2015 16:06:38 +0200 Subject: Add symbol for "random" option in setup menus --- TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c | 4 ++-- .../Misc.c4d/Symbols.c4d/Random.c4d/DefCore.txt | 6 ++++++ .../Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png | Bin 0 -> 8197 bytes .../Misc.c4d/Symbols.c4d/Random.c4d/Names.txt | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/DefCore.txt create mode 100644 TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png create mode 100644 TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Names.txt (limited to 'TemplePushing.c4s/Misc.c4d') diff --git a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c index 06459ed..33d2134 100644 --- a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c @@ -51,7 +51,7 @@ private func ShowSectionMenu() CheckPreselect(Sections[i] == section, i); } - clonk->AddMenuItem("$Random$", Format("SelectSection(%i)", Sections[Random(GetLength(Sections))]), ROCK); + clonk->AddMenuItem("$Random$", Format("SelectSection(%i)", Sections[Random(GetLength(Sections))]), SRND); } private func SelectSection(id selectedSection) @@ -73,7 +73,7 @@ private func ShowModeMenu() CheckPreselect(m[0] == mode, menuItemIndex++); } - clonk->AddMenuItem("$Random$", Format("SelectMode(%d)", Modes[Random(GetLength(Modes))][0]), ROCK); + clonk->AddMenuItem("$Random$", Format("SelectMode(%d)", Modes[Random(GetLength(Modes))][0]), SRND); clonk->AddMenuItem("$Back$", "ShowSectionMenu()", SBCK); } diff --git a/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/DefCore.txt b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/DefCore.txt new file mode 100644 index 0000000..1317653 --- /dev/null +++ b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/DefCore.txt @@ -0,0 +1,6 @@ +[DefCore] +id=SRND +Name=SymbolForRandom +Version=4,9,5 +Category=C4D_StaticBack +Picture=0,0,64,64 \ No newline at end of file diff --git a/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png new file mode 100644 index 0000000..b4b7df1 Binary files /dev/null and b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png differ diff --git a/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Names.txt b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Names.txt new file mode 100644 index 0000000..1832774 --- /dev/null +++ b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Names.txt @@ -0,0 +1,2 @@ +DE:Zufallsauswahl +US:Random selection \ No newline at end of file -- cgit v1.2.3-54-g00ecf