Difference between revisions of "Definition"

From NetHackWiki
Jump to navigation Jump to search
m (Capitalization)
Line 1: Line 1:
 
In the [[source code]], a '''definition''' is a [[Wikipedia:C preprocessor|C preprocessor]] directive which tells the compiler whether or not to compile in a certain set of features.
 
In the [[source code]], a '''definition''' is a [[Wikipedia:C preprocessor|C preprocessor]] directive which tells the compiler whether or not to compile in a certain set of features.
  
In [[Config.h]], the following definitions are enabled by default, but are apparently considered optional: SINKS, WALLIFIED_MAZE, REINCARNATION, KOPS, SEDUCE, STEED, TOURIST, ELBERETH, REDO, and CLIPPING.
+
In [[config.h]], the following definitions are enabled by default, but are apparently considered optional: SINKS, WALLIFIED_MAZE, REINCARNATION, KOPS, SEDUCE, STEED, TOURIST, ELBERETH, REDO, and CLIPPING.
  
 
{{stub|A lot more could be said about these.}}
 
{{stub|A lot more could be said about these.}}
  
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 04:10, 18 October 2012

In the source code, a definition is a C preprocessor directive which tells the compiler whether or not to compile in a certain set of features.

In config.h, the following definitions are enabled by default, but are apparently considered optional: SINKS, WALLIFIED_MAZE, REINCARNATION, KOPS, SEDUCE, STEED, TOURIST, ELBERETH, REDO, and CLIPPING.

This page is a stub. Should you wish to do so, you can contribute by expanding this page.

A user has suggested improving this page or section as follows:

"A lot more could be said about these."