lint removal -- nothing of import
This commit is contained in:
@@ -2036,7 +2036,7 @@ E void NDECL(u_init);
|
|||||||
E void FDECL(hurtmarmor,(struct monst *,int));
|
E void FDECL(hurtmarmor,(struct monst *,int));
|
||||||
E boolean FDECL(attack_checks, (struct monst *,struct obj *));
|
E boolean FDECL(attack_checks, (struct monst *,struct obj *));
|
||||||
E void FDECL(check_caitiff, (struct monst *));
|
E void FDECL(check_caitiff, (struct monst *));
|
||||||
E int FDECL(find_roll_to_hit, (struct monst *,int,struct obj *,int *,int *));
|
E int FDECL(find_roll_to_hit, (struct monst *,UCHAR_P,struct obj *,int *,int *));
|
||||||
E boolean FDECL(attack, (struct monst *));
|
E boolean FDECL(attack, (struct monst *));
|
||||||
E boolean FDECL(hmon, (struct monst *,struct obj *,int));
|
E boolean FDECL(hmon, (struct monst *,struct obj *,int));
|
||||||
E int FDECL(damageum, (struct monst *,struct attack *));
|
E int FDECL(damageum, (struct monst *,struct attack *));
|
||||||
|
|||||||
@@ -2105,7 +2105,8 @@ set_trap()
|
|||||||
You("finish arming %s.",
|
You("finish arming %s.",
|
||||||
the(defsyms[trap_to_defsym(what_trap(ttyp))].explanation));
|
the(defsyms[trap_to_defsym(what_trap(ttyp))].explanation));
|
||||||
if (((otmp->cursed || Fumbling) && (rnl(10) > 5)) || trapinfo.force_bungle)
|
if (((otmp->cursed || Fumbling) && (rnl(10) > 5)) || trapinfo.force_bungle)
|
||||||
dotrap(ttmp, trapinfo.force_bungle ? FORCEBUNGLE : 0);
|
dotrap(ttmp,
|
||||||
|
(unsigned)(trapinfo.force_bungle ? FORCEBUNGLE : 0));
|
||||||
} else {
|
} else {
|
||||||
/* this shouldn't happen */
|
/* this shouldn't happen */
|
||||||
Your("trap setting attempt fails.");
|
Your("trap setting attempt fails.");
|
||||||
|
|||||||
@@ -2517,7 +2517,7 @@ char def;
|
|||||||
paniclog("Query truncated: ", query);
|
paniclog("Query truncated: ", query);
|
||||||
reduction += sizeof("...");
|
reduction += sizeof("...");
|
||||||
truncspot = QBUFSZ - reduction;
|
truncspot = QBUFSZ - reduction;
|
||||||
(void) strncpy(qbuf, query, truncspot);
|
(void) strncpy(qbuf, query, (int)truncspot);
|
||||||
qbuf[truncspot] = '\0';
|
qbuf[truncspot] = '\0';
|
||||||
Strcat(qbuf,"...");
|
Strcat(qbuf,"...");
|
||||||
return (*windowprocs.win_yn_function)(qbuf, resp, def);
|
return (*windowprocs.win_yn_function)(qbuf, resp, def);
|
||||||
|
|||||||
@@ -2672,7 +2672,6 @@ boolean setinitial,setfromfile;
|
|||||||
retval = TRUE;
|
retval = TRUE;
|
||||||
}
|
}
|
||||||
else if (!strcmp("number_pad", optname)) {
|
else if (!strcmp("number_pad", optname)) {
|
||||||
int i;
|
|
||||||
static const char *npchoices[3] =
|
static const char *npchoices[3] =
|
||||||
{"0 (off)", "1 (on)", "2 (on, DOS compatible)"};
|
{"0 (off)", "1 (on)", "2 (on, DOS compatible)"};
|
||||||
char *npletters = "abc";
|
char *npletters = "abc";
|
||||||
|
|||||||
@@ -688,7 +688,7 @@ boolean FDECL((*allow), (OBJ_P));/* allow function */
|
|||||||
if ((qflags & FEEL_COCKATRICE) && curr->otyp == CORPSE &&
|
if ((qflags & FEEL_COCKATRICE) && curr->otyp == CORPSE &&
|
||||||
will_feel_cockatrice(curr, FALSE)) {
|
will_feel_cockatrice(curr, FALSE)) {
|
||||||
destroy_nhwindow(win); /* stop the menu and revert */
|
destroy_nhwindow(win); /* stop the menu and revert */
|
||||||
look_here(0, FALSE);
|
(void) look_here(0, FALSE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if ((!(qflags & INVORDER_SORT) || curr->oclass == *pack)
|
if ((!(qflags & INVORDER_SORT) || curr->oclass == *pack)
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ struct monst *mtmp;
|
|||||||
int
|
int
|
||||||
find_roll_to_hit(mtmp, aatyp, weapon, attk_count, role_roll_penalty)
|
find_roll_to_hit(mtmp, aatyp, weapon, attk_count, role_roll_penalty)
|
||||||
register struct monst *mtmp;
|
register struct monst *mtmp;
|
||||||
int aatyp; /* usually AT_WEAP or AT_KICK */
|
uchar aatyp; /* usually AT_WEAP or AT_KICK */
|
||||||
struct obj *weapon; /* uwep or uswapwep or NULL */
|
struct obj *weapon; /* uwep or uswapwep or NULL */
|
||||||
int *attk_count, *role_roll_penalty;
|
int *attk_count, *role_roll_penalty;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user