diff options
| author | Zed <Zed@zed.zed> | 2015-08-02 16:06:38 +0200 |
|---|---|---|
| committer | Zed <Zed@zed.zed> | 2015-08-02 16:06:38 +0200 |
| commit | ce4d5a5ac5204c3a791e2a1bd426c019ffa05172 (patch) | |
| tree | 35755b49843ffae136c939dd00392ee192b1858c /TemplePushing.c4s | |
| parent | 954de7a151d426fbdbcf0662d4f22defa3edd022 (diff) | |
| download | tempelschubsen-ce4d5a5ac5204c3a791e2a1bd426c019ffa05172.tar.gz tempelschubsen-ce4d5a5ac5204c3a791e2a1bd426c019ffa05172.zip | |
Add symbol for "random" option in setup menus
Diffstat (limited to 'TemplePushing.c4s')
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c | 4 | ||||
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/DefCore.txt | 6 | ||||
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png | bin | 0 -> 8197 bytes | |||
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Names.txt | 2 |
4 files changed, 10 insertions, 2 deletions
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 Binary files differnew file mode 100644 index 0000000..b4b7df1 --- /dev/null +++ b/TemplePushing.c4s/Misc.c4d/Symbols.c4d/Random.c4d/Graphics.png 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 |
