Esempio n. 1
0
int main( int argc, char * argv[] )
{
    if ( !InitializeYojimbo() )
    {
        printf( "error: failed to initialize Yojimbo!\n" );
        return 1;
    }

    int result = ConnectMain( argc, argv );

    ShutdownYojimbo();

    return result;
}
Esempio n. 2
0
int main()
{
    printf( "\n" );

    verbose_logging = true;

    if ( !InitializeYojimbo() )
    {
        printf( "error: failed to initialize Yojimbo!\n" );
        return 1;
    }

    srand( (unsigned int) time( NULL ) );

    int result = ClientServerMain();

    ShutdownYojimbo();

    printf( "\n" );

    return result;
}