changed comments from old to new style (one-line comments only)
[rocksndiamonds.git] / src / game_sp / Globals.c
index 44affc03bb9ca1418dccc3888aadbd269e3f95fd..a73a6ffd68f3a1241dd693029cfc9985768afb05 100644 (file)
@@ -151,7 +151,7 @@ boolean isSnappingSequence(int sequence)
   }
 }
 
-void InitGlobals()
+void InitGlobals(void)
 {
   InitPrecedingPlayfieldMemory();
 
@@ -166,13 +166,13 @@ void InitGlobals()
   bPlaying = False;
   menBorder = False;
 
-  /* add preceding playfield buffer (as large as preceding memory area) */
+  // add preceding playfield buffer (as large as preceding memory area)
   PlayField16 = checked_calloc((game_sp.preceding_buffer_size +
                                SP_MAX_PLAYFIELD_SIZE +
                                SP_HEADER_SIZE) * sizeof(int));
   PlayField16 = &PlayField16[game_sp.preceding_buffer_size];
 
-  /* add preceding playfield buffer (as large as one playfield row) */
+  // add preceding playfield buffer (as large as one playfield row)
   PlayField8 = checked_calloc((SP_MAX_PLAYFIELD_WIDTH +
                               SP_MAX_PLAYFIELD_SIZE +
                               SP_HEADER_SIZE) * sizeof(byte));
@@ -204,7 +204,7 @@ int GetStretchY(int si)
   return StretchWidth * (si / FieldWidth);
 }
 
-void PrepareLevel()
+void PrepareLevel(void)
 {
   copyInternalEngineVars_SP();