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; }
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; }