/*      SCCS Id: @(#)version.c  3.1     92/01/04        */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed.  See license for details. */

#include        "hack.h"
#include        "date.h"
#ifndef BETA
# ifdef SHORT_FILENAMES
# include       "patchlev.h"
# else
# include       "patchlevel.h"
# endif
#endif

int
doversion()
{

	pline ("Unofficial Nethack modified from version 3.1.3. Beware!");
	return 0;
#ifdef BETA
	pline("%s NetHack Beta Version %d.%d.%d-%d - last build %s.",
#else
	pline("%s NetHack Version %d.%d.%d - last build %s.",
#endif
		PORT_ID, VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL,
#ifdef BETA
		EDITLEVEL,
#endif
		BUILD_DATE);    /* from date.h, generated by 'makedefs' */
	return 0;
}

int
doextversion()
{
	display_file(OPTIONS_USED, TRUE);
	return 0;
}

#ifdef MICRO
boolean
comp_times(filetime)
long filetime;
{
	return((boolean)(filetime < BUILD_TIME));
}
#endif
 
/*version.c*/
