Source:NetHack 3.4.3/include/beconf.h

From NetHackWiki
Jump to: navigation, search

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

  1. /*	SCCS Id: @(#)beconf.h	3.4	1998/07/08	*/
  2. /* Copyright (c) Dean Luick 1996.	*/
  3. /* NetHack may be freely redistributed.  See license for details. */

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.

  1. /* Configuration for Be Inc.'s BeOS */
  2.  
  3. #ifndef BECONF_H
  4. #define BECONF_H
  5.  
  6. /*
  7. * We must use UNWIDENED_PROTOTYPES because we mix C++ and C.
  8. */
  9.  
  10. #define index strchr
  11. #define rindex strrchr
  12. #define Rand rand	/* Be should have a better rand function! */
  13. #define tgetch getchar
  14. #define FCMASK 0666
  15. #define PORT_ID "BeOS"
  16. #define TEXTCOLOR
  17. #define POSIX_TYPES
  18. #define SIG_RET_TYPE __signal_func_ptr
  19.  
  20. #include <time.h>	/* for time_t */
  21. #include <unistd.h>	/* for lseek() */
  22.  
  23. /* could go in extern.h, under bemain.c (or something..) */
  24. void regularize(char *);
  25.  
  26.  
  27. /* instead of including system.h... */
  28. #include <string.h>
  29. #include <stdlib.h>
  30. #include <termcap.h>
  31.  
  32. #endif /* BECONF_H */