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

From NetHackWiki
Jump to navigation Jump to search
(Created page with "__MIXEDSYNTAXHIGHLIGHT__ Below is the full text to '''rect.h''' from the source code of NetHack 3.6.0. To link to a particular line, write ...")
 
 
Line 3: Line 3:
  
 
{{NGPL}}
 
{{NGPL}}
  <span id="line1">1.   /* NetHack 3.6 rect.h $NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.8 $ */</span>
+
  <span id="line1">1. /* NetHack 3.6 rect.h $NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.8 $ */</span>
  <span id="line2">2.   /* Copyright (c) 1990 by Jean-Christophe Collet   */</span>
+
  <span id="line2">2. /* Copyright (c) 1990 by Jean-Christophe Collet   */</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 RECT_H</span>
+
  <span id="line5">5. #ifndef RECT_H</span>
  <span id="line6">6.   #define RECT_H</span>
+
  <span id="line6">6. #define RECT_H</span>
  <span id="line7">7.   </span>
+
  <span id="line7">7. </span>
  <span id="line8">8.   typedef struct nhrect {</span>
+
  <span id="line8">8. typedef struct nhrect {</span>
  <span id="line9">9.       xchar lx, ly;</span>
+
  <span id="line9">9.     xchar lx, ly;</span>
  <span id="line10">10.       xchar hx, hy;</span>
+
  <span id="line10">10.     xchar hx, hy;</span>
  <span id="line11">11.   } NhRect;</span>
+
  <span id="line11">11. } NhRect;</span>
  <span id="line12">12.   </span>
+
  <span id="line12">12. </span>
  <span id="line13">13.   #endif /* RECT_H */</span>
+
  <span id="line13">13. #endif /* RECT_H */</span>
 
[[Category:NetHack 3.6.0 source code|include/rect.h]]
 
[[Category:NetHack 3.6.0 source code|include/rect.h]]

Latest revision as of 13:40, 15 December 2015

Below is the full text to rect.h from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/include/rect.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	rect.h	$NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.8 $ */
 /* Copyright (c) 1990 by Jean-Christophe Collet			  */
 /* NetHack may be freely redistributed.  See license for details. */
 
 #ifndef RECT_H
 #define RECT_H
 
 typedef struct nhrect {
     xchar lx, ly;
     xchar hx, hy;
 } NhRect;
 
 #endif /* RECT_H */