X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=d52aef4d9dce3fc139040d1b485bc6b51f4541fa;hb=refs%2Fheads%2Freleases;hp=b8bc9b0b5c04c2f700c90932b651199919927934;hpb=2357c391b4a587709627cc30316734b3c83c8134;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index b8bc9b0b..d52aef4d 100644 --- a/src/init.h +++ b/src/init.h @@ -1,14 +1,14 @@ /*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * +* Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-98 Artsoft Entertainment * -* Holger Schemel * -* Oststrasse 11a * -* 33604 Bielefeld * -* phone: ++49 +521 290471 * -* email: aeglos@valinor.owl.de * +* (c) 1995-2006 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * *----------------------------------------------------------* -* init.h * +* init.h * ***********************************************************/ #ifndef INIT_H @@ -16,8 +16,39 @@ #include "main.h" -void OpenAll(int, char **); +#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 DisplayExitMessage(char *, va_list); + +void OpenAll(void); void CloseAllAndExit(int); -void InitJoysticks(void); #endif