Difference between revisions of "Talk:NetHack 1.3d"

From NetHackWiki
Jump to navigation Jump to search
(NetQuest?!)
 
(NetQuest, especially being in an #ifdef QUEST clause, is probably a reference to that variant of Hack called Quest, of which I slightly know.)
Line 1: Line 1:
 
The early Devs seem to have briefly flirted with the idea of calling the game NetQuest if QUEST is defined <ref>[[NetHack 1.3d/unixmain.c#line9]]</ref>. This code appears from 1.3d to 2.3e. Does anyone know more about this? --[[User:Jayt|Jayt]] 00:02, 15 September 2006 (UTC)
 
The early Devs seem to have briefly flirted with the idea of calling the game NetQuest if QUEST is defined <ref>[[NetHack 1.3d/unixmain.c#line9]]</ref>. This code appears from 1.3d to 2.3e. Does anyone know more about this? --[[User:Jayt|Jayt]] 00:02, 15 September 2006 (UTC)
 +
----
 +
[[User:Kernigh|Kernigh]] writes: I am almost certain that this is a reference to game called ''"[[Gameinfo:Quest|Quest]]"''. Now in late 2005 or early 2006, while browsing my own copy of the source code to [[OpenBSD]] 3.8, I came across the <tt>/usr/src/games/hack</tt> directory containing [[Hack 1.0.3]] as shipped with OpenBSD. [http://www.openbsd.org/cgi-bin/cvsweb/src/games/hack/ (You can browse it in OpenBSD CVS.)] In the README is written, ''"(For a game with the same structure but entirely different display - a real cave instead of dull rectangles - try Quest)."'' Then I noticed a file called "Makequest". It seemed to me that the intent of this file, along with several <tt>#ifdef QUEST ... #endif</tt> clauses in the source code, was to produce a variant of the ''Hack'' game called ''Quest''! Then did I postulate that Quest was the ancestor of the [[Gnomish Mines]] (not the modern [[Quest]]), but I have never tested that theory, nor have I attempted to build Quest (for OpenBSD builds only Hack), plus I knew not why OpenBSD apparently included a Quest [[patch]] in Hack, nor even if I have all of the Quest source or not.
 +
 +
Sometime in or after July of 2006, when [[User:Ray Chason|Ray Chason]] added articles like [[Hack 1.0.2]] and [[Hack 1.0.3]] to Wikihack, then I became interested again in Hack. By way of [http://homepages.cwi.nl/~aeb/games/hack/hack.html Andries Brouwer's Hack page] did I learn that Quest used a separate level generator called <tt>quest.mklev.c</tt>. (But my copy of Hack 1.0.3 has no file of that name.) I also peeked at the original sources, because OpenBSD (which imported the sources from [[NetBSD]]) had made maintainence changes to Hack as recently as 2003. Hack 1.0.3 was only an ed script against Hack 1.0.2, but I was surprised to see <tt>#ifdef QUEST ... #endif</tt> clauses in the old copies of Hack 1.0.2 that I saw.
 +
 +
I knew nothing about "NetQuest" before Jayt just now uncovered it. However, if old copies of Hack 1.0.2 included Quest, then [[Mike Stephenson]] et. al. might have inherited it when creating NetHack. As Hack became NetHack, so Quest would become NetQuest. Then I have to wonder if there are actually other <tt>#ifdef QUEST ... #endif</tt> clauses in early NetHack, or if the remnant that Jayt now found is the only such clause. --[[User:Kernigh|Kernigh]] 02:45, 15 September 2006 (UTC)
  
 
==Source code references==
 
==Source code references==
  
 
<references/>
 
<references/>

Revision as of 02:45, 15 September 2006

The early Devs seem to have briefly flirted with the idea of calling the game NetQuest if QUEST is defined [1]. This code appears from 1.3d to 2.3e. Does anyone know more about this? --Jayt 00:02, 15 September 2006 (UTC)


Kernigh writes: I am almost certain that this is a reference to game called "Quest". Now in late 2005 or early 2006, while browsing my own copy of the source code to OpenBSD 3.8, I came across the /usr/src/games/hack directory containing Hack 1.0.3 as shipped with OpenBSD. (You can browse it in OpenBSD CVS.) In the README is written, "(For a game with the same structure but entirely different display - a real cave instead of dull rectangles - try Quest)." Then I noticed a file called "Makequest". It seemed to me that the intent of this file, along with several #ifdef QUEST ... #endif clauses in the source code, was to produce a variant of the Hack game called Quest! Then did I postulate that Quest was the ancestor of the Gnomish Mines (not the modern Quest), but I have never tested that theory, nor have I attempted to build Quest (for OpenBSD builds only Hack), plus I knew not why OpenBSD apparently included a Quest patch in Hack, nor even if I have all of the Quest source or not.

Sometime in or after July of 2006, when Ray Chason added articles like Hack 1.0.2 and Hack 1.0.3 to Wikihack, then I became interested again in Hack. By way of Andries Brouwer's Hack page did I learn that Quest used a separate level generator called quest.mklev.c. (But my copy of Hack 1.0.3 has no file of that name.) I also peeked at the original sources, because OpenBSD (which imported the sources from NetBSD) had made maintainence changes to Hack as recently as 2003. Hack 1.0.3 was only an ed script against Hack 1.0.2, but I was surprised to see #ifdef QUEST ... #endif clauses in the old copies of Hack 1.0.2 that I saw.

I knew nothing about "NetQuest" before Jayt just now uncovered it. However, if old copies of Hack 1.0.2 included Quest, then Mike Stephenson et. al. might have inherited it when creating NetHack. As Hack became NetHack, so Quest would become NetQuest. Then I have to wonder if there are actually other #ifdef QUEST ... #endif clauses in early NetHack, or if the remnant that Jayt now found is the only such clause. --Kernigh 02:45, 15 September 2006 (UTC)

Source code references