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

From NetHackWiki
Jump to navigation Jump to search
(Created page with "__MIXEDSYNTAXHIGHLIGHT__ Below is the full text to '''micro.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 micro.h $NHDT-Date: 1432512781 2015/05/25 00:13:01 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */</span>
+
  <span id="line1">1. /* NetHack 3.6 micro.h $NHDT-Date: 1432512781 2015/05/25 00:13:01 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */</span>
  <span id="line2">2.   /* micro.h - function declarations for various microcomputers */</span>
+
  <span id="line2">2. /* micro.h - function declarations for various microcomputers */</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 MICRO_H</span>
+
  <span id="line5">5. #ifndef MICRO_H</span>
  <span id="line6">6.   #define MICRO_H</span>
+
  <span id="line6">6. #define MICRO_H</span>
  <span id="line7">7.   </span>
+
  <span id="line7">7. </span>
  <span id="line8">8.   extern const char *alllevels, *allbones;</span>
+
  <span id="line8">8. extern const char *alllevels, *allbones;</span>
  <span id="line9">9.   extern char levels[], bones[], permbones[], hackdir[];</span>
+
  <span id="line9">9. extern char levels[], bones[], permbones[], hackdir[];</span>
  <span id="line10">10.   </span>
+
  <span id="line10">10. </span>
  <span id="line11">11.   extern int ramdisk;</span>
+
  <span id="line11">11. extern int ramdisk;</span>
  <span id="line12">12.   </span>
+
  <span id="line12">12. </span>
  <span id="line13">13.   #ifndef C</span>
+
  <span id="line13">13. #ifndef C</span>
  <span id="line14">14.   #define C(c) (0x1f & (c))</span>
+
  <span id="line14">14. #define C(c) (0x1f & (c))</span>
  <span id="line15">15.   #endif</span>
+
  <span id="line15">15. #endif</span>
  <span id="line16">16.   #ifndef M</span>
+
  <span id="line16">16. #ifndef M</span>
  <span id="line17">17.   #define M(c) (((char) 0x80) | (c))</span>
+
  <span id="line17">17. #define M(c) (((char) 0x80) | (c))</span>
  <span id="line18">18.   #endif</span>
+
  <span id="line18">18. #endif</span>
  <span id="line19">19.   #define ABORT C('a')</span>
+
  <span id="line19">19. #define ABORT C('a')</span>
  <span id="line20">20.   </span>
+
  <span id="line20">20. </span>
  <span id="line21">21.   #endif /* MICRO_H */</span>
+
  <span id="line21">21. #endif /* MICRO_H */</span>
 
[[Category:NetHack 3.6.0 source code|include/micro.h]]
 
[[Category:NetHack 3.6.0 source code|include/micro.h]]

Latest revision as of 13:30, 15 December 2015

Below is the full text to micro.h from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/include/micro.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	micro.h	$NHDT-Date: 1432512781 2015/05/25 00:13:01 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */
 /* micro.h - function declarations for various microcomputers */
 /* NetHack may be freely redistributed.  See license for details. */
 
 #ifndef MICRO_H
 #define MICRO_H
 
 extern const char *alllevels, *allbones;
 extern char levels[], bones[], permbones[], hackdir[];
 
 extern int ramdisk;
 
 #ifndef C
 #define C(c) (0x1f & (c))
 #endif
 #ifndef M
 #define M(c) (((char) 0x80) | (c))
 #endif
 #define ABORT C('a')
 
 #endif /* MICRO_H */