Difference between revisions of "Source:NetHack 3.6.0/include/coord.h"

From NetHackWiki
Jump to navigation Jump to search
m
 
Line 3: Line 3:
  
 
{{NGPL}}
 
{{NGPL}}
  <span id="line1">1.  /* NetHack 3.6 coord.h $NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */</span>
+
  <span id="line1">1. /* NetHack 3.6 coord.h $NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */</span>
  <span id="line2">2.  /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */</span>
+
  <span id="line2">2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */</span>
  <span id="line3">3.  /* NetHack may be freely redistributed.  See license for details. */</span>
+
  <span id="line3">3. /* NetHack may be freely redistributed.  See license for details. */</span>
  <span id="line4">4.  </span>
+
  <span id="line4">4. </span>
  <span id="line5">5.  #ifndef COORD_H</span>
+
  <span id="line5">5. #ifndef COORD_H</span>
  <span id="line6">6.  #define COORD_H</span>
+
  <span id="line6">6. #define COORD_H</span>
  <span id="line7">7.  </span>
+
  <span id="line7">7. </span>
  <span id="line8">8.  typedef struct nhcoord {</span>
+
  <span id="line8">8. typedef struct nhcoord {</span>
  <span id="line9">9.      xchar x, y;</span>
+
  <span id="line9">9.    xchar x, y;</span>
  <span id="line10">10.  } coord;</span>
+
  <span id="line10">10. } coord;</span>
  <span id="line11">11.  </span>
+
  <span id="line11">11. </span>
  <span id="line12">12.  #endif /* COORD_H */</span>
+
  <span id="line12">12. #endif /* COORD_H */</span>
 
[[Category:NetHack 3.6.0 source code|src/coord.h]]
 
[[Category:NetHack 3.6.0 source code|src/coord.h]]

Latest revision as of 13:15, 15 December 2015

Below is the full text to coord.h from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/src/coord.h#line123]], for example.

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.

 /* NetHack 3.6	coord.h	$NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
 #ifndef COORD_H
 #define COORD_H
 
 typedef struct nhcoord {
     xchar x, y;
 } coord;
 
 #endif /* COORD_H */