Add helpful comments to command line parsing code.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@392 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
865ef8f633
commit
22a78c80bc
|
@ -41,7 +41,12 @@ BOOL clIntroVideo;
|
|||
// let the end user into debug mode....
|
||||
BOOL bAllowDebugMode = FALSE;
|
||||
|
||||
// we need to find these early in the boot process
|
||||
/**************************************************************************
|
||||
First half of the command line parsing. Also see ParseCommandLine()
|
||||
below. The parameters here are needed early in the boot process,
|
||||
while the ones in ParseCommandLine can benefit from debugging being
|
||||
set up first.
|
||||
**************************************************************************/
|
||||
BOOL ParseCommandLineEarly(int argc, char** argv)
|
||||
{
|
||||
char *tokenType;
|
||||
|
@ -104,7 +109,10 @@ BOOL ParseCommandLineEarly(int argc, char** argv)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
// note that render mode must come before resolution flag.
|
||||
/**************************************************************************
|
||||
Second half of command line parsing. See ParseCommandLineEarly() for
|
||||
the first half. Note that render mode must come before resolution flag.
|
||||
**************************************************************************/
|
||||
BOOL ParseCommandLine(int argc, char** argv)
|
||||
{
|
||||
// char seps[] = " ,\t\n";
|
||||
|
|
Loading…
Reference in New Issue