From fe9f8ca05d4b0a9cb9ec80ba2094cdb0af6d7ea8 Mon Sep 17 00:00:00 2001 From: ac_stef Date: Sun, 24 May 2009 14:32:29 +0000 Subject: [PATCH] add additional commandline parameters in the wizard git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4431 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/wizard.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/src/wizard.cpp b/source/src/wizard.cpp index e3a1c538..8c7d049d 100644 --- a/source/src/wizard.cpp +++ b/source/src/wizard.cpp @@ -68,6 +68,10 @@ int wizardmain(int argc, char **argv) cout << "demorecord buffer size:\t"; getline(cin, permdemo); + string cmds; + cout << "additional commandline parameters:\t"; + getline(cin, cmds); + #ifdef WIN32 string wsname, wsdisplayname; @@ -95,6 +99,7 @@ int wizardmain(int argc, char **argv) } } if(permdemo.empty() || atoi(permdemo.c_str())) argstr += " -D" + permdemo; + if(!cmds.empty()) argstr += " " + cmds; cout << endl << "Writing your configuration to " << outfile << " ... ";