X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FInitGameConditions.c;h=1641862ff1549041dde23437b1aeb378ce8392f1;hb=f37c86753d5005bf7ae341d0cbcc15ef75393567;hp=dd210b1c144001b3db9184fdab8e361152907ecc;hpb=35b995abd3183999201d9581f7674de1475dc169;p=rocksndiamonds.git diff --git a/src/game_sp/InitGameConditions.c b/src/game_sp/InitGameConditions.c index dd210b1c..1641862f 100644 --- a/src/game_sp/InitGameConditions.c +++ b/src/game_sp/InitGameConditions.c @@ -10,7 +10,7 @@ // Init game conditions (variables) // ========================================================================== -void subInitGameConditions() +void subInitGameConditions(void) { MurphyVarFaceLeft = 0; KillMurphyFlag = 0; // no "kill Murphy" @@ -21,6 +21,7 @@ void subInitGameConditions() YawnSleepCounter = 0; // Wake up sleeping Murphy ExplosionShake = 0; // Force explosion flag off + ExplosionShakeMurphy = 0; // Force explosion flag off TerminalMaxCycles = 0x7F; YellowDisksExploded = 0; @@ -40,7 +41,7 @@ void subInitGameConditions() // Locate Murphy and init location. // ========================================================================== -void InitMurphyPos() +void InitMurphyPos(void) { int si; @@ -78,7 +79,7 @@ void InitMurphyPosB(int si) // Convert to easy symbols and reset Infotron count If not ThenVer62 // ========================================================================== -int subConvertToEasySymbols() +int subConvertToEasySymbols(void) { int ax, bx, cx, dx, i; int al; @@ -224,12 +225,12 @@ void ResetInfotronsNeeded(int dx) // Fetch and initialize a level // ========================================================================== -void subFetchAndInitLevelB() +void subFetchAndInitLevelB(void) { subFetchAndInitLevelA(); } -void subFetchAndInitLevelA() +void subFetchAndInitLevelA(void) { GameBusyFlag = 0; // restore scissors too subFetchAndInitLevel(); // fetch and initialize a level @@ -238,7 +239,7 @@ void subFetchAndInitLevelA() DemoKeyCode = 0; // delete last demo key! } -void subFetchAndInitLevel() +void subFetchAndInitLevel(void) { int InfoCountInLevel;