projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version number set to 4.2.0.2
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_game.c
diff --git
a/src/game_mm/mm_game.c
b/src/game_mm/mm_game.c
index a954715524374dc13ce5069849f87eb7285f34f7..da5ec7da3e465805966f75808fbaebc60db0f2a9 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-421,7
+421,7
@@
static void InitMovDir_MM(int x, int y)
{ MV_LEFT, MV_RIGHT, MV_UP, MV_DOWN }
};
{ MV_LEFT, MV_RIGHT, MV_UP, MV_DOWN }
};
- switch(element)
+ switch
(element)
{
case EL_PACMAN_RIGHT:
case EL_PACMAN_UP:
{
case EL_PACMAN_RIGHT:
case EL_PACMAN_UP:
@@
-2519,7
+2519,7
@@
static void Bang_MM(int x, int y)
DrawLaser(0, DL_LASER_ENABLED);
#endif
DrawLaser(0, DL_LASER_ENABLED);
#endif
- switch(element)
+ switch
(element)
{
case EL_KETTLE:
mode = EX_KETTLE;
{
case EL_KETTLE:
mode = EX_KETTLE;
@@
-3127,7
+3127,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
DrawLaser(0, DL_LASER_ENABLED);
BackToFront();
DrawLaser(0, DL_LASER_ENABLED);
BackToFront();
- Delay(50);
+ Delay
_WithScreenUpdates
(50);
}
StopSound_MM(SND_MM_GAME_HEALTH_CHARGING);
}
StopSound_MM(SND_MM_GAME_HEALTH_CHARGING);
@@
-3264,7
+3264,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
DrawLaser(0, DL_LASER_ENABLED);
BackToFront();
DrawLaser(0, DL_LASER_ENABLED);
BackToFront();
- Delay(50);
+ Delay
_WithScreenUpdates
(50);
}
DrawLaser(0, DL_LASER_DISABLED);
}
DrawLaser(0, DL_LASER_DISABLED);
@@
-3417,7
+3417,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
DrawLaser(0, DL_LASER_ENABLED);
DrawLaser(0, DL_LASER_ENABLED);
- Delay(50);
+ Delay
_WithScreenUpdates
(50);
}
Feld[ELX][ELY] = element;
}
Feld[ELX][ELY] = element;
@@
-3491,7
+3491,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
DrawWallsAnimation_MM(ELX, ELY, Feld[ELX][ELY], phase, laser.wall_mask);
BackToFront();
DrawWallsAnimation_MM(ELX, ELY, Feld[ELX][ELY], phase, laser.wall_mask);
BackToFront();
- Delay(100);
+ Delay
_WithScreenUpdates
(100);
}
if (Feld[ELX][ELY] == EL_WALL_ICE)
}
if (Feld[ELX][ELY] == EL_WALL_ICE)
@@
-3624,7
+3624,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
DrawWallsAnimation_MM(dx, dy, de, i, dm);
BackToFront();
DrawWallsAnimation_MM(dx, dy, de, i, dm);
BackToFront();
- Delay(20);
+ Delay
_WithScreenUpdates
(20);
}
DrawLaser(0, DL_LASER_ENABLED);
}
DrawLaser(0, DL_LASER_ENABLED);
@@
-3705,7
+3705,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
redraw_mask |= REDRAW_DOOR_1;
BackToFront();
redraw_mask |= REDRAW_DOOR_1;
BackToFront();
- Delay(20);
+ Delay
_WithScreenUpdates
(20);
}
game_mm.energy_left = MAX_LASER_ENERGY;
}
game_mm.energy_left = MAX_LASER_ENERGY;
@@
-3878,7
+3878,7
@@
void GameWon_MM(void)
}
BackToFront();
}
BackToFront();
- Delay(10);
+ Delay
_WithScreenUpdates
(10);
}
if (setup.sound_loops)
}
if (setup.sound_loops)
@@
-3906,7
+3906,7
@@
void GameWon_MM(void)
*/
BackToFront();
*/
BackToFront();
- Delay(10);
+ Delay
_WithScreenUpdates
(10);
}
if (setup.sound_loops)
}
if (setup.sound_loops)
@@
-4152,7
+4152,7
@@
static void RaiseScore_MM(int value)
void RaiseScoreElement_MM(int element)
{
void RaiseScoreElement_MM(int element)
{
- switch(element)
+ switch
(element)
{
case EL_PACMAN:
case EL_PACMAN_RIGHT:
{
case EL_PACMAN:
case EL_PACMAN_RIGHT: