Remove handlers for disused advent format specifiers.

This commit is contained in:
Jason S. Ninneman 2017-06-11 10:33:46 -07:00
parent d6c707f6ac
commit 639eff8b0b

26
misc.c
View file

@ -57,32 +57,6 @@ void SPEAK(vocab_t msg)
++nparms; ++nparms;
continue; continue;
} }
if (prmtyp == ascii_to_advent['T']) {
SHFTXT(LNPOSN+2,-2);
state=0;
casemake=2;
while (PARMS[nparms] > 0) {
if (PARMS[nparms+1] < 0)
casemake=0;
PUTTXT(PARMS[nparms],&state,casemake);
++nparms;
}
++nparms;
continue;
}
if (prmtyp == ascii_to_advent['B']) {
prmtyp=PARMS[nparms];
SHFTXT(LNPOSN+2,prmtyp-2);
if (prmtyp != 0) {
for (i=1; i<=prmtyp; i++) {
INLINE[LNPOSN]=0;
++LNPOSN;
}
}
++nparms;
continue;
}
if (prmtyp == ascii_to_advent['W'] || prmtyp == ascii_to_advent['L'] || prmtyp == ascii_to_advent['U'] || prmtyp == ascii_to_advent['C']) { if (prmtyp == ascii_to_advent['W'] || prmtyp == ascii_to_advent['L'] || prmtyp == ascii_to_advent['U'] || prmtyp == ascii_to_advent['C']) {
SHFTXT(LNPOSN+2,-2); SHFTXT(LNPOSN+2,-2);
state = 0; state = 0;