X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_game.c;h=8e45cfb8da103fe66817e20deaba290ff3a2d47a;hp=ce811d88bc369b7213158ea8b9f917dfeb67c8db;hb=645b5ff6bb70e1caf8cd6b8be4747d24cf93f527;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd diff --git a/src/game_mm/mm_game.c b/src/game_mm/mm_game.c index ce811d88..8e45cfb8 100644 --- 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++; } -boolean StepBehind(void) +static boolean StepBehind(void) { if (laser.num_edges) { @@ -805,7 +805,7 @@ static int getMaskFromElement(int element) return IMG_MM_MASK_CIRCLE; } -int ScanPixel(void) +static int ScanPixel(void) { int hit_mask = 0; @@ -1069,7 +1069,7 @@ void ScanLaser(void) #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; @@ -2286,7 +2286,7 @@ boolean HitAbsorbingWalls(int element, int hit_mask) return TRUE; } -void OpenExit(int x, int y) +static void OpenExit(int x, int y) { 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; @@ -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; @@ -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; @@ -2494,7 +2494,7 @@ static void Explode_MM(int x, int y, int phase, int mode) { 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]; @@ -2959,7 +2959,7 @@ void RotateMirror(int x, int y, int button) } } -void AutoRotateMirrors(void) +static void AutoRotateMirrors(void) { int x, y; @@ -3186,10 +3186,10 @@ static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode) 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 (Request("Out of magic energy ! Play it again ?", + if (Request("Out of magic energy! Play it again?", REQ_ASK | REQ_STAY_CLOSED)) { InitGame(); @@ -3320,10 +3320,10 @@ static void GameActions_MM_Ext(struct MouseActionInfo action, boolean warp_mode) 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 (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(); @@ -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); - if (Request("Bomb killed Mc Duffin ! Play it again ?", + if (Request("Bomb killed Mc Duffin! Play it again?", REQ_ASK | REQ_STAY_CLOSED)) { InitGame(); @@ -3965,7 +3965,7 @@ void GameWon_MM(void) CloseDoor(DOOR_CLOSE_1); - Request("Level solved !", REQ_CONFIRM); + Request("Level solved!", REQ_CONFIRM); if (level_nr == leveldir_current->handicap_level) {