+
+ default:
+ if((adj & 0222) == 0200) {
+ return TILE_STROPEN;
+ }
+ if((adj & 0222) == 0002) {
+ *rot = 2;
+ return TILE_STROPEN;
+ }
+ if((adj & 0070) == 0040) {
+ *rot = 3;
+ return TILE_STROPEN;
+ }
+ if((adj & 0070) == 0010) {
+ *rot = 1;
+ return TILE_STROPEN;
+ }
+
+ if((adj & 0070) == 0050) {
+ *rot = 1; /* straight N-S */
+ return TILE_STR;
+ }
+ if((adj & 0202) == 0202) {
+ return TILE_STR; /* straight E-W */
+ }