X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=a69268f75d09613503bdc866f0a2e582330a167c;hb=refs%2Fheads%2Fmaster-next-major-release;hp=849f7a1ad24af204d530d422bd1611a0c5fa8480;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index 849f7a1a..8c068587 100644 --- a/src/init.h +++ b/src/init.h @@ -4,7 +4,7 @@ // (c) 1995-2014 by Artsoft Entertainment // Holger Schemel // info@artsoft.org -// http://www.artsoft.org/ +// https://www.artsoft.org/ // ---------------------------------------------------------------------------- // init.h // ============================================================================ @@ -14,18 +14,14 @@ #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)) +#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);