{
char buf[BUFSZ];
boolean more_corpses;
+#if 0 /*JP*/
struct permonst *mptr;
+#endif
struct obj *corpse = sobj_at(CORPSE, rx, ry),
*statue = sobj_at(STATUE, rx, ry);
char *hittee; /* target's name: "you" or mon_nam(mdef) */
{
struct permonst *old_uasmon;
+#if 0 /*JP*/
const char *verb, *fakename;
+#else
+ const char *verb;
+#endif
boolean youattack = (magr == &youmonst), youdefend = (mdef == &youmonst),
resisted = FALSE, do_stun, do_confuse, result;
int attack_indx, scare_dieroll = MB_MAX_DIEROLL / 2;
static NEARDATA const char because_of[] = "%s\82É\82æ\82Á\82Ä";
if (propidx >= 0) {
+#if 0 /*JP*/
char *p;
+#endif
struct obj *obj = (struct obj *) 0;
int innate = is_innate(propidx);
#endif
};
const char *mesg;
+#if 0 /*JP*/
char buf[BUFSZ];
+#endif
int which = rn2(4);
if (Hallucination)
int mnum;
char *buf;
{
+#if 0 /*JP*/
char buf2[BUFSZ];
+#endif
int r = tin_variety(obj, TRUE);
if (obj && buf) {
if (!rn2(10) && !mtmp->mcan) {
int numseen, numhelp;
+#if 0 /*JP*/
char buf[BUFSZ], genericwere[BUFSZ];
+#else
+ char genericwere[BUFSZ];
+#endif
/*JP
Strcpy(genericwere, "creature");
boolean known, cknown, bknown, lknown;
int omndx = obj->corpsenm;
char prefix[PREFIX];
+#if 0 /*JP*/
char tmpbuf[PREFIX + 1]; /* for when we have to add something at
the start of prefix instead of the
end (Strcat is used on the end) */
+#endif
register char *bp = xname(obj);
#if 1 /*JP*//*\8f\87\8f\98\93ü\82ê\91Ö\82¦\82É\8eg\82¤*/
char preprefix[PREFIX];
int eroded, eroded2, erodeproof;
int halfeaten, mntmp, contents;
int islit, unlabeled, ishistoric, isdiluted, trapped;
+#if 0 /*JP*/
int tmp, tinv, tvariety;
+#else
+ int tvariety;
+#endif
int wetness;
struct fruit *f;
int ftype = context.current_fruit;
char fruitbuf[BUFSZ];
-#if 1 /*JP*/
- char buf[BUFSZ];
- char pfx[BUFSZ];
-#endif
/* Fruits may not mess up the ability to wish for real objects (since
* you can leave a fruit in a bones file and it will be added to
* another person's game), so they must be checked for last, after
You("\97Ø\82Ì\8aZ\82Æ\88ê\91Ì\89»\82µ\82½\81D");
} else { /* dragon scale mail */
/* d.scale mail first reverts to scales */
+#if 0 /*JP*/
char *p, *dsmail;
+#else
+ char *dsmail;
+#endif
/* similar to noarmor(invent.c),
shorten to "<color> scale mail" */
int alone;
{
struct obj *otmp;
+#if 0 /*JP*/
const char *what, *which, *whichtoo;
+#else
+ const char *which, *whichtoo;
+#endif
boolean candropwep, candropswapwep;
if (uwep) {
{
long old = Blinded;
boolean u_could_see, can_see_now;
+#if 0 /*JP*/
const char *eyes;
+#endif
/* we need to probe ahead in case the Eyes of the Overworld
are or will be overriding blindness */
*/
const char *defprompt = "\93K\93\96\82É\83L\83\83\83\89\83N\83^\81[\82ð\91I\82ñ\82Å\82æ\82¢\82Å\82·\82©\81H[ynaq] ";
int num_post_attribs = 0;
+#if 0 /*JP*/
char tmpbuf[BUFSZ], *p;
+#else
+ char tmpbuf[BUFSZ];
+#endif
if (buflen < QBUFSZ)
return (char *) defprompt;
long amt;
const char *arg;
{
+#if 0 /*JP*/
char *obj_name, fmtbuf[BUFSZ];
+#else
+ char *obj_name;
+#endif
boolean was_unknown = !obj->dknown;
obj->dknown = TRUE;
}
} else {
char qbuf[BUFSZ], qsfx[BUFSZ];
+#if 0 /*JP*/
boolean short_funds = (offer > shkmoney), one;
+#else
+ boolean short_funds = (offer > shkmoney);
+#endif
if (short_funds)
offer = shkmoney;
register struct obj *fgold = g_at(u.ux, u.uy);
register struct obj *ygold;
register long tmp;
+#if 0 /*JP*/
struct monst *who;
const char *whose, *what;
+#endif
/* skip lesser coins on the floor */
while (fgold && fgold->otyp != GOLD_PIECE)
/* PANICKED, TRICKED, QUIT, ESCAPED, ASCENDED */
"", "", "", "", ""
};
+#if 0 /*JP*/
unsigned l;
+#endif
char *kname = killer.name;
buf[0] = '\0'; /* so strncat() can find the end */
{
boolean second_line = TRUE;
char linebuf[BUFSZ];
+#if 0 /*JP*/
char *bp, hpbuf[24], linebuf3[BUFSZ];
+#else
+ char *bp, hpbuf[24];
+#endif
int hppos, lngr;
#if 1 /*JP*/
char who[BUFSZ];
*/
if (mw_tmp && mwelded(mw_tmp)) {
if (canseemon(mon)) {
+#if 0 /*JP*/
char welded_buf[BUFSZ];
+#endif
const char *mon_hand = mbodypart(mon, HAND);
if (bimanual(mw_tmp))
const char *verb; /* "rub",&c */
{
const char *what;
+#if 0 /*JP*/
boolean more_than_1;
+#endif
if (obj == uwep)
return TRUE; /* nothing to do if already wielding it */
register struct obj *pen;
{
register struct obj *paper;
+#if 0 /*JP*/
char namebuf[BUFSZ], *nm, *bp;
+#else
+ char namebuf[BUFSZ], *nm;
+#endif
register struct obj *new_obj;
int basecost, actualcost;
int curseval;
attrs[0] = attrs[1] = attr;
- WriteConsoleOutputAttribute(hConOut,&attrs,2,
+ WriteConsoleOutputAttribute(hConOut,(WORD *)(&attrs),2,
cursor,&acount);
WriteConsoleOutputCharacter(hConOut,buf,2,
cursor,&ccount);