static struct GadgetInfo *game_gadget[NUM_GAME_BUTTONS];
-#define IS_ANIMATED(g) (new_graphic_info[g].anim_frames > 1)
+#define IS_ANIMATED(g) (graphic_info[g].anim_frames > 1)
/* ------------------------------------------------------------------------- */
{ 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,
FadeToFront();
/* copy default game door content to main double buffer */
- BlitBitmap(new_graphic_info[IMG_GLOBAL_DOOR].bitmap, drawto,
+ BlitBitmap(graphic_info[IMG_GLOBAL_DOOR].bitmap, drawto,
DOOR_GFX_PAGEX5, DOOR_GFX_PAGEY1, DXSIZE, DYSIZE, DX, DY);
if (level_nr < 100)
int graphic = el2img(element);
if (game.belt_dir[i] == MV_LEFT)
- new_graphic_info[graphic].anim_mode &= ~ANIM_REVERSE;
+ graphic_info[graphic].anim_mode &= ~ANIM_REVERSE;
else
- new_graphic_info[graphic].anim_mode |= ANIM_REVERSE;
+ graphic_info[graphic].anim_mode |= ANIM_REVERSE;
}
}
int graphic = el2img(element);
if (belt_dir == MV_LEFT)
- new_graphic_info[graphic].anim_mode &= ~ANIM_REVERSE;
+ graphic_info[graphic].anim_mode &= ~ANIM_REVERSE;
else
- new_graphic_info[graphic].anim_mode |= ANIM_REVERSE;
+ graphic_info[graphic].anim_mode |= ANIM_REVERSE;
}
for (yy=0; yy<lev_fieldy; yy++)
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
-static void CheckBuggyBase(int x, int y)
+#if 1
+void CheckBuggyBase(int x, int y)
{
int element = Feld[x][y];
DrawCrumbledSand(SCREENX(x), SCREENY(y));
}
-#if 0
-static void CheckTrap(int x, int y)
+#if 1
+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);
for (i=0; i<NUM_GAME_BUTTONS; i++)
{
- Bitmap *gd_bitmap = new_graphic_info[IMG_GLOBAL_DOOR].bitmap;
+ Bitmap *gd_bitmap = graphic_info[IMG_GLOBAL_DOOR].bitmap;
struct GadgetInfo *gi;
int button_type;
boolean checked;