X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=165c2a787b3c86345ee05c3cfb026376b49d9ad5;hb=9cb181e05e485435ef48586dd4f2811ba1e672b3;hp=1088db2632b373420c87eb846ed75e3e4ae6def4;hpb=681721dddc91bcdaef50002d1e861cc8d484e938;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index 1088db26..165c2a78 100644 --- a/src/init.h +++ b/src/init.h @@ -1,7 +1,7 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-2001 Artsoft Entertainment * +* (c) 1995-2006 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -16,8 +16,32 @@ #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 InitElementPropertiesStatic(void); +void InitElementPropertiesEngine(int); +void InitElementPropertiesAfterLoading(int); + +void ReloadCustomArtwork(int); +void RedrawBackground(); + +void KeyboardAutoRepeatOffUnlessAutoplay(); + void OpenAll(void); void CloseAllAndExit(int); -void InitJoysticks(void); #endif