diff options
Diffstat (limited to 'games/hack/hack.pri.c')
-rw-r--r-- | games/hack/hack.pri.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/games/hack/hack.pri.c b/games/hack/hack.pri.c index 9dfd8c8..53eabdc 100644 --- a/games/hack/hack.pri.c +++ b/games/hack/hack.pri.c @@ -45,8 +45,8 @@ char *str; #ifdef UNIX if(!fork()) abort(); /* generate core dump */ -#endif UNIX -#endif DEBUG +#endif /* UNIX */ +#endif /* DEBUG */ more(); /* contains a fflush() */ done("panicked"); } @@ -161,7 +161,7 @@ char ch; impossible("At gets 0%o at %d %d.", ch, x, y); return; } -#endif lint +#endif /* lint */ if(!ch) { impossible("At gets null at %d %d.", x, y); return; @@ -287,7 +287,7 @@ pru() #ifndef NOWORM #include "def.wseg.h" extern struct wseg *m_atseg; -#endif NOWORM +#endif /* NOWORM */ /* print a position that is visible for @ */ prl(x,y) @@ -311,7 +311,7 @@ prl(x,y) if(m_atseg) pwseg(m_atseg); else -#endif NOWORM +#endif /* NOWORM */ pmon(mtmp); } else if((otmp = o_at(x,y)) && room->typ != POOL) @@ -463,7 +463,7 @@ int x,y; nosee(x+1,y); } } -#endif QUEST +#endif /* QUEST */ vism_at(x,y) int x,y; @@ -495,7 +495,7 @@ int show = (!obj->oinvis || See_invisible) && obj->ody = obj->oy; } } -#endif NEWSCR +#endif /* NEWSCR */ unpobj(obj) struct obj *obj; { /* if(obj->odispl){ @@ -533,7 +533,7 @@ struct monst *mtmp; pmon(mtmp); #ifndef NOWORM if(mtmp->wormno) wormsee(mtmp->wormno); -#endif NOWORM +#endif /* NOWORM */ } } @@ -605,7 +605,7 @@ extern char *eos(); (void) sprintf(newbot, "Level %-2d Hp %3d(%d) Ac %-2d Str ", dlevel, u.uhp, u.uhpmax, u.uac); -#endif GOLD_ON_BOTL +#endif /* GOLD_ON_BOTL */ if(u.ustr>18) { if(u.ustr>117) (void) strcat(newbot,"18/**"); @@ -617,7 +617,7 @@ extern char *eos(); (void) sprintf(eos(newbot), " Exp %2d/%-5lu ", u.ulevel,u.uexp); #else (void) sprintf(eos(newbot), " Exp %2u ", u.ulevel); -#endif EXP_ON_BOTL +#endif /* EXP_ON_BOTL */ (void) strcat(newbot, hu_stat[u.uhs]); if(flags.time) (void) sprintf(eos(newbot), " %ld", moves); @@ -648,7 +648,7 @@ mstatusline(mtmp) struct monst *mtmp; { mtmp->data->mlevel, mtmp->mgold, mtmp->mhp, mtmp->mhpmax, mtmp->data->ac, (mtmp->data->damn + 1) * (mtmp->data->damd + 1)); } -#endif WAN_PROBING +#endif /* WAN_PROBING */ cls(){ if(flags.toplin == 1) |