Lines Matching refs:protofile
961 char protofile[20]; local
967 Sprintf(protofile, "%s-%d", s, rnd((int) sp->rndlevs));
969 Strcpy(protofile, s);
973 Sprintf(protofile, "%s%d-%d", dungeons[u.uz.dnum].proto,
976 Sprintf(protofile, "%s%d", dungeons[u.uz.dnum].proto,
979 Sprintf(protofile, "%s-%d", dungeons[u.uz.dnum].proto,
982 Strcpy(protofile, dungeons[u.uz.dnum].proto);
985 Strcpy(protofile, "");
988 if (wizard && *protofile && sp && sp->rndlevs) {
992 int len = (int) ((rindex(protofile, '-') - protofile) + 1);
995 if (!strncmp(ep, protofile, len)) {
999 Sprintf(protofile + len, "%d", pick);
1010 if (*protofile) {
1011 check_ransacked(protofile);
1012 Strcat(protofile, LEV_EXT);
1013 if (load_special(protofile)) {
1019 impossible("Couldn't load \"%s\" - making a maze.", protofile);