case Xtank_2_e:
case Xtank_2_s:
case Xtank_2_w:
- cave[x][y-1] = Xboom_bomb;
+ cave[x][y-1] = Xboom_tank;
break;
}
case Xtank_2_e:
case Xtank_2_s:
case Xtank_2_w:
- cave[x+1][y] = Xboom_bomb;
+ cave[x+1][y] = Xboom_tank;
break;
}
case Xtank_2_e:
case Xtank_2_s:
case Xtank_2_w:
- cave[x][y+1] = Xboom_bomb;
+ cave[x][y+1] = Xboom_tank;
break;
}
case Xtank_2_e:
case Xtank_2_s:
case Xtank_2_w:
- cave[x-1][y] = Xboom_bomb;
+ cave[x-1][y] = Xboom_tank;
break;
}
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xboom_1:
return;
case Zeater:
case Zdynamite:
case Xboom_bug:
- case Xboom_bomb:
+ case Xboom_tank:
case Xboom_android:
case Xacid_1:
case Xacid_2:
case Xbomb:
case Xbomb_pause:
case Xbomb_fall:
- cave[x][y] = Xboom_bomb;
+ cave[x][y] = Xboom_tank;
return;
default:
case Xpause: Lpause(x, y); break;
case Xboom_bug: Lboom_bug(x, y, Xboom_bug); break;
- case Xboom_bomb: Lboom_tank(x, y, Xboom_bomb); break;
+ case Xboom_tank: Lboom_tank(x, y, Xboom_tank); break;
case Xboom_android: Lboom_android(x, y); break;
case Xboom_1: Lboom_1(x, y); break;
case Xboom_2: Lboom_2(x, y); break;
}
em_object_mapping_list[] =
{
+ {
+ Zborder, FALSE, FALSE,
+ EL_EMPTY, -1, -1
+ },
+ {
+ Zplayer, FALSE, FALSE,
+ EL_EMPTY, -1, -1
+ },
+
+ {
+ Zbug, FALSE, FALSE,
+ EL_EMPTY, -1, -1
+ },
+ {
+ Ztank, FALSE, FALSE,
+ EL_EMPTY, -1, -1
+ },
+ {
+ Zeater, FALSE, FALSE,
+ EL_EMPTY, -1, -1
+ },
+ {
+ Zdynamite, FALSE, FALSE,
+ EL_EMPTY, -1, -1
+ },
+
+ {
+ Xboom_bug, FALSE, FALSE,
+ EL_BUG, ACTION_EXPLODING, -1
+ },
+ {
+ Xboom_tank, FALSE, FALSE,
+ EL_SPACESHIP, ACTION_EXPLODING, -1
+ },
+ {
+ Xboom_android, FALSE, FALSE,
+ EL_EMC_ANDROID, ACTION_OTHER, -1
+ },
+ {
+ Xboom_1, FALSE, FALSE,
+ EL_DEFAULT, ACTION_EXPLODING, -1
+ },
+ {
+ Xboom_2, FALSE, FALSE,
+ EL_DEFAULT, ACTION_EXPLODING, -1
+ },
+
{
Xblank, TRUE, FALSE,
EL_EMPTY, -1, -1
EL_SAND, ACTION_SNAPPING, -1
},
- {
- Xboom_bug, FALSE, FALSE,
- EL_BUG, ACTION_EXPLODING, -1
- },
- {
- Xboom_bomb, FALSE, FALSE,
- EL_BOMB, ACTION_EXPLODING, -1
- },
- {
- Xboom_android, FALSE, FALSE,
- EL_EMC_ANDROID, ACTION_OTHER, -1
- },
- {
- Xboom_1, FALSE, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
- },
- {
- Xboom_2, FALSE, FALSE,
- EL_DEFAULT, ACTION_EXPLODING, -1
- },
- {
- Zbug, FALSE, FALSE,
- EL_EMPTY, -1, -1
- },
- {
- Ztank, FALSE, FALSE,
- EL_EMPTY, -1, -1
- },
- {
- Zeater, FALSE, FALSE,
- EL_EMPTY, -1, -1
- },
- {
- Zdynamite, FALSE, FALSE,
- EL_EMPTY, -1, -1
- },
- {
- Zplayer, FALSE, FALSE,
- EL_EMPTY, -1, -1
- },
- {
- Zborder, FALSE, FALSE,
- EL_EMPTY, -1, -1
- },
-
{
-1, FALSE, FALSE,
-1, -1, -1
i == Xboom_bug && j == 5 ? 2 :
i == Xboom_bug && j == 6 ? 2 :
i == Xboom_bug && j == 7 ? 0 :
- i == Xboom_bomb && j == 1 ? 2 :
- i == Xboom_bomb && j == 2 ? 2 :
- i == Xboom_bomb && j == 3 ? 4 :
- i == Xboom_bomb && j == 4 ? 4 :
- i == Xboom_bomb && j == 5 ? 2 :
- i == Xboom_bomb && j == 6 ? 2 :
- i == Xboom_bomb && j == 7 ? 0 :
+ i == Xboom_tank && j == 1 ? 2 :
+ i == Xboom_tank && j == 2 ? 2 :
+ i == Xboom_tank && j == 3 ? 4 :
+ i == Xboom_tank && j == 4 ? 4 :
+ i == Xboom_tank && j == 5 ? 2 :
+ i == Xboom_tank && j == 6 ? 2 :
+ i == Xboom_tank && j == 7 ? 0 :
i == Xboom_android && j == 7 ? 6 :
i == Xboom_1 && j == 1 ? 2 :
i == Xboom_1 && j == 2 ? 2 :