X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=42bc9f740525d79035a0abfdd5c8bbb1d6297b1a;hb=5cdf02eb2a6d9627f7461ab9d386698cb7596096;hp=f7f447c14ac318ff0a027ffbd65231f58df3e965;hpb=e0e2697df0d0da483a91b1248c120aef6b3caf9b;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index f7f447c1..42bc9f74 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,6 +16,36 @@ #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 ResolveGroupElement(int); +void InitElementPropertiesStatic(void); +void InitElementPropertiesEngine(int); +void InitElementPropertiesAfterLoading(int); +void InitElementPropertiesGfxElement(); + +void ReloadCustomArtwork(int); +void RedrawBackground(); + +void KeyboardAutoRepeatOffUnlessAutoplay(); + +void InitGfxBuffers(); +void InitGadgets(); + void OpenAll(void); void CloseAllAndExit(int);