-/***********************************************************
-* Rocks'n'Diamonds -- McDuffin Strikes Back! *
-*----------------------------------------------------------*
-* ©1995 Artsoft Development *
-* Holger Schemel *
-* 33659 Bielefeld-Senne *
-* Telefon: (0521) 493245 *
-* eMail: aeglos@valinor.owl.de *
-* aeglos@uni-paderborn.de *
-* q99492@pbhrzx.uni-paderborn.de *
-*----------------------------------------------------------*
-* init.h *
-* *
-* Letzte Aenderung: 15.06.1995 *
-***********************************************************/
+// ============================================================================
+// Rocks'n'Diamonds - McDuffin Strikes Back!
+// ----------------------------------------------------------------------------
+// (c) 1995-2014 by Artsoft Entertainment
+// Holger Schemel
+// info@artsoft.org
+// http://www.artsoft.org/
+// ----------------------------------------------------------------------------
+// init.h
+// ============================================================================
#ifndef INIT_H
#define INIT_H
#include "main.h"
-void OpenAll(int, char **);
-void InitDisplay(int, char **);
-void InitSound(void);
-void InitSoundProcess(void);
-void InitJoystick(void);
-void InitWindow(int, char **);
-void InitGfx(void);
-void CloseAll();
+#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);
+
+void ResolveGroupElement(int);
+void InitElementPropertiesStatic(void);
+void InitElementPropertiesEngine(int);
+void InitElementPropertiesGfxElement();
+
+void ReloadCustomArtwork(int);
+void RedrawGlobalBorder();
+
+void KeyboardAutoRepeatOffUnlessAutoplay();
+
+void InitGfxBuffers();
+void InitGadgets();
+void InitImageTextures();
+
+void DisplayExitMessage(char *, va_list);
+
+void OpenAll(void);
+void CloseAllAndExit(int);
#endif