projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unneeded spaces in request texts
[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 ce811d88bc369b7213158ea8b9f917dfeb67c8db..8e45cfb8da103fe66817e20deaba290ff3a2d47a 100644
(file)
--- a/
src/game_mm/mm_game.c
+++ b/
src/game_mm/mm_game.c
@@
-778,7
+778,7
@@
void AddDamagedField(int ex, int ey)
laser.num_damages++;
}
laser.num_damages++;
}
-boolean StepBehind(void)
+
static
boolean StepBehind(void)
{
if (laser.num_edges)
{
{
if (laser.num_edges)
{
@@
-805,7
+805,7
@@
static int getMaskFromElement(int element)
return IMG_MM_MASK_CIRCLE;
}
return IMG_MM_MASK_CIRCLE;
}
-int ScanPixel(void)
+
static
int ScanPixel(void)
{
int hit_mask = 0;
{
int hit_mask = 0;
@@
-1069,7
+1069,7
@@
void ScanLaser(void)
#endif
}
#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;
{
int element;
int elx, ely;
@@
-2286,7
+2286,7
@@
boolean HitAbsorbingWalls(int element, int hit_mask)
return TRUE;
}
return TRUE;
}
-void OpenExit(int x, int y)
+
static
void OpenExit(int x, int y)
{
int delay = 6;
{
int delay = 6;
@@
-2311,7
+2311,7
@@
void OpenExit(int x, int y)
}
}
}
}
-void OpenSurpriseBall(int x, int y)
+
static
void OpenSurpriseBall(int x, int y)
{
int delay = 2;
{
int delay = 2;
@@
-2348,7
+2348,7
@@
void OpenSurpriseBall(int x, int y)
}
}
}
}
-void MeltIce(int x, int y)
+
static
void MeltIce(int x, int y)
{
int frames = 5;
int delay = 5;
{
int frames = 5;
int delay = 5;
@@
-2397,7
+2397,7
@@
void MeltIce(int x, int y)
}
}
}
}
-void GrowAmoeba(int x, int y)
+
static
void GrowAmoeba(int x, int y)
{
int frames = 5;
int delay = 1;
{
int frames = 5;
int delay = 1;
@@
-2494,7
+2494,7
@@
static void Explode_MM(int x, int y, int phase, int mode)
{
Store[x][y] = EL_EMPTY;
{
Store[x][y] = EL_EMPTY;
- game.restart_game_message = "Bomb killed Mc Duffin
! Play it again
?";
+ game.restart_game_message = "Bomb killed Mc Duffin
! Play it again
?";
}
Feld[x][y] = Store[x][y];
}
Feld[x][y] = Store[x][y];
@@
-2959,7
+2959,7
@@
void RotateMirror(int x, int y, int button)
}
}
}
}
-void AutoRotateMirrors(void)
+
static
void AutoRotateMirrors(void)
{
int x, y;
{
int x, y;
@@
-3186,10
+3186,10
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
SetTileCursorActive(FALSE);
SetTileCursorActive(FALSE);
- game.restart_game_message = "Out of magic energy
! Play it again
?";
+ game.restart_game_message = "Out of magic energy
! Play it again
?";
#if 0
#if 0
- if (Request("Out of magic energy
! Play it again
?",
+ if (Request("Out of magic energy
! Play it again
?",
REQ_ASK | REQ_STAY_CLOSED))
{
InitGame();
REQ_ASK | REQ_STAY_CLOSED))
{
InitGame();
@@
-3320,10
+3320,10
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
SetTileCursorActive(FALSE);
SetTileCursorActive(FALSE);
- game.restart_game_message = "Magic spell hit Mc Duffin
! Play it again
?";
+ game.restart_game_message = "Magic spell hit Mc Duffin
! Play it again
?";
#if 0
#if 0
- if (Request("Magic spell hit Mc Duffin
! Play it again
?",
+ if (Request("Magic spell hit Mc Duffin
! Play it again
?",
REQ_ASK | REQ_STAY_CLOSED))
{
InitGame();
REQ_ASK | REQ_STAY_CLOSED))
{
InitGame();
@@
-3367,7
+3367,7
@@
static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode)
laser.num_edges = 0;
Bang_MM(laser.start_edge.x, laser.start_edge.y);
laser.num_edges = 0;
Bang_MM(laser.start_edge.x, laser.start_edge.y);
- if (Request("Bomb killed Mc Duffin
! Play it again
?",
+ if (Request("Bomb killed Mc Duffin
! Play it again
?",
REQ_ASK | REQ_STAY_CLOSED))
{
InitGame();
REQ_ASK | REQ_STAY_CLOSED))
{
InitGame();
@@
-3965,7
+3965,7
@@
void GameWon_MM(void)
CloseDoor(DOOR_CLOSE_1);
CloseDoor(DOOR_CLOSE_1);
- Request("Level solved
!", REQ_CONFIRM);
+ Request("Level solved!", REQ_CONFIRM);
if (level_nr == leveldir_current->handicap_level)
{
if (level_nr == leveldir_current->handicap_level)
{