From 0bc6f8907154d1ac661968bee264b16e5e5ca844 Mon Sep 17 00:00:00 2001 From: torsten Date: Fri, 9 Apr 2010 09:45:25 +0000 Subject: [PATCH] Initial version for the AI-Scenario select-dialog --- gui/dialogs/scenario.xml | 191 +++++++++++++++++++++++++++++++++++++++ gui/menubar.xml | 8 ++ 2 files changed, 199 insertions(+) create mode 100644 gui/dialogs/scenario.xml diff --git a/gui/dialogs/scenario.xml b/gui/dialogs/scenario.xml new file mode 100644 index 000000000..3b05adada --- /dev/null +++ b/gui/dialogs/scenario.xml @@ -0,0 +1,191 @@ + + + + + scenario + false + vbox + false + 3 + + + hbox + 1 + + true + + + + + + true + + + + + + + + hbox + + + left-column + vbox + + + + vbox + right-column + + + + + + + hbox + center + + + + + + + + true + + + + 4 and substr(file, -4) == ".xml") + processScenario( i+=1, substr(file,0,size(file)-4), io.read_properties(path ~ "/" ~ file) ); + + ]]> + + + + + + diff --git a/gui/menubar.xml b/gui/menubar.xml index 30e7a7217..58f416d02 100644 --- a/gui/menubar.xml +++ b/gui/menubar.xml @@ -425,6 +425,14 @@ tanker + + + + + dialog-show + scenario + +