Exemplo n.º 1
0
SLONG	main(UWORD argc, CBYTE **argv)
{
	SLONG	return_buffer;
	
	argc=argc;
	argv=argv;

	display_copyright();

	return_buffer = game();
	
	display_copyright();	 
	
	return (return_buffer);
}
Exemplo n.º 2
0
/** 
 * Display the about message if requested
 * 
 */
void 
xabout ( ) {
    char kvdate[200];
    /* char fmt[] = "SEISMIC ANALYSIS CODE [%s (Version 00.59.49)]"; */
    char fmt[] = "SEISMIC ANALYSIS CODE [%s (Version %s)]";
    char kcopyr[] = "Copyright 1995 Regents of the University of California\n" ;

    if(! display_copyright(OPTION_GET)) {
      return;
    }
    sprintf( kvdate, fmt, BUILD_DATE, PACKAGE_VERSION );
    setmsg( "OUTPUT", 99 );
    apcmsg( kvdate, strlen ( kvdate ) + 1 );
    aplmsg( kcopyr, strlen ( kcopyr ) + 1 );
    outmsg();
    clrmsg();
}