cleanup of unnecessarily convoluted function call
[rocksndiamonds.git] / src / init.h
index d7a12e67109210b446716a3615b0f01608ebabea..8c068587f497d6200d8e213a9c976856c372c3d7 100644 (file)
@@ -4,7 +4,7 @@
 // (c) 1995-2014 by Artsoft Entertainment
 //                         Holger Schemel
 //                 info@artsoft.org
-//                 http://www.artsoft.org/
+//                 https://www.artsoft.org/
 // ----------------------------------------------------------------------------
 // init.h
 // ============================================================================
 
 #include "main.h"
 
-#define setMoveIntoAcidProperty(l, e, v)                       \
-       (setBitfieldProperty(&(l)->can_move_into_acid_bits,     \
-                            EP_CAN_MOVE_INTO_ACID, e, v))
-#define getMoveIntoAcidProperty(l, e)                          \
-       (getBitfieldProperty(&(l)->can_move_into_acid_bits,     \
-                            EP_CAN_MOVE_INTO_ACID, e))
-#define setDontCollideWithProperty(l, e, v)                    \
-       (setBitfieldProperty(&(l)->dont_collide_with_bits,      \
-                            EP_DONT_COLLIDE_WITH, e, v))
-#define getDontCollideWithProperty(l, e)                       \
-       (getBitfieldProperty(&(l)->dont_collide_with_bits,      \
-                            EP_DONT_COLLIDE_WITH, e))
+#define setMoveIntoAcidProperty(l, e, v)       \
+       (setBitfieldProperty(&(l)->can_move_into_acid_bits, EP_CAN_MOVE_INTO_ACID, e, v))
+#define getMoveIntoAcidProperty(l, e)          \
+       (getBitfieldProperty(&(l)->can_move_into_acid_bits, EP_CAN_MOVE_INTO_ACID, e))
+#define setDontCollideWithProperty(l, e, v)    \
+       (setBitfieldProperty(&(l)->dont_collide_with_bits,  EP_DONT_COLLIDE_WITH, e, v))
+#define getDontCollideWithProperty(l, e)       \
+       (getBitfieldProperty(&(l)->dont_collide_with_bits,  EP_DONT_COLLIDE_WITH, e))
 
 void setBitfieldProperty(int *, int, int, boolean);
 boolean getBitfieldProperty(int *, int, int);
@@ -33,16 +29,18 @@ boolean getBitfieldProperty(int *, int, int);
 void ResolveGroupElement(int);
 void InitElementPropertiesStatic(void);
 void InitElementPropertiesEngine(int);
-void InitElementPropertiesAfterLoading(int);
-void InitElementPropertiesGfxElement();
+void InitElementPropertiesGfxElement(void);
 
 void ReloadCustomArtwork(int);
-void RedrawBackground();
+void RedrawGlobalBorder(void);
 
-void KeyboardAutoRepeatOffUnlessAutoplay();
+void KeyboardAutoRepeatOffUnlessAutoplay(void);
 
-void InitGfxBuffers();
-void InitGadgets();
+void InitGfxBuffers(void);
+void InitGadgets(void);
+void InitImageTextures(void);
+
+void InitNetworkServer(void);
 
 void DisplayExitMessage(char *, va_list);