return (pixel == WHITE_PIXEL);
}
-static void CheckExitMM()
+static void CheckExitMM(void)
{
int exit_element = EL_EMPTY;
int exit_x = 0;
}
}
-static void InitCycleElements_RotateSingleStep()
+static void InitCycleElements_RotateSingleStep(void)
{
int i;
}
}
-static void InitLaser()
+static void InitLaser(void)
{
int start_element = Feld[laser.start_edge.x][laser.start_edge.y];
int step = (IS_LASER(start_element) ? 4 : 0);
native_mm_level.laser_blue * 0xFF);
}
-void InitGameEngine_MM()
+void InitGameEngine_MM(void)
{
int i, x, y;
DrawLevel_MM();
}
-void InitGameActions_MM()
+void InitGameActions_MM(void)
{
int num_init_game_frames = INIT_GAME_ACTIONS_DELAY;
int cycle_steps_done = 0;
laser.num_damages++;
}
-boolean StepBehind()
+static boolean StepBehind(void)
{
if (laser.num_edges)
{
return IMG_MM_MASK_CIRCLE;
}
-int ScanPixel()
+static int ScanPixel(void)
{
int hit_mask = 0;
return hit_mask;
}
-void ScanLaser()
+void ScanLaser(void)
{
int element;
int end = 0, rf = laser.num_edges;
#endif
}
-void DrawLaserExt(int start_edge, int num_edges, int mode)
+static void DrawLaserExt(int start_edge, int num_edges, int mode)
{
int element;
int elx, ely;
game_mm.laser_enabled = mode;
}
-void DrawLaser_MM()
+void DrawLaser_MM(void)
{
DrawLaser(0, game_mm.laser_enabled);
}
return TRUE;
}
-void OpenExit(int x, int y)
+static void OpenExit(int x, int y)
{
int delay = 6;
}
}
-void OpenSurpriseBall(int x, int y)
+static void OpenSurpriseBall(int x, int y)
{
int delay = 2;
}
}
-void MeltIce(int x, int y)
+static void MeltIce(int x, int y)
{
int frames = 5;
int delay = 5;
}
}
-void GrowAmoeba(int x, int y)
+static void GrowAmoeba(int x, int y)
{
int frames = 5;
int delay = 1;
}
}
-void AutoRotateMirrors()
+static void AutoRotateMirrors(void)
{
int x, y;
CheckSingleStepMode_MM(element_clicked, button_released);
}
-void MovePacMen()
+void MovePacMen(void)
{
int mx, my, ox, oy, nx, ny;
int element;
}
}
-void GameWon_MM()
+void GameWon_MM(void)
{
int hi_pos;
boolean raise_level = FALSE;
BackToFront();
}
-int NewHiScore_MM()
+int NewHiScore_MM(void)
{
int k, l;
int position = -1;
engine_snapshot_mm.overload_delay = overload_delay;
}
-void LoadEngineSnapshotValues_MM()
+void LoadEngineSnapshotValues_MM(void)
{
int x, y;
energy_delay = engine_snapshot_mm.energy_delay;
overload_delay = engine_snapshot_mm.overload_delay;
- RedrawPlayfield_MM(TRUE);
+ RedrawPlayfield_MM();
}
static int getAngleFromTouchDelta(int dx, int dy, int base)