Difference between revisions of "Source code"

From NetHackWiki
Jump to navigation Jump to search
(Mark this page {{nethack-367}}, because it needs updating every time there is a release. And it can't slide into historical, because many pages point to this and say "for the latest release, see Source code".)
(Most source files are marked up with line numbers. See NetHackWiki:Source file line numbers. -- mention this once here, referring to one page, so 3000 source files don't have fragile instructions about it.)
Line 3: Line 3:
  
 
NetHackWiki provides an annotated version of the NetHack 3.6.1 source code. The original source code is distributed under the [[Project:NetHack General Public License|NetHack General Public License]]; our annotations use the [[GNU Free Documentation License]]. Read [[Project:Copyrights]] for detailed copyright information.
 
NetHackWiki provides an annotated version of the NetHack 3.6.1 source code. The original source code is distributed under the [[Project:NetHack General Public License|NetHack General Public License]]; our annotations use the [[GNU Free Documentation License]]. Read [[Project:Copyrights]] for detailed copyright information.
 +
 +
Most source files are marked up with line numbers. See [[NetHackWiki:Source file line numbers]].
  
 
Here at [[NetHackWiki:About|NetHackWiki]], anyone, including you, can annotate the source code. You can get an overview of the sources by reading the [[Beginner's_guide_to_NetHack_sources|Beginner's Guide To NetHack Sources]] or just [[Source diving|dive]] in!
 
Here at [[NetHackWiki:About|NetHackWiki]], anyone, including you, can annotate the source code. You can get an overview of the sources by reading the [[Beginner's_guide_to_NetHack_sources|Beginner's Guide To NetHack Sources]] or just [[Source diving|dive]] in!

Revision as of 17:59, 29 June 2024

Source code is the code of a program that is not yet compiled into an OS-usable binary. NetHack is programmed in C, a portable language that compiles on many systems. The NetHack programmers, the DevTeam, are a dedicated but conservative bunch, releasing new versions very infrequently. The latest NetHack sources are available at (https://www.nethack.org/v367/download-src.html). Earlier versions are available at (https://www.nethack.org/common/index.html).

NetHackWiki provides an annotated version of the NetHack 3.6.1 source code. The original source code is distributed under the NetHack General Public License; our annotations use the GNU Free Documentation License. Read Project:Copyrights for detailed copyright information.

Most source files are marked up with line numbers. See NetHackWiki:Source file line numbers.

Here at NetHackWiki, anyone, including you, can annotate the source code. You can get an overview of the sources by reading the Beginner's Guide To NetHack Sources or just dive in!

An indicator like "(20% annotated)" indicates that someone has documented about 20% of the code for that file. All others are not yet annotated. (Please help!)


nethack-3.6.1/include


nethack-3.6.1/dat

nethack-3.6.1/src

Other files

SLASH'EM

See SLASH'EM_0.0.7E7F2_source_code.