remove some old comments and bits
This commit is contained in:
@@ -58,7 +58,6 @@ static const char *FDECL(br_string, (int));
|
|||||||
static char FDECL(chr_u_on_lvl, (d_level *));
|
static char FDECL(chr_u_on_lvl, (d_level *));
|
||||||
static void FDECL(print_branch, (winid, int, int, int, BOOLEAN_P,
|
static void FDECL(print_branch, (winid, int, int, int, BOOLEAN_P,
|
||||||
struct lchoice *));
|
struct lchoice *));
|
||||||
/* SAVE2018 */
|
|
||||||
static mapseen *FDECL(load_mapseen, (NHFILE *));
|
static mapseen *FDECL(load_mapseen, (NHFILE *));
|
||||||
static void FDECL(save_mapseen, (NHFILE *, mapseen *));
|
static void FDECL(save_mapseen, (NHFILE *, mapseen *));
|
||||||
static mapseen *FDECL(find_mapseen, (d_level *));
|
static mapseen *FDECL(find_mapseen, (d_level *));
|
||||||
|
|||||||
-11
@@ -44,7 +44,6 @@
|
|||||||
#define LSF_SHOW 0x1 /* display the light source */
|
#define LSF_SHOW 0x1 /* display the light source */
|
||||||
#define LSF_NEEDS_FIXUP 0x2 /* need oid fixup */
|
#define LSF_NEEDS_FIXUP 0x2 /* need oid fixup */
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
static void FDECL(write_ls, (NHFILE *, light_source *));
|
static void FDECL(write_ls, (NHFILE *, light_source *));
|
||||||
static int FDECL(maybe_write_ls, (NHFILE *, int, BOOLEAN_P));
|
static int FDECL(maybe_write_ls, (NHFILE *, int, BOOLEAN_P));
|
||||||
|
|
||||||
@@ -446,8 +445,6 @@ boolean ghostly;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Part of the light source save routine. Count up the number of light
|
* Part of the light source save routine. Count up the number of light
|
||||||
* sources that would be written. If write_it is true, actually write
|
* sources that would be written. If write_it is true, actually write
|
||||||
@@ -518,14 +515,6 @@ light_sources_sanity_check()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
#if 0
|
|
||||||
static void
|
|
||||||
write_ls(fd, ls)
|
|
||||||
int fd;
|
|
||||||
light_source *ls;
|
|
||||||
#endif /* 0 */
|
|
||||||
|
|
||||||
/* Write a light source structure to disk. */
|
/* Write a light source structure to disk. */
|
||||||
static void
|
static void
|
||||||
write_ls(nhfp, ls)
|
write_ls(nhfp, ls)
|
||||||
|
|||||||
@@ -26,9 +26,6 @@ static void NDECL(mktemple);
|
|||||||
static coord *FDECL(shrine_pos, (int));
|
static coord *FDECL(shrine_pos, (int));
|
||||||
static struct permonst *NDECL(morguemon);
|
static struct permonst *NDECL(morguemon);
|
||||||
static struct permonst *NDECL(squadmon);
|
static struct permonst *NDECL(squadmon);
|
||||||
/* SAVE2018 */
|
|
||||||
/* static void FDECL(save_room, (int,struct mkroom *)); */
|
|
||||||
/* static void FDECL(rest_room, (int,struct mkroom *)); */
|
|
||||||
static void FDECL(save_room, (NHFILE *, struct mkroom *));
|
static void FDECL(save_room, (NHFILE *, struct mkroom *));
|
||||||
static void FDECL(rest_room, (NHFILE *, struct mkroom *));
|
static void FDECL(rest_room, (NHFILE *, struct mkroom *));
|
||||||
|
|
||||||
|
|||||||
+3
-23
@@ -149,8 +149,6 @@ NHFILE *nhfp;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
restdamage(nhfp, ghostly)
|
restdamage(nhfp, ghostly)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
@@ -204,8 +202,6 @@ boolean ghostly;
|
|||||||
free((genericptr_t) tmp_dam);
|
free((genericptr_t) tmp_dam);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
/* restore one object */
|
/* restore one object */
|
||||||
static void
|
static void
|
||||||
restobj(nhfp, otmp)
|
restobj(nhfp, otmp)
|
||||||
@@ -249,7 +245,7 @@ struct obj *otmp;
|
|||||||
newomonst(otmp);
|
newomonst(otmp);
|
||||||
/* this is actually a monst struct, so we
|
/* this is actually a monst struct, so we
|
||||||
can just defer to restmon() here */
|
can just defer to restmon() here */
|
||||||
restmon(nhfp, OMONST(otmp)); /* SAVE2018 */
|
restmon(nhfp, OMONST(otmp));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* omid - monster id number, connecting corpse to ghost */
|
/* omid - monster id number, connecting corpse to ghost */
|
||||||
@@ -297,8 +293,6 @@ struct obj *otmp;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
static struct obj *
|
static struct obj *
|
||||||
restobjchn(nhfp, ghostly, frozen)
|
restobjchn(nhfp, ghostly, frozen)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
@@ -318,7 +312,7 @@ boolean ghostly, frozen;
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
otmp = newobj();
|
otmp = newobj();
|
||||||
restobj(nhfp, otmp); /* SAVE2018 */
|
restobj(nhfp, otmp);
|
||||||
if (!first)
|
if (!first)
|
||||||
first = otmp;
|
first = otmp;
|
||||||
else
|
else
|
||||||
@@ -389,8 +383,6 @@ boolean ghostly, frozen;
|
|||||||
return first;
|
return first;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
/* restore one monster */
|
/* restore one monster */
|
||||||
static void
|
static void
|
||||||
restmon(nhfp, mtmp)
|
restmon(nhfp, mtmp)
|
||||||
@@ -492,8 +484,6 @@ struct monst *mtmp;
|
|||||||
} /* mextra */
|
} /* mextra */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
static struct monst *
|
static struct monst *
|
||||||
restmonchn(nhfp, ghostly)
|
restmonchn(nhfp, ghostly)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
@@ -571,8 +561,6 @@ boolean ghostly;
|
|||||||
return first;
|
return first;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
static struct fruit *
|
static struct fruit *
|
||||||
loadfruitchn(nhfp)
|
loadfruitchn(nhfp)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
@@ -1134,8 +1122,6 @@ NHFILE *nhfp;
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
restcemetery(nhfp, cemeteryaddr)
|
restcemetery(nhfp, cemeteryaddr)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
@@ -1164,8 +1150,6 @@ struct cemetery **cemeteryaddr;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
/*ARGSUSED*/
|
/*ARGSUSED*/
|
||||||
static void
|
static void
|
||||||
rest_levl(nhfp, rlecomp)
|
rest_levl(nhfp, rlecomp)
|
||||||
@@ -1362,7 +1346,7 @@ boolean ghostly;
|
|||||||
keepgoing = FALSE;
|
keepgoing = FALSE;
|
||||||
}
|
}
|
||||||
dealloc_trap(trap);
|
dealloc_trap(trap);
|
||||||
fobj = restobjchn(nhfp, ghostly, FALSE); /* SAVE2018 */
|
fobj = restobjchn(nhfp, ghostly, FALSE);
|
||||||
find_lev_obj();
|
find_lev_obj();
|
||||||
/* restobjchn()'s `frozen' argument probably ought to be a callback
|
/* restobjchn()'s `frozen' argument probably ought to be a callback
|
||||||
routine so that we can check for objects being buried under ice */
|
routine so that we can check for objects being buried under ice */
|
||||||
@@ -1466,8 +1450,6 @@ boolean ghostly;
|
|||||||
clear_id_mapping();
|
clear_id_mapping();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
get_plname_from_file(nhfp, plbuf)
|
get_plname_from_file(nhfp, plbuf)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
@@ -1486,8 +1468,6 @@ char *plbuf;
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
restore_msghistory(nhfp)
|
restore_msghistory(nhfp)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
|
|||||||
@@ -24,11 +24,6 @@ static int count_only;
|
|||||||
#define USE_BUFFERING
|
#define USE_BUFFERING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*SAVE2018*/
|
|
||||||
extern void FDECL(nhout, (int, const char *,
|
|
||||||
const char *, int, genericptr_t, int));
|
|
||||||
extern int NDECL(nhdatatypes_size);
|
|
||||||
|
|
||||||
#ifdef MICRO
|
#ifdef MICRO
|
||||||
int dotcnt, dotrow; /* also used in restore */
|
int dotcnt, dotrow; /* also used in restore */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -535,8 +535,6 @@ NHFILE *nhfp;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SAVE2018 */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rest_worm()
|
* rest_worm()
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user