Difference between revisions of "Source:Vis tab.c"

From NetHackWiki
Jump to navigation Jump to search
m (Adding __MIXEDSYNTAXHIGHLIGHT__)
m (remove redlinks)
 
Line 13: Line 13:
 
  <span id="line8">8.    /*vis_tab.c*/</span>
 
  <span id="line8">8.    /*vis_tab.c*/</span>
  
If the [[config.h#line290|VISION_TABLES symbol]] is defined at compile time, [[makedefs.c|makedefs]] produces [[Vis_tab.c (long form)|a longer form of this file]].
+
If the [[config.h#line290|VISION_TABLES symbol]] is defined at compile time, [[makedefs]] produces [[Vis_tab.c (long form)|a longer form of this file]].
  
 
{{NGPL}}
 
{{NGPL}}
  
 
[[Category:Source code]]
 
[[Category:Source code]]

Latest revision as of 05:07, 12 March 2020

Below is the full text to src/vis_tab.c from NetHack 3.4.3. To link to a particular line, write [[vis_tab.c#line123]], for example.

/* This source file is generated by 'makedefs'.  Do not edit. */

A clean distribution of NetHack does not include this file. It is generated at compile time.

#include "config.h"
#ifdef VISION_TABLES
#include "vis_tab.h"

#endif /* VISION_TABLES */

/*vis_tab.c*/

If the VISION_TABLES symbol is defined at compile time, makedefs produces a longer form of this file.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.