mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2024-11-21 16:55:06 +00:00
Ron Nazarov
774c4d5dca
Always enabled: DLBLIB, CHDIR Removed: UMAC, PYRAMID_BUG, MAC_GRAPHICS_ENV, AMIGA, TOS, AMII_GRAPHICS, GEM_GRAPHICS, BEOS_GRAPHICS, __BEOS__, QT_GRAPHICS, GNOME_GRAPHICS, MSWIN_GRAPHICS, X11_GRAPHICS, WIN32, WIN_CE, WIN32CON, VMS, MICRO, MFLOPPY, __EMX__, __DJGPP__, __MWERKS__, __MSDOS__, MSDOS, OS2_HPFS, GNUDOS, AMIGA_WBENCH, OS2, apollo, _WIN32, __SASC_60, mac, macintosh, WIN32_GRAPHICS, __GO32__, __BORLANDC__, ANCIENT_VAXC, __TURBOC__, __SASC, AMIGA_INTUITION, AZTEC, AZTEC_C, AZTEC_50, AZTEC_36, PC9800, _DCC, DCC30_BUG, MICROPORT_BUG, GCC_BUG, MICROPORT_BUG, BSD_43_BUG, MICROPORT_286_BUG, AMIFLUSH, THINKC4, SCREEN_VGA, SCREEN_DJGPPFAST, SCREEN_8514, __DECC, THINK_C, __SC__, PC_LOCKING, STUPID, VIDEOSHADES, _MSC_VER, OS2_CSET2, OS2_CSET2_VER_1, OS2_CSET2_VER_2, DUMB, AIXPS2_BUG, UNIX386MUSIC, VPIX_MUSIC Also remove include/winami.h because I forgot to earlier. coan2 doesn't remove unnecessary empty lines around where the ifdef used to be. I removed them manually in some places, but there are probably still lots left. Also, the indentation of preprocessor directives in some places is probably wrong.
35 lines
827 B
C
35 lines
827 B
C
/* SCCS Id: @(#)nhlan.h 3.4 1997/04/12 */
|
|
/* Copyright (c) Michael Allison, 1997 */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef NHLAN_H
|
|
#define NHLAN_H
|
|
/*
|
|
* Here are the LAN features currently implemented:
|
|
* LAN_MAIL Mail facility allowing receipt and
|
|
* reading of mail.
|
|
* LAN_SHARED_BONES Allows bones files to be stored on a
|
|
* network share. (Does NOT imply compatibiliy
|
|
* between unlike platforms)
|
|
*/
|
|
|
|
# ifdef LAN_FEATURES
|
|
# ifdef LAN_MAIL
|
|
#define MAIL
|
|
#define MAILCKFREQ 50
|
|
|
|
#ifndef MAX_BODY_SIZE
|
|
#define MAX_BODY_SIZE 1024
|
|
#endif
|
|
|
|
struct lan_mail_struct {
|
|
char sender[120];
|
|
char subject[120];
|
|
boolean body_in_ram; /* TRUE means body in memory not file */
|
|
char filename[_MAX_PATH];
|
|
char body[MAX_BODY_SIZE];
|
|
};
|
|
# endif
|
|
|
|
# endif /*LAN_FEATURES*/
|
|
#endif /*NHLAN_H*/
|