FAR
u.ux = FAR; /* hack */
gx = gy = FAR; /* random, far away */
if(gx == FAR || (gx == omx && gy == omy)){
u.ux = FAR; /* prevent nscr() */
if(u.uswallow || u.ux == FAR || flags.nscrinh) return;
local z_crc_t FAR x2n_table[32];
local z_crc_t FAR crc_table[256];
local z_word_t FAR crc_big_table[256];
local z_crc_t FAR crc_braid_table[W][256];
local z_word_t FAR crc_braid_big_table[W][256];
local void write_table(FILE *, const z_crc_t FAR *, int);
local void write_table32hi(FILE *, const z_word_t FAR *, int);
local void write_table64(FILE *, const z_word_t FAR *, int);
local void write_table(FILE *out, const z_crc_t FAR *table, int k) {
local void write_table32hi(FILE *out, const z_word_t FAR *table, int k) {
local void write_table64(FILE *out, const z_word_t FAR *table, int k) {
const z_crc_t FAR * ZEXPORT get_crc_table(void) {
return (const z_crc_t FAR *)crc_table;
uLong ZEXPORT crc32_z(uLong crc, const unsigned char FAR *buf, z_size_t len) {
buf = (const unsigned char FAR *)word;
uLong ZEXPORT crc32_z(uLong crc, const unsigned char FAR *buf, z_size_t len) {
uLong ZEXPORT crc32(uLong crc, const unsigned char FAR *buf, uInt len) {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_big_table[] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_crc_t FAR crc_table[] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_word_t FAR crc_big_table[] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR x2n_table[] = {
dest->state = (struct internal_state FAR *) ds;
strm->state = (struct internal_state FAR *)s;
} FAR deflate_state;
} FAR ct_data;
} FAR tree_desc;
typedef Pos FAR Posf;
typedef gz_state FAR *gz_statep;
int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc,
out_func out, void FAR *out_desc) {
struct inflate_state FAR *state;
z_const unsigned char FAR *next; /* next input */
unsigned char FAR *put; /* next output */
unsigned char FAR *from; /* where to copy match bytes from */
state = (struct inflate_state FAR *)strm->state;
unsigned char FAR *window, const char *version,
struct inflate_state FAR *state;
state->lencode = (code const FAR *)(state->next);
state->lencode = (code const FAR *)(state->next);
state->distcode = (code const FAR *)(state->next);
state = (struct inflate_state FAR *)ZALLOC(strm, 1,
strm->state = (struct internal_state FAR *)state;
struct inflate_state FAR *state;
z_const unsigned char FAR *in; /* local strm->next_in */
z_const unsigned char FAR *last; /* have enough input while in < last */
unsigned char FAR *out; /* local strm->next_out */
unsigned char FAR *beg; /* inflate()'s initial strm->next_out */
unsigned char FAR *end; /* while out < end, enough space available */
unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
code const FAR *lcode; /* local strm->lencode */
code const FAR *dcode; /* local strm->distcode */
unsigned char FAR *from; /* where to copy match from */
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
local unsigned syncsearch(unsigned FAR *have, const unsigned char FAR *buf,
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
struct inflate_state FAR *copy;
unsigned char FAR *window;
state = (struct inflate_state FAR *)strm->state;
state = (struct inflate_state FAR *)source->state;
copy = (struct inflate_state FAR *)
window = (unsigned char FAR *)
dest->state = (struct internal_state FAR *)copy;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)
strm->state = (struct internal_state FAR *)state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
state->window = (unsigned char FAR *)
struct inflate_state FAR *state;
z_const unsigned char FAR *next; /* next input */
unsigned char FAR *put; /* next output */
unsigned char FAR *from; /* where to copy match bytes from */
state = (struct inflate_state FAR *)strm->state;
state->lencode = state->distcode = (const code FAR *)(state->next);
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
state->lencode = (const code FAR *)(state->next);
state->distcode = (const code FAR *)(state->next);
unsigned char FAR *window; /* allocated sliding window, if needed */
code const FAR *lencode; /* starting table for length/literal codes */
code const FAR *distcode; /* starting table for distance codes */
code FAR *next; /* next available space in codes[] */
void inflate_fixed(struct inflate_state FAR *state) {
int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
unsigned codes, code FAR * FAR *table,
unsigned FAR *bits, unsigned short FAR *work) {
code FAR *next; /* next available space in table */
const unsigned short FAR *base = NULL; /* base value table to use */
const unsigned short FAR *extra = NULL; /* extra bits table to use */
int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
unsigned codes, code FAR * FAR *table,
unsigned FAR *bits, unsigned short FAR *work);
void ZLIB_INTERNAL inflate_fixed(struct inflate_state FAR *state);
# ifdef FAR
# define ZEXPORTVA FAR CDECL
#ifndef FAR
# define Bytef Byte FAR
typedef Byte FAR Bytef;
typedef char FAR charf;
typedef int FAR intf;
typedef uInt FAR uIntf;
typedef uLong FAR uLongf;
typedef void FAR *voidpf;
typedef Byte FAR *voidpf;
struct internal_state FAR *state; /* not visible by applications */
typedef z_stream FAR *z_streamp;
typedef unsigned (*in_func)(void FAR *,
z_const unsigned char FAR * FAR *);
typedef int (*out_func)(void FAR *, unsigned char FAR *, unsigned);
in_func in, void FAR *in_desc,
out_func out, void FAR *out_desc);
typedef gz_header FAR *gz_headerp;
unsigned char FAR *window,
ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table(void);
void ZLIB_INTERNAL zmemcpy(void FAR *dst, const void FAR *src, z_size_t n) {
int ZLIB_INTERNAL zmemcmp(const void FAR *s1, const void FAR *s2, z_size_t n) {
void ZLIB_INTERNAL zmemzero(void FAR *b, z_size_t len) {
void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t);
int ZLIB_INTERNAL zmemcmp(const void FAR *, const void FAR *, z_size_t);
void ZLIB_INTERNAL zmemzero(void FAR *, z_size_t);
typedef uch FAR uchf;
typedef ush FAR ushf;
local z_crc_t FAR x2n_table[32];
local z_crc_t FAR crc_table[256];
local z_word_t FAR crc_big_table[256];
local z_crc_t FAR crc_braid_table[W][256];
local z_word_t FAR crc_braid_big_table[W][256];
local void write_table(FILE *, const z_crc_t FAR *, int);
local void write_table32hi(FILE *, const z_word_t FAR *, int);
local void write_table64(FILE *, const z_word_t FAR *, int);
local void write_table(FILE *out, const z_crc_t FAR *table, int k) {
local void write_table32hi(FILE *out, const z_word_t FAR *table, int k) {
local void write_table64(FILE *out, const z_word_t FAR *table, int k) {
const z_crc_t FAR * ZEXPORT get_crc_table(void) {
return (const z_crc_t FAR *)crc_table;
uLong ZEXPORT crc32_z(uLong crc, const unsigned char FAR *buf, z_size_t len) {
buf = (const unsigned char FAR *)word;
uLong ZEXPORT crc32_z(uLong crc, const unsigned char FAR *buf, z_size_t len) {
uLong ZEXPORT crc32(uLong crc, const unsigned char FAR *buf, uInt len) {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_big_table[] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_crc_t FAR crc_table[] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_word_t FAR crc_big_table[] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR crc_braid_table[][256] = {
local const z_word_t FAR crc_braid_big_table[][256] = {
local const z_crc_t FAR x2n_table[] = {
dest->state = (struct internal_state FAR *) ds;
strm->state = (struct internal_state FAR *)s;
} FAR deflate_state;
} FAR ct_data;
} FAR tree_desc;
typedef Pos FAR Posf;
int ZEXPORT inflateBack(z_streamp strm, in_func in, void FAR *in_desc,
out_func out, void FAR *out_desc) {
struct inflate_state FAR *state;
z_const unsigned char FAR *next; /* next input */
unsigned char FAR *put; /* next output */
unsigned char FAR *from; /* where to copy match bytes from */
state = (struct inflate_state FAR *)strm->state;
unsigned char FAR *window, const char *version,
struct inflate_state FAR *state;
state->lencode = (code const FAR *)(state->next);
state->lencode = (code const FAR *)(state->next);
state->distcode = (code const FAR *)(state->next);
state = (struct inflate_state FAR *)ZALLOC(strm, 1,
strm->state = (struct internal_state FAR *)state;
struct inflate_state FAR *state;
z_const unsigned char FAR *in; /* local strm->next_in */
z_const unsigned char FAR *last; /* have enough input while in < last */
unsigned char FAR *out; /* local strm->next_out */
unsigned char FAR *beg; /* inflate()'s initial strm->next_out */
unsigned char FAR *end; /* while out < end, enough space available */
unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
code const FAR *lcode; /* local strm->lencode */
code const FAR *dcode; /* local strm->distcode */
unsigned char FAR *from; /* where to copy match from */
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
local unsigned syncsearch(unsigned FAR *have, const unsigned char FAR *buf,
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
struct inflate_state FAR *copy;
unsigned char FAR *window;
state = (struct inflate_state FAR *)strm->state;
state = (struct inflate_state FAR *)source->state;
copy = (struct inflate_state FAR *)
window = (unsigned char FAR *)
dest->state = (struct internal_state FAR *)copy;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)
strm->state = (struct internal_state FAR *)state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
state->window = (unsigned char FAR *)
struct inflate_state FAR *state;
z_const unsigned char FAR *next; /* next input */
unsigned char FAR *put; /* next output */
unsigned char FAR *from; /* where to copy match bytes from */
state = (struct inflate_state FAR *)strm->state;
state->lencode = state->distcode = (const code FAR *)(state->next);
struct inflate_state FAR *state;
state = (struct inflate_state FAR *)strm->state;
state->lencode = (const code FAR *)(state->next);
state->distcode = (const code FAR *)(state->next);
unsigned char FAR *window; /* allocated sliding window, if needed */
code const FAR *lencode; /* starting table for length/literal codes */
code const FAR *distcode; /* starting table for distance codes */
code FAR *next; /* next available space in codes[] */
void inflate_fixed(struct inflate_state FAR *state) {
int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
unsigned codes, code FAR * FAR *table,
unsigned FAR *bits, unsigned short FAR *work) {
code FAR *next; /* next available space in table */
const unsigned short FAR *base = NULL; /* base value table to use */
const unsigned short FAR *extra = NULL; /* extra bits table to use */
int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens,
unsigned codes, code FAR * FAR *table,
unsigned FAR *bits, unsigned short FAR *work);
void ZLIB_INTERNAL inflate_fixed(struct inflate_state FAR *state);
# ifdef FAR
# define ZEXPORTVA FAR CDECL
#ifndef FAR
# define Bytef Byte FAR
typedef Byte FAR Bytef;
typedef char FAR charf;
typedef int FAR intf;
typedef uInt FAR uIntf;
typedef uLong FAR uLongf;
typedef void FAR *voidpf;
typedef Byte FAR *voidpf;
struct internal_state FAR *state; /* not visible by applications */
typedef z_stream FAR *z_streamp;
typedef unsigned (*in_func)(void FAR *,
z_const unsigned char FAR * FAR *);
typedef int (*out_func)(void FAR *, unsigned char FAR *, unsigned);
in_func in, void FAR *in_desc,
out_func out, void FAR *out_desc);
typedef gz_header FAR *gz_headerp;
unsigned char FAR *window,
ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table(void);
void ZLIB_INTERNAL zmemcpy(void FAR *dst, const void FAR *src, z_size_t n) {
int ZLIB_INTERNAL zmemcmp(const void FAR *s1, const void FAR *s2, z_size_t n) {
void ZLIB_INTERNAL zmemzero(void FAR *b, z_size_t len) {
void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t);
int ZLIB_INTERNAL zmemcmp(const void FAR *, const void FAR *, z_size_t);
void ZLIB_INTERNAL zmemzero(void FAR *, z_size_t);
typedef uch FAR uchf;
typedef ush FAR ushf;