Placed command lines in. And put in support to make a in-game connect

or disconnect for connect to SM Server.  (If it ever comes up)
This commit is contained in:
Charles Lohr
2004-04-30 04:34:39 +00:00
parent 7a44c365bc
commit fc5c3ad589
3 changed files with 120 additions and 16 deletions
+8 -2
View File
@@ -919,11 +919,17 @@ static void ProcessArgsSecond()
//"ArgStartCourse", is in the NSManager
//bacause Networked StepMania will
//use it a lot.
if( GetCommandlineArgument( "course", & Argument ) )
ArgStartCourse(Argument);
if( GetCommandlineArgument( "mode",& Argument ) )
ArgSetMode(Argument);
if( GetCommandlineArgument( "netip" ) )
NSMAN->DisplayStartupStatus(); //If we're using networking show what happend
if( GetCommandlineArgument( "course", & Argument ) )
ArgStartCourse(Argument);
if( GetCommandlineArgument( "jumpscreen", & Argument ) )
SCREENMAN->SetNewScreen(Argument);
}
int main(int argc, char* argv[])