changed "http" to "https" in URLs
[rocksndiamonds.git] / src / game_mm / mm_init.c
index 73ab232dc4a2fc9072f568eda0619f408f2e86c4..0fe4c9fca1ef23892709707b926b3df946d3df92 100644 (file)
@@ -4,7 +4,7 @@
 // (c) 1994-2017 by Artsoft Entertainment
 //                         Holger Schemel
 //                 info@artsoft.org
-//                 http://www.artsoft.org/
+//                 https://www.artsoft.org/
 // ----------------------------------------------------------------------------
 // mm_init.c
 // ============================================================================
@@ -22,7 +22,7 @@ unsigned int InitEngineRandom_MM(int seed)
   return InitEngineRandom(seed);
 }
 
-void InitElementProperties_MM()
+void InitElementProperties_MM(void)
 {
   int i,j;
 
@@ -221,25 +221,25 @@ void InitElementProperties_MM()
   };
   static int num_properties = sizeof(ep_num) / sizeof(int *);
 
-  for(i = 0; i < MAX_ELEMENTS; i++)
+  for (i = 0; i < MAX_ELEMENTS; i++)
     Elementeigenschaften[i] = 0;
 
-  for(i = 0; i < num_properties; i++)
-    for(j = 0; j < *(ep_num[i]); j++)
+  for (i = 0; i < num_properties; i++)
+    for (j = 0; j < *(ep_num[i]); j++)
       Elementeigenschaften[(ep_array[i])[j]] |= ep_bit[i];
 
-  for(i = EL_CHAR_START; i <= EL_CHAR_END; i++)
+  for (i = EL_CHAR_START; i <= EL_CHAR_END; i++)
     Elementeigenschaften[i] |= (EP_BIT_CHAR | EP_BIT_INACTIVE);
 
-  for(i = EL_WALL_START; i <= EL_WALL_END; i++)
+  for (i = EL_WALL_START; i <= EL_WALL_END; i++)
     Elementeigenschaften[i] |= EP_BIT_WALL;
 }
 
-void mm_open_all()
+void mm_open_all(void)
 {
   InitElementProperties_MM();
 }
 
-void mm_close_all()
+void mm_close_all(void)
 {
 }