X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=8c068587f497d6200d8e213a9c976856c372c3d7;hb=5cbb24e1974b59f7580428768201b950423b88e2;hp=a69268f75d09613503bdc866f0a2e582330a167c;hpb=b641818c787e48bbf03ce2a0cd5b542c4c21e523;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index a69268f7..8c068587 100644 --- a/src/init.h +++ b/src/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);