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:
@@ -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 << " ... ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user