Source code

From NetHackWiki
Jump to: navigation, search
Source code
1.0 - 1.3d - 1.4f - 2.2a - 2.3e - 3.0.0 - 3.1.0 - 3.2.0 - 3.3.0 - 3.4.0 - 3.4.3 - 3.6.0
Statistics - Source diving - Annotations

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 (http://www.nethack.org/v360/download-src.html). Earlier versions are available at (http://www.nethack.org/common/index.html).

NetHackWiki provides an annotated version of the NetHack 3.6.0 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.

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!)

Note: As of now, automatic function name links redirect to 3.4.3 source functions. A fix in in progress for automatic function citations with Source:Ref to link to 3.6.0 functions. Dizzylizzy (talk) 22:24, 3 January 2016 (UTC)

nethack-3.6.0/include


nethack-3.6.0/dat

nethack-3.6.0/src

Other files

SLASH'EM

See SLASH'EM_0.0.7E7F2_source_code.