X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=08f999e3e6df1a51179d58384a4d774e92a85e2e;hb=322c8667eecfd313a24523a489b06b8454005d68;hp=e2bee8105953e59902d9f6369025055729e87777;hpb=2ae6ae8ed951e87fcba7c363705cd6ddea8de91c;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index e2bee810..08f999e3 100644 --- a/src/init.h +++ b/src/init.h @@ -1,7 +1,7 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-2000 Artsoft Entertainment * +* (c) 1995-2002 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -16,8 +16,37 @@ #include "main.h" +#if 1 +#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); + +#else + +void setMoveIntoAcidProperty(struct LevelInfo *, int, boolean); +boolean getMoveIntoAcidProperty(struct LevelInfo *, int); +#endif + +void InitElementPropertiesStatic(void); +void InitElementPropertiesEngine(int); + +void ReloadCustomArtwork(int); + +void KeyboardAutoRepeatOffUnlessAutoplay(); + void OpenAll(void); void CloseAllAndExit(int); -void InitJoysticks(void); #endif