rnd-20060603-1-src
[rocksndiamonds.git] / src / init.h
index 95993d456e9b5d1793da092f8e89550bd70de1ca..1bfd49bc32333c93f3a03c082a6b963f433d70a9 100644 (file)
 
 #include "main.h"
 
-void ReloadCustomArtwork();
+#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 InitElementPropertiesStatic(void);
+void InitElementPropertiesEngine(int);
+void InitElementPropertiesAfterLoading(int);
+
+void ReloadCustomArtwork(int);
+void RedrawBackground();
+
+void KeyboardAutoRepeatOffUnlessAutoplay();
 
 void OpenAll(void);
 void CloseAllAndExit(int);