X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=main.c;h=4854b695f187bb55545f8b5adc0c40f49a5ba56e;hb=31837249f82629048f9010a0bf29112397a036f8;hp=d93c9671f518d1451b1fe55e962bcc2b554562e6;hpb=65c081a0acc24707915a2abf80ef64ed70e50f45;p=open-adventure.git diff --git a/main.c b/main.c index d93c967..4854b69 100644 --- a/main.c +++ b/main.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "main.h" #include "misc.h" @@ -18,7 +17,6 @@ long ABB[186], ATAB[331], ATLOC[186], BLKLIN = true, DFLAG, PARMS[26], PLACE[101], PTEXT[101], RTEXT[278], SETUP = 0, TABSIZ = 330; signed char INLINE[LINESIZE+1], MAP1[129], MAP2[129]; -signed char raw_input[LINESIZE+1]; long ABBNUM, ACTSPK[36], AMBER, ATTACK, AXE, BACK, BATTER, BEAR, BIRD, BLOOD, BONUS, BOTTLE, CAGE, CAVE, CAVITY, CHAIN, CHASM, CHEST, CHLOC, CHLOC2, @@ -450,19 +448,8 @@ L2800: WD1=WD2; /* Gee, I don't understand. */ L3000: SETPRM(1,WD1,WD1X); - /* This is a kludge. The command parser we inherited from the base 2.5 - * barfs on numeric tokens. It will fall through to here when it sees - * seed NNNN. Instead of barfing, go straight to the action processor - * where it will examine the raw input. This will fo away when we get - * rid of the obfuscated FORTRANoid input processing. - */ - if (strncmp(raw_input, "seed", 4) == 0) { - I=4090; K=34; - goto Laction; - } else { - RSPEAK(254); - goto L2600; - } + RSPEAK(254); + goto L2600; /* Verb and object analysis moved to separate module. */