some tabs to spaces
cd src
grep -P -n '\t' *.c | grep -v "1:"
cd ../include
grep -P -n '\t' *.h | grep -v "1:"
cd ..
side note: win/Qt/*.cpp are full of tabs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 align.h $NHDT-Date: 1604269810 2020/11/01 22:30:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $ */
|
||||
/* Copyright (c) Mike Stephenson, Izchak Miller 1991. */
|
||||
/* Copyright (c) Mike Stephenson, Izchak Miller 1991. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef ALIGN_H
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* NetHack 3.7 attrib.h $NHDT-Date: 1596498527 2020/08/03 23:48:47 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.12 $ */
|
||||
/* Copyright 1988, Mike Stephenson */
|
||||
/* Copyright 1988, Mike Stephenson */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
/* attrib.h - Header file for character class processing. */
|
||||
/* attrib.h - Header file for character class processing. */
|
||||
|
||||
#ifndef ATTRIB_H
|
||||
#define ATTRIB_H
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
* commenting it out.
|
||||
*/
|
||||
|
||||
#define ENHANCED_SYMBOLS
|
||||
/* #define ENHANCED_SYMBOLS */
|
||||
|
||||
/*
|
||||
* If COMPRESS is defined, it should contain the full path name of your
|
||||
|
||||
@@ -361,17 +361,17 @@ E struct tc_gbl_data { /* also declared in tcap.h */
|
||||
* provides all the subclasses that seem reasonable, and sets up for all
|
||||
* prefixes being null. Port code can set those that it wants.
|
||||
*/
|
||||
#define HACKPREFIX 0 /* shared, RO */
|
||||
#define LEVELPREFIX 1 /* per-user, RW */
|
||||
#define SAVEPREFIX 2 /* per-user, RW */
|
||||
#define BONESPREFIX 3 /* shared, RW */
|
||||
#define DATAPREFIX 4 /* dungeon/dlb; must match value in dlb.c */
|
||||
#define SCOREPREFIX 5 /* shared, RW */
|
||||
#define LOCKPREFIX 6 /* shared, RW */
|
||||
#define SYSCONFPREFIX 7 /* shared, RO */
|
||||
#define CONFIGPREFIX 8
|
||||
#define TROUBLEPREFIX 9 /* shared or per-user, RW (append-only) */
|
||||
#define PREFIX_COUNT 10
|
||||
#define HACKPREFIX 0 /* shared, RO */
|
||||
#define LEVELPREFIX 1 /* per-user, RW */
|
||||
#define SAVEPREFIX 2 /* per-user, RW */
|
||||
#define BONESPREFIX 3 /* shared, RW */
|
||||
#define DATAPREFIX 4 /* dungeon/dlb; must match value in dlb.c */
|
||||
#define SCOREPREFIX 5 /* shared, RW */
|
||||
#define LOCKPREFIX 6 /* shared, RW */
|
||||
#define SYSCONFPREFIX 7 /* shared, RO */
|
||||
#define CONFIGPREFIX 8
|
||||
#define TROUBLEPREFIX 9 /* shared or per-user, RW (append-only) */
|
||||
#define PREFIX_COUNT 10
|
||||
/* used in files.c; xxconf.h can override if needed */
|
||||
#ifndef FQN_MAX_FILENAME
|
||||
#define FQN_MAX_FILENAME 512
|
||||
@@ -698,7 +698,7 @@ struct enum_dump {
|
||||
const char *nm;
|
||||
};
|
||||
|
||||
typedef long cmdcount_nht; /* Command counts */
|
||||
typedef long cmdcount_nht; /* Command counts */
|
||||
|
||||
enum {
|
||||
CQ_CANNED = 0, /* internal canned sequence */
|
||||
@@ -1260,9 +1260,9 @@ struct instance_globals {
|
||||
short corpsenm_digested; /* monster type being digested, set by gulpum */
|
||||
|
||||
/* vision.c */
|
||||
seenV **viz_array; /* used in cansee() and couldsee() macros */
|
||||
coordxy *viz_rmin; /* min could see indices */
|
||||
coordxy *viz_rmax; /* max could see indices */
|
||||
seenV **viz_array; /* used in cansee() and couldsee() macros */
|
||||
coordxy *viz_rmin; /* min could see indices */
|
||||
coordxy *viz_rmax; /* max could see indices */
|
||||
boolean vision_full_recalc;
|
||||
int seethru; /* 'bubble' debugging: clouds and water don't block light */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 dgn_file.h $NHDT-Date: 1596498533 2020/08/03 23:48:53 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.10 $ */
|
||||
/* Copyright (c) 1989 by M. Stephenson */
|
||||
/* Copyright (c) 1989 by M. Stephenson */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef DGN_FILE_H
|
||||
@@ -43,7 +43,7 @@ struct tmpbranch {
|
||||
};
|
||||
|
||||
/*
|
||||
* Values for type for tmpbranch structure.
|
||||
* Values for type for tmpbranch structure.
|
||||
*/
|
||||
#define TBR_STAIR 0 /* connection with both ends having a staircase */
|
||||
#define TBR_NO_UP 1 /* connection with no up staircase */
|
||||
@@ -51,7 +51,7 @@ struct tmpbranch {
|
||||
#define TBR_PORTAL 3 /* portal connection */
|
||||
|
||||
/*
|
||||
* Flags that map into the dungeon flags bitfields.
|
||||
* Flags that map into the dungeon flags bitfields.
|
||||
*/
|
||||
#define TOWN 1 /* levels only */
|
||||
#define HELLISH 2
|
||||
@@ -66,7 +66,7 @@ struct tmpbranch {
|
||||
#define D_ALIGN_MASK 0x70
|
||||
|
||||
/*
|
||||
* Max number of prototype levels and branches.
|
||||
* Max number of prototype levels and branches.
|
||||
*/
|
||||
#define LEV_LIMIT 50
|
||||
#define BRANCH_LIMIT 32
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 extern.h $NHDT-Date: 1657918089 2022/07/15 20:48:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1132 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef EXTERN_H
|
||||
|
||||
@@ -378,10 +378,10 @@ struct instance_flags {
|
||||
boolean wc2_hitpointbar; /* show graphical bar representing hit points */
|
||||
boolean wc2_guicolor; /* allow colours in gui (outside map) */
|
||||
int wc_mouse_support; /* allow mouse support */
|
||||
int wc2_term_cols; /* terminal width, in characters */
|
||||
int wc2_term_rows; /* terminal height, in characters */
|
||||
int wc2_term_cols; /* terminal width, in characters */
|
||||
int wc2_term_rows; /* terminal height, in characters */
|
||||
int wc2_statuslines; /* default = 2, curses can handle 3 */
|
||||
int wc2_windowborders; /* display borders on NetHack windows */
|
||||
int wc2_windowborders; /* display borders on NetHack windows */
|
||||
int wc2_petattr; /* text attributes for pet */
|
||||
#ifdef WIN32
|
||||
#define MAX_ALTKEYHANDLING 25
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#ifndef MONATTK_H
|
||||
#define MONATTK_H
|
||||
|
||||
/* Add new attack types below - ordering affects experience (exper.c).
|
||||
* Attacks > AT_BUTT are worth extra experience.
|
||||
/* Add new attack types below - ordering affects experience (exper.c).
|
||||
* Attacks > AT_BUTT are worth extra experience.
|
||||
*/
|
||||
#define AT_ANY (-1) /* fake attack; dmgtype_fromattack wildcard */
|
||||
#define AT_NONE 0 /* passive monster (ex. acid blob) */
|
||||
@@ -33,10 +33,10 @@
|
||||
|| (atyp) == AT_MAGC \
|
||||
|| (atyp) == AT_GAZE)
|
||||
|
||||
/* Add new damage types below.
|
||||
/* Add new damage types below.
|
||||
*
|
||||
* Note that 1-10 correspond to the types of attack used in buzz().
|
||||
* Please don't disturb the order unless you rewrite the buzz() code.
|
||||
* Note that 1-10 correspond to the types of attack used in buzz().
|
||||
* Please don't disturb the order unless you rewrite the buzz() code.
|
||||
*/
|
||||
#define AD_ANY (-1) /* fake damage; attacktype_fordmg wildcard */
|
||||
#define AD_PHYS 0 /* ordinary physical */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 mondata.h $NHDT-Date: 1606473485 2020/11/27 10:38:05 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.45 $ */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef MONDATA_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 monflag.h $NHDT-Date: 1596498549 2020/08/03 23:49:09 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.21 $ */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef MONFLAG_H
|
||||
|
||||
@@ -41,7 +41,7 @@ enum wpn_chk_flags {
|
||||
* PICK_NONE, PICK_ONE, PICK_ANY (wintype.h) 0, 1, 2
|
||||
* MINV_NOLET If set, don't display inventory letters on monster's inventory.
|
||||
* MINV_ALL If set, display all items in monster's inventory, otherwise
|
||||
* just display wielded weapons and worn items.
|
||||
* just display wielded weapons and worn items.
|
||||
*/
|
||||
#define MINV_PICKMASK 0x03 /* 1|2 */
|
||||
#define MINV_NOLET 0x04
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
* _MSC_VER is defined automatically by Microsoft C.
|
||||
* __BORLANDC__ is defined automatically by Borland C.
|
||||
* __SC__ is defined automatically by Symantec C.
|
||||
* Note: 3.6.x was not verified with Symantec C.
|
||||
* Note: 3.6.x was not verified with Symantec C.
|
||||
*/
|
||||
|
||||
#define CONFIG_FILE "defaults.nh"
|
||||
@@ -43,10 +43,10 @@
|
||||
* Screen control options
|
||||
*
|
||||
* You may uncomment:
|
||||
* ANSI_DEFAULT
|
||||
* or TERMLIB
|
||||
* or ANSI_DEFAULT and TERMLIB
|
||||
* or NO_TERMS
|
||||
* ANSI_DEFAULT
|
||||
* or TERMLIB
|
||||
* or ANSI_DEFAULT and TERMLIB
|
||||
* or NO_TERMS
|
||||
*/
|
||||
|
||||
/* # define TERMLIB */ /* enable use of termcap file /etc/termcap */
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
#ifdef NO_TERMS /* if NO_TERMS select one screen package below */
|
||||
#define SCREEN_BIOS /* Use bios calls for all screen control */
|
||||
/* #define SCREEN_DJGPPFAST */ /* Use djgpp fast screen routines */
|
||||
/* #define SCREEN_DJGPPFAST */ /* Use djgpp fast screen routines */
|
||||
#endif
|
||||
|
||||
/* # define PC9800 */ /* Allows NetHack to run on NEC PC-9800 machines */
|
||||
@@ -76,7 +76,7 @@
|
||||
#ifndef SUPPRESS_GRAPHICS
|
||||
#if (defined(SCREEN_BIOS) || defined(SCREEN_DJGPPFAST)) && !defined(PC9800)
|
||||
#ifdef USE_TILES
|
||||
#define SCREEN_VGA /* Include VGA graphics routines in the build */
|
||||
#define SCREEN_VGA /* Include VGA graphics routines in the build */
|
||||
#define SCREEN_VESA
|
||||
#endif
|
||||
#endif
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
#define MAIL /* Allows for fake mail daemon to deliver mail */
|
||||
/* in the MSDOS version. (For AMIGA MAIL see */
|
||||
/* amiconf.h). In the future this will be the */
|
||||
/* amiconf.h). In the future this will be the */
|
||||
/* hook for mail reader implementation. */
|
||||
|
||||
/* The following is needed for prototypes of certain functions */
|
||||
@@ -215,9 +215,9 @@
|
||||
#define VROOMM /* Borland's VROOMM overlay system */
|
||||
#endif
|
||||
#if !defined(STKSIZ)
|
||||
#define STKSIZ 5 * 1024 /* Use a default of 5K stack for Borland C */
|
||||
#define STKSIZ 5 * 1024 /* Use a default of 5K stack for Borland C */
|
||||
/* This macro is used in any file that contains */
|
||||
/* a main() function. */
|
||||
/* a main() function. */
|
||||
#endif
|
||||
#define PC_LOCKING
|
||||
#endif
|
||||
@@ -288,7 +288,7 @@
|
||||
*/
|
||||
#endif
|
||||
#else
|
||||
/* djgpp C compiler */
|
||||
/* djgpp C compiler */
|
||||
#if defined(SCREEN_BIOS)
|
||||
#undef SCREEN_BIOS
|
||||
#endif
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
#ifndef PERMONST_H
|
||||
#define PERMONST_H
|
||||
|
||||
/* This structure covers all attack forms.
|
||||
* aatyp is the gross attack type (eg. claw, bite, breath, ...)
|
||||
* adtyp is the damage type (eg. physical, fire, cold, spell, ...)
|
||||
* damn is the number of hit dice of damage from the attack.
|
||||
* damd is the number of sides on each die.
|
||||
/* This structure covers all attack forms.
|
||||
* aatyp is the gross attack type (eg. claw, bite, breath, ...)
|
||||
* adtyp is the damage type (eg. physical, fire, cold, spell, ...)
|
||||
* damn is the number of hit dice of damage from the attack.
|
||||
* damd is the number of sides on each die.
|
||||
*
|
||||
* Some attacks can do no points of damage. Additionally, some can
|
||||
* have special effects *and* do damage as well. If damn and damd
|
||||
* are set, they may have a special meaning. For example, if set
|
||||
* for a blinding attack, they determine the amount of time blinded.
|
||||
* Some attacks can do no points of damage. Additionally, some can
|
||||
* have special effects *and* do damage as well. If damn and damd
|
||||
* are set, they may have a special meaning. For example, if set
|
||||
* for a blinding attack, they determine the amount of time blinded.
|
||||
*/
|
||||
|
||||
struct attack {
|
||||
@@ -23,12 +23,12 @@ struct attack {
|
||||
uchar adtyp, damn, damd;
|
||||
};
|
||||
|
||||
/* Max # of attacks for any given monster.
|
||||
/* Max # of attacks for any given monster.
|
||||
*/
|
||||
|
||||
#define NATTK 6
|
||||
|
||||
/* Weight of a human body
|
||||
/* Weight of a human body
|
||||
*/
|
||||
|
||||
#define WT_HUMAN 1450
|
||||
@@ -58,7 +58,7 @@ struct permonst {
|
||||
unsigned long mflags1, /* boolean bitflags */
|
||||
mflags2; /* more boolean bitflags */
|
||||
unsigned short mflags3; /* yet more boolean bitflags */
|
||||
uchar difficulty; /* toughness (formerly from makedefs -m) */
|
||||
uchar difficulty; /* toughness (formerly from makedefs -m) */
|
||||
#ifdef TEXTCOLOR
|
||||
uchar mcolor; /* color to use */
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 prop.h $NHDT-Date: 1596498555 2020/08/03 23:49:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.22 $ */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef PROP_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 quest.h $NHDT-Date: 1596498556 2020/08/03 23:49:16 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $ */
|
||||
/* Copyright (c) Mike Stephenson 1991. */
|
||||
/* Copyright (c) Mike Stephenson 1991. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef QUEST_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 rect.h $NHDT-Date: 1596498557 2020/08/03 23:49:17 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.9 $ */
|
||||
/* Copyright (c) 1990 by Jean-Christophe Collet */
|
||||
/* Copyright (c) 1990 by Jean-Christophe Collet */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef RECT_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 region.h $NHDT-Date: 1596498557 2020/08/03 23:49:17 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $ */
|
||||
/* Copyright (c) 1996 by Jean-Christophe Collet */
|
||||
/* Copyright (c) 1996 by Jean-Christophe Collet */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef REGION_H
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/*
|
||||
* The dungeon presentation graphics code and data structures were rewritten
|
||||
* and generalized for NetHack's release 2 by Eric S. Raymond (eric@snark)
|
||||
* building on Don G Kneller's MS-DOS implementation. See drawing.c for
|
||||
* building on Don G Kneller's MS-DOS implementation. See drawing.c for
|
||||
* the code that permits the user to set the contents of the symbol structure.
|
||||
*
|
||||
* The door representation was changed by Ari
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 sp_lev.h $NHDT-Date: 1622361649 2021/05/30 08:00:49 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.47 $ */
|
||||
/* Copyright (c) 1989 by Jean-Christophe Collet */
|
||||
/* Copyright (c) 1989 by Jean-Christophe Collet */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef SP_LEV_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 spell.h $NHDT-Date: 1646838388 2022/03/09 15:06:28 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.14 $ */
|
||||
/* Copyright 1986, M. Stephenson */
|
||||
/* Copyright 1986, M. Stephenson */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef SPELL_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 timeout.h $NHDT-Date: 1596498564 2020/08/03 23:49:24 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.13 $ */
|
||||
/* Copyright 1994, Dean Luick */
|
||||
/* Copyright 1994, Dean Luick */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef TIMEOUT_H
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* NetHack 3.7 vision.h $NHDT-Date: 1666478832 2022/10/22 22:47:12 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $ */
|
||||
/* Copyright (c) Dean Luick, with acknowledgements to Dave Cohrs, 1990. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef VISION_H
|
||||
#define VISION_H
|
||||
@@ -16,10 +16,10 @@
|
||||
#define LS_MONSTER 1
|
||||
|
||||
/*
|
||||
* cansee() - Returns true if the hero can see the location.
|
||||
* cansee() - Returns true if the hero can see the location.
|
||||
*
|
||||
* couldsee() - Returns true if the hero has a clear line of sight to
|
||||
* the location.
|
||||
* couldsee() - Returns true if the hero has a clear line of sight to
|
||||
* the location.
|
||||
*/
|
||||
#define cansee(x, y) ((g.viz_array[y][x] & IN_SIGHT) != 0)
|
||||
#define couldsee(x, y) ((g.viz_array[y][x] & COULD_SEE) != 0)
|
||||
@@ -28,12 +28,12 @@
|
||||
/*
|
||||
* The following assume the monster is not blind.
|
||||
*
|
||||
* m_cansee() - Returns true if the monster can see the given location.
|
||||
* m_cansee() - Returns true if the monster can see the given location.
|
||||
*
|
||||
* m_canseeu() - Returns true if the monster could see the hero. Assumes
|
||||
* that if the hero has a clear line of sight to the monster's
|
||||
* location and the hero is visible, then monster can see the
|
||||
* hero.
|
||||
* that if the hero has a clear line of sight to the monster's
|
||||
* location and the hero is visible, then monster can see the
|
||||
* hero.
|
||||
*/
|
||||
#define m_cansee(mtmp, x2, y2) clear_path((mtmp)->mx, (mtmp)->my, (x2), (y2))
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef WINDCONF_H
|
||||
#define WINDCONF_H
|
||||
|
||||
/* #define SHELL */ /* nt use of pcsys routines caused a hang */
|
||||
/* #define SHELL */ /* nt use of pcsys routines caused a hang */
|
||||
|
||||
#define TEXTCOLOR /* Color text */
|
||||
|
||||
@@ -213,7 +213,7 @@ typedef SSIZE_T ssize_t;
|
||||
|
||||
#ifndef M
|
||||
#define M(c) ((char) (0x80 | (c)))
|
||||
/* #define M(c) ((c) - 128) */
|
||||
/* #define M(c) ((c) - 128) */
|
||||
#endif
|
||||
|
||||
#ifndef C
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 winprocs.h $NHDT-Date: 1596498572 2020/08/03 23:49:32 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.56 $ */
|
||||
/* Copyright (c) David Cohrs, 1992 */
|
||||
/* Copyright (c) David Cohrs, 1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef WINPROCS_H
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
enum wp_ids { wp_tty = 1, wp_X11, wp_Qt, wp_mswin, wp_curses,
|
||||
wp_chainin, wp_chainout, wp_safestartup, wp_shim,
|
||||
wp_hup, wp_guistubs, wp_ttystubs,
|
||||
wp_hup, wp_guistubs, wp_ttystubs,
|
||||
#ifdef OUTDATED_STUFF
|
||||
, wp_mac, wp_Gem, wp_Gnome, wp_amii, wp_amiv
|
||||
, wp_mac, wp_Gem, wp_Gnome, wp_amii, wp_amiv
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -317,9 +317,9 @@ struct wc_Opt {
|
||||
|
||||
#ifdef WINCHAIN
|
||||
/* Setup phases for window chain elements.
|
||||
void * rv = X_procs_chain(int, int, void *, void *, void *);
|
||||
Xprivate* ALLOC n 0 0 0
|
||||
- INIT n self next nextdata
|
||||
void * rv = X_procs_chain(int, int, void *, void *, void *);
|
||||
Xprivate* ALLOC n 0 0 0
|
||||
- INIT n self next nextdata
|
||||
where:
|
||||
Xprivate* is anything window chain entry type X wants back
|
||||
n is the link count (starting with 1)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 wintty.h $NHDT-Date: 1656014599 2022/06/23 20:03:19 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.55 $ */
|
||||
/* Copyright (c) David Cohrs, 1991,1992 */
|
||||
/* Copyright (c) David Cohrs, 1991,1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef WINTTY_H
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 xwindow.h $NHDT-Date: 1596498574 2020/08/03 23:49:34 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.9 $ */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef _xwindow_h
|
||||
@@ -13,44 +13,44 @@
|
||||
|
||||
/* Resources:
|
||||
|
||||
Name Class RepType Default Value
|
||||
---- ----- ------- -------------
|
||||
background Background Pixel XtDefaultBackground
|
||||
border BorderColor Pixel XtDefaultForeground
|
||||
borderWidth BorderWidth Dimension 1
|
||||
destroyCallback Callback Pointer NULL
|
||||
height Height Dimension 0
|
||||
mappedWhenManaged MappedWhenManaged Boolean True
|
||||
sensitive Sensitive Boolean True
|
||||
width Width Dimension 0
|
||||
x Position Position 0
|
||||
y Position Position 0
|
||||
Name Class RepType Default Value
|
||||
---- ----- ------- -------------
|
||||
background Background Pixel XtDefaultBackground
|
||||
border BorderColor Pixel XtDefaultForeground
|
||||
borderWidth BorderWidth Dimension 1
|
||||
destroyCallback Callback Pointer NULL
|
||||
height Height Dimension 0
|
||||
mappedWhenManaged MappedWhenManaged Boolean True
|
||||
sensitive Sensitive Boolean True
|
||||
width Width Dimension 0
|
||||
x Position Position 0
|
||||
y Position Position 0
|
||||
|
||||
rows Width Dimension 21
|
||||
columns Height Dimension 80
|
||||
foreground Color Pixel XtDefaultForeground
|
||||
rows Width Dimension 21
|
||||
columns Height Dimension 80
|
||||
foreground Color Pixel XtDefaultForeground
|
||||
|
||||
black Color Pixel "black"
|
||||
red Color Pixel "red"
|
||||
green Color Pixel "pale green"
|
||||
brown Color Pixel "brown"
|
||||
blue Color Pixel "blue"
|
||||
magenta Color Pixel "magenta"
|
||||
cyan Color Pixel "light cyan"
|
||||
gray Color Pixel "gray"
|
||||
black Color Pixel "black"
|
||||
red Color Pixel "red"
|
||||
green Color Pixel "pale green"
|
||||
brown Color Pixel "brown"
|
||||
blue Color Pixel "blue"
|
||||
magenta Color Pixel "magenta"
|
||||
cyan Color Pixel "light cyan"
|
||||
gray Color Pixel "gray"
|
||||
//no color//
|
||||
orange Color Pixel "orange"
|
||||
bright_green Color Pixel "green"
|
||||
yellow Color Pixel "yellow"
|
||||
bright_blue Color Pixel "royal blue"
|
||||
bright_magenta Color Pixel "violet"
|
||||
bright_cyan Color Pixel "cyan"
|
||||
white Color Pixel "white"
|
||||
orange Color Pixel "orange"
|
||||
bright_green Color Pixel "green"
|
||||
yellow Color Pixel "yellow"
|
||||
bright_blue Color Pixel "royal blue"
|
||||
bright_magenta Color Pixel "violet"
|
||||
bright_cyan Color Pixel "cyan"
|
||||
white Color Pixel "white"
|
||||
|
||||
font Font XFontStruct* XtDefaultFont
|
||||
exposeCallback Callback Callback NULL
|
||||
callback Callback Callback NULL
|
||||
resizeCallback Callback Callback NULL
|
||||
font Font XFontStruct* XtDefaultFont
|
||||
exposeCallback Callback Callback NULL
|
||||
callback Callback Callback NULL
|
||||
resizeCallback Callback Callback NULL
|
||||
*/
|
||||
|
||||
/* define any special resource names here that are not in <X11/StringDefs.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 xwindowp.h $NHDT-Date: 1596498575 2020/08/03 23:49:35 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.9 $ */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* Copyright (c) Dean Luick, 1992 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef _xwindowp_h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* NetHack 3.7 youprop.h $NHDT-Date: 1596498577 2020/08/03 23:49:37 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.32 $ */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#ifndef YOUPROP_H
|
||||
|
||||
Reference in New Issue
Block a user