{
char *arg;
while( vg_argp( argc, argv ) ){
- if( vg_long_opt( "release-all" ) )
+ if( vg_long_opt( "release-all", NULL ) )
s_release_all();
- if( vg_long_opt( "testing-build" ) )
+ if( vg_long_opt( "testing-build", NULL ) )
s_testing_build();
- if( vg_long_opt( "testing-server" ) )
+ if( vg_long_opt( "testing-server", NULL ) )
s_testing_server();
- if( vg_long_opt( "tools" ) )
+ if( vg_long_opt( "tools", NULL ) )
s_compile_tools();
- if( vg_opt('r') )
+ if( vg_opt('r', NULL) )
vg_test_env.optimization = 3;
}
{
const char *arg;
- if( vg_long_opt( "noauth" ) )
+ if( vg_long_opt( "noauth", "Disable server authentication" ) )
network_client.auth_mode = eServerModeNoAuthentication;
- if( (arg = vg_long_opt_arg( "server" )) )
+ if( (arg = vg_long_opt_arg( "server", "Specify server address" )) )
network_set_host( arg, NULL );
- if( vg_long_opt( "demo" ) )
+ if( vg_long_opt( "demo", "Turn demo mode on" ) )
g_client.demo_mode = 1;
- if( vg_long_opt( "nosteam" ) )
+ if( vg_long_opt( "nosteam", "Disable steam integration (offline)" ) )
g_client.nosteam = 1;
game_launch_opt();
void game_launch_opt(void)
{
const char *arg;
- if( (arg = vg_long_opt_arg( "world" )) )
+ if( (arg = vg_long_opt_arg( "world", "Specify path to world to load" )) )
skaterift.hub_world = arg;
}
vg_info( "Initializing steamworks\n" );
- if( !SteamAPI_Init() ){
+ if( !SteamAPI_Init() )
+ {
printf("\n");
vg_error( "Steamworks failed to initialize\n" );
return 1;