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
This commit is contained in:
ac_stef
2009-05-24 14:32:29 +00:00
parent 5cdcb1a080
commit fe9f8ca05d
+5
View File
@@ -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 << " ... ";