Source:Hack 1.0/hack.version.c

From NetHackWiki
(Redirected from Hack 1.0/hack.version.c)
Jump to: navigation, search

Below is the full text to hack.version.c from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/hack.version.c#line123]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

Screenshots and source code from Hack are used under the CWI license.

1.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
3.    #include	"date.h"
5.    doversion(){
6.    	pline("%s 1.0 preliminary version - last edit %s.",
7.    #ifdef QUEST
8.    		"Quest"
9.    #else
10.   		"Hack"
11.   #endif QUEST
12.   	, datestring);
13.   	return(0);
14.   }