Source:NetHack 3.4.3/include/beconf.h

From NetHackWiki
Revision as of 19:17, 31 January 2011 by Paxedbot (talk | contribs) (moved Source:Beconf.h to Source:NetHack 3.4.3/include/beconf.h: Moving src to subdirs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.

/*	SCCS Id: @(#)beconf.h	3.4	1998/07/08	*/
/* Copyright (c) Dean Luick 1996.	*/
/* 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.

/* Configuration for Be Inc.'s BeOS */

#ifndef BECONF_H
#define BECONF_H

/*
* We must use UNWIDENED_PROTOTYPES because we mix C++ and C.
*/

#define index strchr
#define rindex strrchr
#define Rand rand	/* Be should have a better rand function! */
#define tgetch getchar
#define FCMASK 0666
#define PORT_ID "BeOS"
#define TEXTCOLOR
#define POSIX_TYPES
#define SIG_RET_TYPE __signal_func_ptr

#include <time.h>	/* for time_t */
#include <unistd.h>	/* for lseek() */

/* could go in extern.h, under bemain.c (or something..) */
void regularize(char *);


/* instead of including system.h... */
#include <string.h>
#include <stdlib.h>
#include <termcap.h>

#endif /* BECONF_H */