rocksndiamonds-3.3.0.0
[rocksndiamonds.git] / src / init.h
index e2bee8105953e59902d9f6369025055729e87777..42bc9f740525d79035a0abfdd5c8bbb1d6297b1a 100644 (file)
@@ -1,7 +1,7 @@
 /***********************************************************
 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
 *----------------------------------------------------------*
-* (c) 1995-2000 Artsoft Entertainment                      *
+* (c) 1995-2006 Artsoft Entertainment                      *
 *               Holger Schemel                             *
 *               Detmolder Strasse 189                      *
 *               33604 Bielefeld                            *
 
 #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))
+
+void setBitfieldProperty(int *, int, int, boolean);
+boolean getBitfieldProperty(int *, int, int);
+
+void ResolveGroupElement(int);
+void InitElementPropertiesStatic(void);
+void InitElementPropertiesEngine(int);
+void InitElementPropertiesAfterLoading(int);
+void InitElementPropertiesGfxElement();
+
+void ReloadCustomArtwork(int);
+void RedrawBackground();
+
+void KeyboardAutoRepeatOffUnlessAutoplay();
+
+void InitGfxBuffers();
+void InitGadgets();
+
 void OpenAll(void);
 void CloseAllAndExit(int);
-void InitJoysticks(void);
 
 #endif