X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=e3f8858523d179ca83ce1a3e0e634d32f4ba5587;hb=37a06df577bbfd00f4b361f92cacb0d97036ba93;hp=c96f4844f83979109a7adedd48e075d8a536f980;hpb=c3d03cdffce070695ba0520d00667b42b8460087;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index c96f4844..e3f88585 100644 --- a/src/init.h +++ b/src/init.h @@ -1,15 +1,14 @@ /*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * +* Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* ©1995 Artsoft Development * -* Holger Schemel * -* 33659 Bielefeld-Senne * -* Telefon: (0521) 493245 * -* eMail: aeglos@valinor.owl.de * -* aeglos@uni-paderborn.de * -* q99492@pbhrzx.uni-paderborn.de * +* (c) 1995-2002 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * *----------------------------------------------------------* -* init.h * +* init.h * ***********************************************************/ #ifndef INIT_H @@ -17,15 +16,30 @@ #include "main.h" -void OpenAll(int, char **); -void InitLevelAndPlayerInfo(void); -void InitDisplay(int, char **); -void InitSound(void); -void InitSoundProcess(void); -void InitJoystick(void); -void InitWindow(int, char **); -void InitGfx(void); -void InitElementProperties(void); -void CloseAll(); +#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 InitElementPropertiesStatic(void); +void InitElementPropertiesEngine(int); + +void ReloadCustomArtwork(int); + +void KeyboardAutoRepeatOffUnlessAutoplay(); + +void OpenAll(void); +void CloseAllAndExit(int); #endif