remove SYSFLAGS and MFLOPPY code
A check into github issue 364 confirmed that
ba6edbe5dc
had incorrectly updated the bwrite sizeof entry for sysflags.
The SYSFLAGS and MFLOPPY code is all in the outdated part of the tree, so just
remove it rather than re-correct it.
Closes #364
Closes #207
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 flag.h $NHDT-Date: 1581637124 2020/02/13 23:38:44 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.176 $ */
|
||||
/* NetHack 3.7 flag.h $NHDT-Date: 1593953335 2020/07/05 12:48:55 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.183 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Michael Allison, 2006. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -135,43 +135,6 @@ struct flag {
|
||||
int runmode; /* update screen display during run moves */
|
||||
};
|
||||
|
||||
/*
|
||||
* System-specific flags that are saved with the game if SYSFLAGS is defined.
|
||||
*/
|
||||
|
||||
#if defined(AMIFLUSH) || defined(AMII_GRAPHICS) || defined(OPT_DISPMAP)
|
||||
#define SYSFLAGS
|
||||
#else
|
||||
#if defined(MFLOPPY) || defined(MAC)
|
||||
#define SYSFLAGS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SYSFLAGS
|
||||
struct sysflag {
|
||||
char sysflagsid[10];
|
||||
#ifdef AMIFLUSH
|
||||
boolean altmeta; /* use ALT keys as META */
|
||||
boolean amiflush; /* kill typeahead */
|
||||
#endif
|
||||
#ifdef AMII_GRAPHICS
|
||||
int numcols;
|
||||
unsigned short
|
||||
amii_dripens[20]; /* DrawInfo Pens currently there are 13 in v39 */
|
||||
AMII_COLOR_TYPE amii_curmap[AMII_MAXCOLORS]; /* colormap */
|
||||
#endif
|
||||
#ifdef OPT_DISPMAP
|
||||
boolean fast_map; /* use optimized, less flexible map display */
|
||||
#endif
|
||||
#ifdef MFLOPPY
|
||||
boolean asksavedisk;
|
||||
#endif
|
||||
#ifdef MAC
|
||||
boolean page_wait; /* put up a --More-- after a page of messages */
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Flags that are set each time the game is started.
|
||||
* These are not saved with the game.
|
||||
@@ -289,11 +252,6 @@ struct instance_flags {
|
||||
uchar bouldersym; /* symbol for boulder display */
|
||||
char prevmsg_window; /* type of old message window to use */
|
||||
boolean extmenu; /* extended commands use menu interface */
|
||||
#ifdef MFLOPPY
|
||||
boolean checkspace; /* check disk space before writing files */
|
||||
/* (in iflags to allow restore after moving
|
||||
* to >2GB partition) */
|
||||
#endif
|
||||
#ifdef MICRO
|
||||
boolean BIOS; /* use IBM or ST BIOS calls when appropriate */
|
||||
#endif
|
||||
@@ -430,9 +388,6 @@ struct instance_flags {
|
||||
#define preload_tiles wc_preload_tiles
|
||||
|
||||
extern NEARDATA struct flag flags;
|
||||
#ifdef SYSFLAGS
|
||||
extern NEARDATA struct sysflag sysflags;
|
||||
#endif
|
||||
extern NEARDATA struct instance_flags iflags;
|
||||
|
||||
/* last_msg values
|
||||
|
||||
Reference in New Issue
Block a user