Difference between revisions of "Source code"

From NetHackWiki
Jump to navigation Jump to search
(lede)
(lede)
 
(No difference)

Latest revision as of 20:31, 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 that can be directly linked to - 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!

Files that are annotated should have an indicator, e.g. "(20% annotated)", that displays how much of the code is documented for that file - anyone that is capable and willing to help along the process should do so when they can. We at NetHackWiki appreciate your efforts!


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.