1*a2142627SBen JolitzBIT signal.c /^#define BIT(a) (1<<((a)-1))$/ 2*a2142627SBen JolitzMmain main.c /^main(argc,argv)$/ 3*a2142627SBen Jolitzadjtime object.c /^adjtime(tim)$/ 4*a2142627SBen Jolitzadjustcvalues global.c /^adjustcvalues(itm,arg)$/ 5*a2142627SBen Jolitzannihilate monster.c /^annihilate()$/ 6*a2142627SBen Jolitzappraise store.c /^appraise(gemstone)$/ 7*a2142627SBen Jolitzbanktitle store.c /^banktitle(str)$/ 8*a2142627SBen Jolitzbeep io.c /^beep()$/ 9*a2142627SBen Jolitzbit nap.c /^#define bit(_a) (1<<((_a)-1))$/ 10*a2142627SBen Jolitzbot_hpx display.c /^bot_hpx()$/ 11*a2142627SBen Jolitzbot_linex display.c /^bot_linex()$/ 12*a2142627SBen Jolitzbot_spellx display.c /^bot_spellx()$/ 13*a2142627SBen Jolitzbotside display.c /^botside()$/ 14*a2142627SBen Jolitzbotsub display.c /^botsub(idx,str)$/ 15*a2142627SBen Jolitzbottomdo display.c /^bottomdo()$/ 16*a2142627SBen Jolitzbottomgold display.c /^bottomgold()$/ 17*a2142627SBen Jolitzbottomhp display.c /^bottomhp()$/ 18*a2142627SBen Jolitzbottomline display.c /^bottomline()$/ 19*a2142627SBen Jolitzbottomspell display.c /^bottomspell()$/ 20*a2142627SBen Jolitzcannedlevel create.c /^cannedlevel(k)$/ 21*a2142627SBen Jolitzcast monster.c /^cast()$/ 22*a2142627SBen Jolitzcgood monster.c /^int cgood(x,y,itm,monst)$/ 23*a2142627SBen Jolitzcheckgen create.c /^checkgen()$/ 24*a2142627SBen Jolitzcheckloss monster.c /^checkloss(x)$/ 25*a2142627SBen Jolitzcl_dn io.c /^cl_dn(x,y)$/ 26*a2142627SBen Jolitzcl_line io.c /^cl_line(x,y)$/ 27*a2142627SBen Jolitzcl_up io.c /^cl_up(x,y)$/ 28*a2142627SBen Jolitzclearvt100 io.c /^clearvt100()$/ 29*a2142627SBen Jolitzcnsitm store.c /^cnsitm()$/ 30*a2142627SBen Jolitzcntlc signal.c /^cntlc() \/* what to do for a ^C *\/$/ 31*a2142627SBen Jolitzcreategem global.c /^creategem()$/ 32*a2142627SBen Jolitzcreateitem monster.c /^createitem(it,arg)$/ 33*a2142627SBen Jolitzcreatemonster monster.c /^createmonster(mon)$/ 34*a2142627SBen Jolitzcursor io.c /^cursor(x,y)$/ 35*a2142627SBen Jolitzcursors io.c /^cursors()$/ 36*a2142627SBen Jolitzdcount diag.c /^dcount(l)$/ 37*a2142627SBen Jolitzdiag diag.c /^diag()$/ 38*a2142627SBen Jolitzdiagdrawscreen diag.c /^diagdrawscreen()$/ 39*a2142627SBen Jolitzdied scores.c /^died(x)$/ 40*a2142627SBen Jolitzdiedlog scores.c /^diedlog()$/ 41*a2142627SBen Jolitzdiedsub scores.c /^diedsub(x)$/ 42*a2142627SBen Jolitzdirect monster.c /^direct(spnum,dam,str,arg)$/ 43*a2142627SBen Jolitzdirpoly monster.c /^dirpoly(spnum)$/ 44*a2142627SBen Jolitzdirsub monster.c /^dirsub(x,y)$/ 45*a2142627SBen Jolitzdnd_2hed store.c /^dnd_2hed()$/ 46*a2142627SBen Jolitzdnd_hed store.c /^dnd_hed()$/ 47*a2142627SBen Jolitzdnditem store.c /^dnditem(i)$/ 48*a2142627SBen Jolitzdndstore store.c /^dndstore()$/ 49*a2142627SBen Jolitzdoraw io.c /^#define doraw(_a) if(!rawflg){++rawflg;saveeof=_a./ 50*a2142627SBen Jolitzdraws display.c /^draws(xmin,xmax,ymin,ymax)$/ 51*a2142627SBen Jolitzdrawscreen display.c /^drawscreen()$/ 52*a2142627SBen Jolitzdrop_object global.c /^drop_object(k)$/ 53*a2142627SBen Jolitzdropgold monster.c /^dropgold(amount)$/ 54*a2142627SBen Jolitzdropobj main.c /^dropobj()$/ 55*a2142627SBen Jolitzdropsomething monster.c /^dropsomething(monst)$/ 56*a2142627SBen Jolitzeat create.c /^eat(xx,yy)$/ 57*a2142627SBen Jolitzeatcookie main.c /^eatcookie()$/ 58*a2142627SBen Jolitzemptyhanded global.c /^emptyhanded()$/ 59*a2142627SBen Jolitzenchantarmor global.c /^enchantarmor()$/ 60*a2142627SBen Jolitzenchweapon global.c /^enchweapon()$/ 61*a2142627SBen Jolitzfch moreobj.c /^fch(how,x)$/ 62*a2142627SBen Jolitzfcheat diag.c /^fcheat()$/ 63*a2142627SBen Jolitzfillmonst create.c /^fillmonst(what)$/ 64*a2142627SBen Jolitzfillmroom create.c /^fillmroom(n,what,arg)$/ 65*a2142627SBen Jolitzfillroom create.c /^fillroom(what,arg)$/ 66*a2142627SBen Jolitzfinditem object.c /^finditem(itm)$/ 67*a2142627SBen Jolitzflush_buf io.c /^flush_buf()$/ 68*a2142627SBen Jolitzflushall tok.c /^flushall()$/ 69*a2142627SBen Jolitzfntchange moreobj.c /^fntchange(how)$/ 70*a2142627SBen Jolitzfortune fortune.c /^char *fortune(file)$/ 71*a2142627SBen Jolitzfroom create.c /^froom(n,itm,arg)$/ 72*a2142627SBen Jolitzfsorry diag.c /^fsorry()$/ 73*a2142627SBen Jolitzfullhit monster.c /^fullhit(xx)$/ 74*a2142627SBen Jolitzgenmonst monster.c /^genmonst()$/ 75*a2142627SBen Jolitzgetchar io.c /^getchar()$/ 76*a2142627SBen Jolitzgetlevel savelev.c /^getlevel()$/ 77*a2142627SBen Jolitzgetpassword global.c /^getpassword()$/ 78*a2142627SBen Jolitzgetplid scores.c /^getplid(nam)$/ 79*a2142627SBen Jolitzgettokstr global.c /^gettokstr(str)$/ 80*a2142627SBen Jolitzgetyn global.c /^getyn()$/ 81*a2142627SBen Jolitzgodirect monster.c /^godirect(spnum,dam,str,delay,cshow)$/ 82*a2142627SBen Jolitzgreedy diag.c /^greedy()$/ 83*a2142627SBen Jolitzgtty io.c /^#define gtty(_a,_b) ioctl(_a,TCGETA,_b)$/ 84*a2142627SBen Jolitzhandsfull store.c /^handsfull()$/ 85*a2142627SBen Jolitzhashewon scores.c /^hashewon()$/ 86*a2142627SBen Jolitzhelp help.c /^help()$/ 87*a2142627SBen Jolitzhitm monster.c /^hitm(x,y,amt)$/ 88*a2142627SBen Jolitzhitmonster monster.c /^hitmonster(x,y)$/ 89*a2142627SBen Jolitzhitplayer monster.c /^hitplayer(x,y)$/ 90*a2142627SBen Jolitzifblind monster.c /^ifblind(x,y)$/ 91*a2142627SBen Jolitzignore object.c /^ignore()$/ 92*a2142627SBen Jolitzinit_term io.c /^init_term()$/ 93*a2142627SBen Jolitziopts object.c /^iopts()$/ 94*a2142627SBen Jolitzisconfuse monster.c /^isconfuse()$/ 95*a2142627SBen Jolitzlappend io.c /^lappend(str)$/ 96*a2142627SBen Jolitzlcreat io.c /^lcreat(str)$/ 97*a2142627SBen Jolitzletter1 bill.c /^static letter1()$/ 98*a2142627SBen Jolitzletter2 bill.c /^static letter2()$/ 99*a2142627SBen Jolitzletter3 bill.c /^static letter3()$/ 100*a2142627SBen Jolitzletter4 bill.c /^static letter4()$/ 101*a2142627SBen Jolitzletter5 bill.c /^static letter5()$/ 102*a2142627SBen Jolitzletter6 bill.c /^static letter6()$/ 103*a2142627SBen Jolitzlflush io.c /^lflush ()$/ 104*a2142627SBen Jolitzlgetc io.c /^long lgetc()$/ 105*a2142627SBen Jolitzlgetl io.c /^char *lgetl()$/ 106*a2142627SBen Jolitzlgetw io.c /^char *lgetw()$/ 107*a2142627SBen Jolitzlookforobject object.c /^lookforobject()$/ 108*a2142627SBen Jolitzlopen io.c /^lopen(str)$/ 109*a2142627SBen Jolitzloseexperience global.c /^loseexperience(x)$/ 110*a2142627SBen Jolitzlosehp global.c /^losehp(x)$/ 111*a2142627SBen Jolitzloseint monster.c /^loseint()$/ 112*a2142627SBen Jolitzloselevel global.c /^loselevel()$/ 113*a2142627SBen Jolitzlosemhp global.c /^losemhp(x)$/ 114*a2142627SBen Jolitzlosemspells global.c /^losemspells(x)$/ 115*a2142627SBen Jolitzlosespells global.c /^losespells(x)$/ 116*a2142627SBen Jolitzlprcat io.c /^lprcat(str)$/ 117*a2142627SBen Jolitzlprint io.c /^lprint(x)$/ 118*a2142627SBen Jolitzlprintf io.c /^lprintf(str)$/ 119*a2142627SBen Jolitzlrclose io.c /^lrclose()$/ 120*a2142627SBen Jolitzlrfill io.c /^lrfill(adr,num)$/ 121*a2142627SBen Jolitzlrint io.c /^long lrint()$/ 122*a2142627SBen Jolitzlwclose io.c /^lwclose()$/ 123*a2142627SBen Jolitzlwrite io.c /^lwrite(buf,len)$/ 124*a2142627SBen Jolitzmailbill bill.c /^mailbill()$/ 125*a2142627SBen Jolitzmakeboard scores.c /^makeboard()$/ 126*a2142627SBen Jolitzmakecode display.c /^#define makecode(_a,_b,_c) (((_a)<<16) + ((_b)<<8)/ 127*a2142627SBen Jolitzmakemaze create.c /^ makemaze(k)$/ 128*a2142627SBen Jolitzmakemonst global.c /^makemonst(lev)$/ 129*a2142627SBen Jolitzmakeobject create.c /^makeobject(j)$/ 130*a2142627SBen Jolitzmakeplayer create.c /^makeplayer()$/ 131*a2142627SBen Jolitzmmove movem.c /^mmove(aa,bb,cc,dd)$/ 132*a2142627SBen Jolitzmore global.c /^more()$/ 133*a2142627SBen Jolitzmovemonst movem.c /^movemonst()$/ 134*a2142627SBen Jolitzmovemt movem.c /^movemt(i,j)$/ 135*a2142627SBen Jolitzmoveplayer display.c /^moveplayer(dir)$/ 136*a2142627SBen Jolitzmovsphere movem.c /^movsphere()$/ 137*a2142627SBen Jolitznap nap.c /^nap(x)$/ 138*a2142627SBen Jolitznapms nap.c /^napms(x) \/* do nothing *\/$/ 139*a2142627SBen Jolitznearbymonst global.c /^nearbymonst()$/ 140*a2142627SBen Jolitznew1sub scores.c /^new1sub(score,i,whoo,taxes)$/ 141*a2142627SBen Jolitznew2sub scores.c /^new2sub(score,i,whoo,whyded)$/ 142*a2142627SBen Jolitznewcavelevel create.c /^newcavelevel(x)$/ 143*a2142627SBen Jolitznewgame io.c /^newgame()$/ 144*a2142627SBen Jolitznewobject monster.c /^newobject(lev,i)$/ 145*a2142627SBen Jolitznewscore scores.c /^newscore(score, whoo, whyded, winner)$/ 146*a2142627SBen Jolitznewsphere monster.c /^newsphere(x,y,dir,life)$/ 147*a2142627SBen Jolitznogold store.c /^static void nogold()$/ 148*a2142627SBen Jolitznospell monster.c /^nospell(x,monst)$/ 149*a2142627SBen Jolitznullf nap.c /^static nullf()$/ 150*a2142627SBen Jolitzoaltar moreobj.c /^oaltar()$/ 151*a2142627SBen Jolitzobank store.c /^obank()$/ 152*a2142627SBen Jolitzobank2 store.c /^obank2()$/ 153*a2142627SBen Jolitzobanksub store.c /^obanksub()$/ 154*a2142627SBen Jolitzobook object.c /^obook()$/ 155*a2142627SBen Jolitzobottomless object.c /^obottomless()$/ 156*a2142627SBen Jolitzochest moreobj.c /^ochest()$/ 157*a2142627SBen Jolitzocookie object.c /^ocookie()$/ 158*a2142627SBen Jolitzodeadthrone moreobj.c /^odeadthrone()$/ 159*a2142627SBen Jolitzoelevator object.c /^oelevator(dir)$/ 160*a2142627SBen Jolitzofountain moreobj.c /^ofountain()$/ 161*a2142627SBen Jolitzogold object.c /^ogold(arg)$/ 162*a2142627SBen Jolitzohear moreobj.c /^ohear()$/ 163*a2142627SBen Jolitzohome object.c /^ohome()$/ 164*a2142627SBen Jolitzointerest store.c /^ointerest()$/ 165*a2142627SBen Jolitzolrs store.c /^olrs()$/ 166*a2142627SBen Jolitzomirror object.c /^omirror()$/ 167*a2142627SBen Jolitzomnidirect monster.c /^omnidirect(spnum,dam,str)$/ 168*a2142627SBen Jolitzoorb object.c /^oorb()$/ 169*a2142627SBen Jolitzopenhelp help.c /^openhelp()$/ 170*a2142627SBen Jolitzopit object.c /^opit()$/ 171*a2142627SBen Jolitzopotion object.c /^opotion(pot)$/ 172*a2142627SBen Jolitzoschool store.c /^oschool()$/ 173*a2142627SBen Jolitzoscroll object.c /^oscroll(typ)$/ 174*a2142627SBen Jolitzostairs object.c /^ostairs(dir)$/ 175*a2142627SBen Jolitzostatue object.c /^ostatue()$/ 176*a2142627SBen Jolitzoteleport object.c /^oteleport(err)$/ 177*a2142627SBen Jolitzothrone moreobj.c /^othrone(arg)$/ 178*a2142627SBen Jolitzotradepost store.c /^otradepost()$/ 179*a2142627SBen Jolitzotradhead store.c /^static otradhead()$/ 180*a2142627SBen Jolitzoutofstock store.c /^outofstock()$/ 181*a2142627SBen Jolitzpackweight global.c /^packweight()$/ 182*a2142627SBen Jolitzparse main.c /^parse()$/ 183*a2142627SBen Jolitzparse2 main.c /^parse2()$/ 184*a2142627SBen Jolitzpaytaxes scores.c /^long paytaxes(x)$/ 185*a2142627SBen Jolitzpocketfull global.c /^pocketfull()$/ 186*a2142627SBen Jolitzpositionplayer global.c /^positionplayer()$/ 187*a2142627SBen Jolitzputchar io.c /^int putchar(c)$/ 188*a2142627SBen Jolitzqshowstr main.c /^qshowstr()$/ 189*a2142627SBen Jolitzquaff main.c /^quaff()$/ 190*a2142627SBen Jolitzquaffpotion object.c /^quaffpotion(pot)$/ 191*a2142627SBen Jolitzquit global.c /^quit()$/ 192*a2142627SBen Jolitzraiseexperience global.c /^raiseexperience(x)$/ 193*a2142627SBen Jolitzraisehp global.c /^raisehp(x)$/ 194*a2142627SBen Jolitzraiselevel global.c /^raiselevel()$/ 195*a2142627SBen Jolitzraisemhp global.c /^raisemhp(x)$/ 196*a2142627SBen Jolitzraisemspells global.c /^raisemspells(x)$/ 197*a2142627SBen Jolitzraisespells global.c /^raisespells(x)$/ 198*a2142627SBen Jolitzrandmonst main.c /^randmonst()$/ 199*a2142627SBen Jolitzread_scroll object.c /^read_scroll(typ)$/ 200*a2142627SBen Jolitzreadboard scores.c /^readboard()$/ 201*a2142627SBen Jolitzreadbook object.c /^readbook(lev)$/ 202*a2142627SBen Jolitzreadnum main.c /^unsigned long readnum(mx)$/ 203*a2142627SBen Jolitzreadopts tok.c /^readopts()$/ 204*a2142627SBen Jolitzreadscr main.c /^readscr()$/ 205*a2142627SBen Jolitzrecalc global.c /^recalc()$/ 206*a2142627SBen Jolitzregen regen.c /^regen()$/ 207*a2142627SBen Jolitzrestoregame diag.c /^restoregame(fname)$/ 208*a2142627SBen Jolitzretcont help.c /^retcont()$/ 209*a2142627SBen Jolitzrmsphere monster.c /^rmsphere(x,y)$/ 210*a2142627SBen Jolitzrnd global.c /^rnd(x)$/ 211*a2142627SBen Jolitzrun main.c /^run(dir)$/ 212*a2142627SBen Jolitzrund global.c /^rund(x)$/ 213*a2142627SBen Jolitzs2choose signal.c /^static s2choose() \/* text to be displayed if ^C d/ 214*a2142627SBen Jolitzsavegame diag.c /^savegame(fname)$/ 215*a2142627SBen Jolitzsavelevel savelev.c /^savelevel()$/ 216*a2142627SBen Jolitzscbr io.c /^scbr()$/ 217*a2142627SBen Jolitzsch_hed store.c /^sch_hed()$/ 218*a2142627SBen Jolitzseemagic display.c /^seemagic(arg)$/ 219*a2142627SBen Jolitzseepage display.c /^seepage()$/ 220*a2142627SBen Jolitzset_score_output io.c /^set_score_output()$/ 221*a2142627SBen Jolitzsethard tok.c /^sethard(hard)$/ 222*a2142627SBen Jolitzsethp create.c /^sethp(flg)$/ 223*a2142627SBen Jolitzsetupvt100 io.c /^setupvt100()$/ 224*a2142627SBen Jolitzsgam signal.c /^sgam()$/ 225*a2142627SBen Jolitzshou scores.c /^shou(x)$/ 226*a2142627SBen Jolitzshow1 main.c /^show1(idx,str2)$/ 227*a2142627SBen Jolitzshow1cell display.c /^show1cell(x,y)$/ 228*a2142627SBen Jolitzshow3 main.c /^show3(index)$/ 229*a2142627SBen Jolitzshowallscores scores.c /^showallscores()$/ 230*a2142627SBen Jolitzshowcell display.c /^showcell(x,y)$/ 231*a2142627SBen Jolitzshoweat main.c /^showeat()$/ 232*a2142627SBen Jolitzshowplayer display.c /^showplayer()$/ 233*a2142627SBen Jolitzshowquaff main.c /^showquaff()$/ 234*a2142627SBen Jolitzshowread main.c /^showread()$/ 235*a2142627SBen Jolitzshowscores scores.c /^showscores()$/ 236*a2142627SBen Jolitzshowstr main.c /^showstr()$/ 237*a2142627SBen Jolitzshowwear main.c /^showwear()$/ 238*a2142627SBen Jolitzshowwield main.c /^showwield()$/ 239*a2142627SBen Jolitzsigbus signal.c /^static void sigbus() { sigpanic(SIGBUS); }$/ 240*a2142627SBen Jolitzsigemt signal.c /^static void sigemt() { sigpanic(SIGEMT); }$/ 241*a2142627SBen Jolitzsigfpe signal.c /^static void sigfpe() { sigpanic(SIGFPE); }$/ 242*a2142627SBen Jolitzsigill signal.c /^static void sigill() { sigpanic(SIGILL); }$/ 243*a2142627SBen Jolitzsigiot signal.c /^static void sigiot() { sigpanic(SIGIOT); }$/ 244*a2142627SBen Jolitzsigpanic signal.c /^sigpanic(sig)$/ 245*a2142627SBen Jolitzsigpipe signal.c /^static void sigpipe() { sigpanic(SIGPIPE); }$/ 246*a2142627SBen Jolitzsigsegv signal.c /^static void sigsegv() { sigpanic(SIGSEGV); }$/ 247*a2142627SBen Jolitzsigsetup signal.c /^sigsetup()$/ 248*a2142627SBen Jolitzsigsys signal.c /^static void sigsys() { sigpanic(SIGSYS); }$/ 249*a2142627SBen Jolitzsigterm signal.c /^static void sigterm() { sigpanic(SIGTERM); }$/ 250*a2142627SBen Jolitzsigtrap signal.c /^static void sigtrap() { sigpanic(SIGTRAP); }$/ 251*a2142627SBen Jolitzsncbr io.c /^sncbr()$/ 252*a2142627SBen Jolitzsomething monster.c /^something(level)$/ 253*a2142627SBen Jolitzsortboard scores.c /^sortboard()$/ 254*a2142627SBen Jolitzspattack monster.c /^spattack(x,xx,yy)$/ 255*a2142627SBen Jolitzspeldamage monster.c /^speldamage(x)$/ 256*a2142627SBen Jolitzsphboom monster.c /^sphboom(x,y)$/ 257*a2142627SBen Jolitzsprintf io.c /^sprintf(str)$/ 258*a2142627SBen Jolitzstandout io.c /^standout(str)$/ 259*a2142627SBen Jolitzstealsomething global.c /^stealsomething()$/ 260*a2142627SBen Jolitzstty io.c /^#define stty(_a,_b) ioctl(_a,TCSETA,_b)$/ 261*a2142627SBen Jolitzszero main.c /^szero(str)$/ 262*a2142627SBen Jolitzt_endup main.c /^t_endup(count)$/ 263*a2142627SBen Jolitzt_setup main.c /^t_setup(count)$/ 264*a2142627SBen Jolitztake global.c /^take(itm,arg)$/ 265*a2142627SBen Jolitztdirect monster.c /^tdirect(spnum)$/ 266*a2142627SBen Jolitztmcapcnv io.c /^char *tmcapcnv(sd,ss) $/ 267*a2142627SBen Jolitztreasureroom create.c /^treasureroom(lv)$/ 268*a2142627SBen Jolitztroom create.c /^troom(lv,xsize,ysize,tx,ty,glyph)$/ 269*a2142627SBen Jolitztstop signal.c /^tstop() \/* control Y *\/$/ 270*a2142627SBen Jolitzunraw io.c /^#define unraw(_a) _a.c_cc[VMIN]=saveeof;_a.c_cc[VT/ 271*a2142627SBen Jolitzva_arg io.c /^#define va_arg(plist,mode) ((mode *)(plist += size/ 272*a2142627SBen Jolitzva_end io.c /^#define va_end(plist)$/ 273*a2142627SBen Jolitzva_start io.c /^#define va_start(plist) plist = (char *) &va_alist/ 274*a2142627SBen Jolitzvxy monster.c /^vxy(x,y)$/ 275*a2142627SBen Jolitzwear main.c /^wear()$/ 276*a2142627SBen Jolitzwelcome help.c /^welcome()$/ 277*a2142627SBen Jolitzwhatitem main.c /^whatitem(str)$/ 278*a2142627SBen Jolitzwield main.c /^wield() $/ 279*a2142627SBen Jolitzwinshou scores.c /^winshou()$/ 280*a2142627SBen Jolitzwriteboard scores.c /^writeboard()$/ 281*a2142627SBen Jolitzycwi main.c /^ycwi(x)$/ 282*a2142627SBen Jolitzydhi main.c /^ydhi(x)$/ 283*a2142627SBen Jolitzyylex tok.c /^yylex()$/ 284