abstract
| - Below is the full text to src/vis_tab.c from NetHack 3.4.3, as generated when the VISION_TABLES symbol is enabled at compile time. To link to a particular line, write [[vis_tab.c (long form)#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" #ifndef FAR_TABLE_ONLY close2d close_table[CLOSE_MAX_SB_DY] = { /* DY = 1 (- 1)*/ , /* DY = 2 (- 1)*/ , /* DY = 3 (- 1)*/ , /* DY = 4 (- 1)*/ , /* DY = 5 (- 1)*/ , /* DY = 6 (- 1)*/ , /* DY = 7 (- 1)*/ , /* DY = 8 (- 1)*/ , /* DY = 9 (- 1)*/ , /* DY = 10 (- 1)*/ , /* DY = 11 (- 1)*/ , /* DY = 12 (- 1)*/ , /* DY = 13 (- 1)*/ , /* DY = 14 (- 1)*/ , /* DY = 15 (- 1)*/ , /* DY = 16 (- 1)*/ , /* DY = 17 (- 1)*/ , /* DY = 18 (- 1)*/ , /* DY = 19 (- 1)*/ , /* DY = 20 (- 1)*/ , }; /* close_table[] */ #endif /* !FAR_TABLE_ONLY */ #ifndef CLOSE_TABLE_ONLY far2d far_table[FAR_MAX_SB_DY] = { /* DY = 0 */ , /* DY = 1 */ , /* DY = 2 */ , /* DY = 3 */ , /* DY = 4 */ , /* DY = 5 */ , /* DY = 6 */ , /* DY = 7 */ , /* DY = 8 */ , /* DY = 9 */ , /* DY = 10 */ , /* DY = 11 */ , /* DY = 12 */ , /* DY = 13 */ , /* DY = 14 */ , /* DY = 15 */ , /* DY = 16 */ , /* DY = 17 */ , /* DY = 18 */ , /* DY = 19 */ , /* DY = 20 */ , }; /* far_table[] */ #endif /* !CLOSE_TABLE_ONLY */ void vis_tab_init() { return; } #endif /* VISION_TABLES */ /*vis_tab.c*/ If the VISION_TABLES symbol is not defined at compile time, makedefs produces a shorter form of this file.
|