--- main.c.orig 2002-05-08 16:39:10.000000000 -0400
+++ main.c 2006-04-17 21:43:17.000000000 -0400
srcount=0; sigsav=nosignal; nosignal=1;
- if (c[GOLD]) { lprintf(".) %d gold pieces",(long)c[GOLD]); srcount++; }
+ if (c[GOLD]) { lprintf(2,".) %d gold pieces",(long)c[GOLD]); srcount++; }
for (j=0; j<=k; j++) if (i==iven[j]) show3(j); k=0; }
- lprintf("\nElapsed time is %d. You have %d mobuls left",(long)((gtime+99)/100+1),(long)((TIMELIMIT-gtime)/100));
+ lprintf(3,"\nElapsed time is %d. You have %d mobuls left",(long)((gtime+99)/100+1),(long)((TIMELIMIT-gtime)/100));
- if (str2==0) lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]);
- else if (*str2[ivenarg[idx]]==0) lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]);
- else lprintf("\n%c) %s of%s",idx+'a',objectname[iven[idx]],str2[ivenarg[idx]]);
+ if (str2==0) lprintf(3,"\n%c) %s",idx+'a',objectname[iven[idx]]);
+ else if (*str2[ivenarg[idx]]==0) lprintf(3,"\n%c) %s",idx+'a',objectname[iven[idx]]);
+ else lprintf(4,"\n%c) %s of%s",idx+'a',objectname[iven[idx]],str2[ivenarg[idx]]);
case OEMERALD: case OCHEST: case OCOOKIE:
case OSAPPHIRE: case ONOTHEFT: show1(index,(char **)0); break;
- default: lprintf("\n%c) %s",index+'a',objectname[iven[index]]);
- if (ivenarg[index]>0) lprintf(" + %d",(long)ivenarg[index]);
- else if (ivenarg[index]<0) lprintf(" %d",(long)ivenarg[index]);
+ default: lprintf(3,"\n%c) %s",index+'a',objectname[iven[index]]);
+ if (ivenarg[index]>0) lprintf(2," + %d",(long)ivenarg[index]);
+ else if (ivenarg[index]<0) lprintf(2," %d",(long)ivenarg[index]);
if (c[WIELD]==index) lprcat(" (weapon in hand)");
- lprintf("\nThe stuff you are carrying presently weighs %d pounds",(long)packweight());
+ lprintf(2,"\nThe stuff you are carrying presently weighs %d pounds",(long)packweight());
case ' ': yrepcount=0; nomove=1; return;
case 'v': yrepcount=0; cursors();
- lprintf("\nCaverns of Larn, Version %d.%d, Diff=%d",(long)VERSION,(long)SUBVERSION,(long)c[HARDGAME]);
+ lprintf(4,"\nCaverns of Larn, Version %d.%d, Diff=%d",(long)VERSION,(long)SUBVERSION,(long)c[HARDGAME]);
if (wizard) lprcat(" Wizard"); nomove=1;
if (cheat) lprcat(" Cheater");
- lprintf("\nYou presently owe %d gp in taxes.",(long)outstanding_taxes);
+ lprintf(2,"\nYou presently owe %d gp in taxes.",(long)outstanding_taxes);
lprcat("\nYou do not owe any taxes.");
- { cursors(); lprintf("\nYou don't have item %c!",x); }
+ { cursors(); lprintf(2,"\nYou don't have item %c!",x); }
- { cursors(); lprintf("\nYou can't wield item %c!",x); }
+ { cursors(); lprintf(2,"\nYou can't wield item %c!",x); }