Minor special level and compiler tweakage
Fix allowed map characters. Make some predefined MAPs blend in better with randomly generated parts.
This commit is contained in:
@@ -112,7 +112,7 @@ FILE *orig_yyin = NULL;
|
||||
map_cnt = 0;
|
||||
return MAP_ID;
|
||||
}
|
||||
<MAPC>[-|}{+xABCISHKMPLWTtFYU\\#. 0123456789]*\r?\n {
|
||||
<MAPC>[-|}{+xABCISHKPLWTF\\#. 0123456789]*\r?\n {
|
||||
int len = yyleng;
|
||||
savetoken(yytext);
|
||||
/* convert \r\n to \n */
|
||||
|
||||
@@ -1186,15 +1186,15 @@ char c;
|
||||
case 'H' : return(SCORR);
|
||||
case '{' : return(FOUNTAIN);
|
||||
case '\\' : return(THRONE);
|
||||
case 'K' :
|
||||
return(SINK);
|
||||
case 'K' : return(SINK);
|
||||
case '}' : return(MOAT);
|
||||
case 'P' : return(POOL);
|
||||
case 'L' : return(LAVAPOOL);
|
||||
case 'I' : return(ICE);
|
||||
case 'W' : return(WATER);
|
||||
case 'T' : return (TREE);
|
||||
case 'F' : return (IRONBARS); /* Fe = iron */
|
||||
case 'T' : return (TREE);
|
||||
case 'F' : return (IRONBARS); /* Fe = iron */
|
||||
case 'x' : return(MAX_TYPE); /* "see-through" */
|
||||
}
|
||||
return(INVALID_TYPE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user