some reformatting (5 of 4)
Take care of most of include/*.h. I punted on extern.h. For both src/*.c and include/*.h, I used mismatched checks of width > 79 to decide which files to look at and then width > 78 to decide which lines to maybe revise, so I didn't look at a bunch of the files. I don't plan to go back and do it right. Shortening lines that are 80 or wider to less than 80 is the significant part. Otherwise emacs puts a backslash in column 80 and the rest of the line of text on the next line of the screen, making things harder to read.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 decl.h $NHDT-Date: 1720074483 2024/07/04 06:28:03 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.373 $ */
|
||||
/* NetHack 3.7 decl.h $NHDT-Date: 1725653004 2024/09/06 20:03:24 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.377 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Michael Allison, 2007. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -270,7 +270,7 @@ struct instance_globals_c {
|
||||
/* invent.c */
|
||||
/* for perm_invent when operating on a partial inventory display, so that
|
||||
persistent one doesn't get shrunk during filtering for item selection
|
||||
then regrown to full inventory, possibly being resized in the process */
|
||||
then regrown to full inventory, possibly being resized in process */
|
||||
winid cached_pickinv_win;
|
||||
int core_invent_state;
|
||||
|
||||
@@ -862,7 +862,8 @@ struct instance_globals_s {
|
||||
/* symbols.c */
|
||||
struct symsetentry symset[NUM_GRAPHICS];
|
||||
/* adds UNICODESET */
|
||||
struct symset_customization sym_customizations[NUM_GRAPHICS + 1][custom_count];
|
||||
struct symset_customization
|
||||
sym_customizations[NUM_GRAPHICS + 1][custom_count];
|
||||
nhsym showsyms[SYM_MAX]; /* symbols to be displayed */
|
||||
|
||||
/* files.c */
|
||||
@@ -954,8 +955,8 @@ struct instance_globals_t {
|
||||
/* rumors.c */
|
||||
long true_rumor_size; /* rumor size variables are signed so that value -1
|
||||
* can be used as a flag */
|
||||
unsigned long true_rumor_start; /* rumor start offsets are unsigned because
|
||||
* they're handled via %lx format */
|
||||
unsigned long true_rumor_start; /* rumor start offsets are unsigned due
|
||||
* to use of %lx format */
|
||||
long true_rumor_end; /* rumor end offsets are signed because they're
|
||||
* compared with [dlb_]ftell() */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user