#include <string.h>#include <sys/types.h>#include <stdlib.h>#include <time.h>#include <fcntl.h>#include <io.h>#include <direct.h>#include <conio.h>
Go to the source code of this file.
Defines | |
| #define | RANDOM |
| #define | TEXTCOLOR |
| #define | EXEPATH |
| #define | TRADITIONAL_GLYPHMAP |
| #define | PC_LOCKING |
| #define | HOLD_LOCKFILE_OPEN |
| #define | SELF_RECOVER |
| #define | NOCWD_ASSUMPTIONS |
| #define | NO_TERMS |
| #define | ASCIIGRAPH |
| #define | OPTIONS_USED "options" |
| #define | OPTIONS_FILE OPTIONS_USED |
| #define | PORT_HELP "porthelp" |
| #define | INTERJECT_PANIC 0 |
| #define | INTERJECTION_TYPES (INTERJECT_PANIC + 1) |
| #define | PATHLEN BUFSZ |
| #define | FILENAME BUFSZ |
| #define | NO_SIGNAL |
| #define | index strchr |
| #define | rindex strrchr |
| #define | USE_STDARG |
| #define | Rand() rand() |
| #define | FCMASK 0660 |
| #define | regularize nt_regularize |
| #define | HLOCK "NHPERM" |
| #define | M(c) ((char) (0x80 | (c))) |
| #define | C(c) (0x1f & (c)) |
| #define | ABORT C('a') |
| #define | getuid() 1 |
| #define | getlogin() ((char *)0) |
| #define | kbhit (*nt_kbhit) |
| #define | ALLOCA_HACK |
| #define | Getchar nhgetch |
Functions | |
| void | FDECL (interject_assistance,(int, int, genericptr_t, genericptr_t)) |
| void | FDECL (interject,(int)) |
| void | NDECL (win32_abort) |
| int | FDECL (set_win32_option,(const char *, const char *)) |
Variables | |
| const char * | alllevels |
| const char * | allbones |
| char | hackdir [] |
| #define ABORT C('a') |
| #define ALLOCA_HACK |
| #define ASCIIGRAPH |
Referenced by parseoptions().
| #define C | ( | c ) | (0x1f & (c)) |
| #define EXEPATH |
| #define FCMASK 0660 |
| #define FILENAME BUFSZ |
Referenced by set_savefile_name().
| #define Getchar nhgetch |
Referenced by moveloop(), and readchar().
| #define getlogin | ( | ) | ((char *)0) |
| #define getuid | ( | ) | 1 |
Referenced by create_savefile(), get_saved_games(), prscore(), restgamestate(), savegamestate(), set_savefile_name(), and topten().
| #define HLOCK "NHPERM" |
| #define HOLD_LOCKFILE_OPEN |
| #define index strchr |
| #define INTERJECT_PANIC 0 |
Referenced by init_dungeons().
| #define INTERJECTION_TYPES (INTERJECT_PANIC + 1) |
| #define kbhit (*nt_kbhit) |
Referenced by moveloop().
| #define M | ( | c ) | ((char) (0x80 | (c))) |
| #define NO_SIGNAL |
| #define NO_TERMS |
| #define NOCWD_ASSUMPTIONS |
| #define OPTIONS_FILE OPTIONS_USED |
| #define OPTIONS_USED "options" |
| #define PATHLEN BUFSZ |
Referenced by check_recordfile(), parse_config_line(), read_config_file(), and set_savefile_name().
| #define PC_LOCKING |
| #define PORT_HELP "porthelp" |
| #define Rand | ( | ) | rand() |
| #define RANDOM |
| #define regularize nt_regularize |
| #define rindex strrchr |
| #define SELF_RECOVER |
| #define TEXTCOLOR |
| #define TRADITIONAL_GLYPHMAP |
| #define USE_STDARG |
| void FDECL | ( | interject_assistance | , |
| (int, int, genericptr_t, genericptr_t) | |||
| ) |
| int FDECL | ( | set_win32_option | , |
| (const char *, const char *) | |||
| ) |
| void FDECL | ( | interject | , |
| (int) | |||
| ) |
| void NDECL | ( | win32_abort | ) |
| const char * allbones |
| const char* alllevels |
| char hackdir[] |
1.7.2