{ EL_TRAP, EL_TRAP_ACTIVE, 0,
InitTrap, NULL, ActivateTrap },
- { EL_TRAP_ACTIVE, EL_TRAP, 32,
+ { EL_TRAP_ACTIVE, EL_TRAP, 31,
NULL, ChangeActiveTrap, NULL },
{ EL_ROBOT_WHEEL_ACTIVE, EL_ROBOT_WHEEL, 0,
ZX = ZY = -1;
}
-#if 0
+#if 1
void RobotWheel(int x, int y)
{
if (!MovDelay[x][y]) /* next animation frame */
PlaySoundLevel(x, y, SND_TIMEGATE_SWITCH_ACTIVE);
}
-#if 0
+#if 1
void TimegateWheel(int x, int y)
{
if (!MovDelay[x][y]) /* next animation frame */
DrawLevelField(x, y);
/* THIS HAS NO EFFECT AT ALL! */
-#if 0
+#if 1
/* !!! THIS LOOKS WRONG !!! */
if (ZX == x && ZY == y)
ZX = ZY = -1;
}
#endif
-#if 0
+#if 1
void NussKnacken(int x, int y)
{
if (!MovDelay[x][y]) /* next animation frame */
}
#endif
-#if 0
+#if 1
void BreakingPearl(int x, int y)
{
if (!MovDelay[x][y]) /* next animation frame */
PlaySoundLevelNearest(x, y, SND_SP_EXIT_OPENING);
}
-#if 0
+#if 1
void AusgangstuerOeffnen(int x, int y)
{
int delay = 6;
}
#endif
-#if 0
+#if 1
void OpenSwitchgate(int x, int y)
{
int delay = 6;
}
#endif
-#if 0
+#if 1
void CloseSwitchgate(int x, int y)
{
int delay = 6;
}
#endif
-#if 0
+#if 1
void OpenTimegate(int x, int y)
{
int delay = 6;
}
#endif
-#if 0
+#if 1
void CloseTimegate(int x, int y)
{
int delay = 6;
}
}
-#if 0
+#if 1
static void CheckBuggyBase(int x, int y)
{
int element = Feld[x][y];
DrawCrumbledSand(SCREENX(x), SCREENY(y));
}
-#if 0
+#if 1
static void CheckTrap(int x, int y)
{
int element = Feld[x][y];
}
#endif
-#if 0
+#if 1
static void DrawBeltAnimation(int x, int y, int element)
{
int belt_nr = getBeltNrFromBeltActiveElement(element);
element == EL_SP_BUGGY_BASE_ACTIVATING ||
element == EL_SP_BUGGY_BASE_ACTIVE)
CheckBuggyBase(x, y);
+#endif
+#if 0
else if (element == EL_TRAP ||
element == EL_TRAP_ACTIVE)
CheckTrap(x, y);
+#endif
+#if 0
+ else if (element == EL_TRAP)
+ CheckTrap(x, y);
+#endif
+#if 0
+ else if (element == EL_TRAP_ACTIVE)
+ CheckTrap(x, y);
+#endif
+#if 0
else if (IS_BELT_ACTIVE(element))
DrawBeltAnimation(x, y, element);
else if (element == EL_SWITCHGATE_OPENING)