fixed compiler warnings (after adding "-Wstrict-prototypes")
[rocksndiamonds.git] / src / game_sp / InitGameConditions.c
index dd210b1c144001b3db9184fdab8e361152907ecc..1641862ff1549041dde23437b1aeb378ce8392f1 100644 (file)
@@ -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;