diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2015-08-26 22:47:46 +0200 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2015-09-03 19:22:38 +0200 |
| commit | 736efdaf6aea46dc44322e84656a7a489face44a (patch) | |
| tree | 58803fed93d6fef0f7ff01d6d7476ff4a3b16d9e /TemplePushing.c4s/Misc.c4d | |
| parent | 14ea123b3950acd08d136ee0a6a23201df074756 (diff) | |
| download | tempelschubsen-736efdaf6aea46dc44322e84656a7a489face44a.tar.gz tempelschubsen-736efdaf6aea46dc44322e84656a7a489face44a.zip | |
Add GameComments to show current game state
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c index ea902f8..11c2587 100644 --- a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c @@ -18,6 +18,16 @@ local ambienceEnabled; local numRelaunches; local deathmatchEnabled, deathmatchWinScore; +public func GetModes() +{ + return + [[MODE_Classic, "$ModeClassic$", CLSC], + [MODE_Magic, "$ModeMagic$", MLPG], + [MODE_Festive, "$ModeFestive$", FSTV], + [MODE_Apocalyptic, "$ModeApocalyptic$", APCE], + [MODE_Knightly, "$ModeKnightly$", MKNI]]; +} + protected func Initialize() { Sections = []; @@ -27,12 +37,7 @@ protected func Initialize() } section = Sections[0]; - Modes = [ - [MODE_Classic, "$ModeClassic$", CLSC], - [MODE_Magic, "$ModeMagic$", MLPG], - [MODE_Knightly, "$ModeKnightly$", MKNI], - [MODE_Apocalyptic, "$ModeApocalyptic$", APCE], - [MODE_Festive, "$ModeFestive$", FSTV]]; + Modes = GetModes(); } private func ShowSetup() |
