X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.h;h=a69268f75d09613503bdc866f0a2e582330a167c;hb=refs%2Fheads%2Fmaster-next-major-release;hp=4226241afc7bfe467ead6e61854c153e1c7a48a2;hpb=59ee2ed2390984e3dbe586363ee6ae01802916a7;p=rocksndiamonds.git diff --git a/src/init.h b/src/init.h index 4226241a..8c068587 100644 --- a/src/init.h +++ b/src/init.h @@ -1,33 +1,27 @@ -/*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * -*----------------------------------------------------------* -* (c) 1995-2006 Artsoft Entertainment * -* Holger Schemel * -* Detmolder Strasse 189 * -* 33604 Bielefeld * -* Germany * -* e-mail: info@artsoft.org * -*----------------------------------------------------------* -* init.h * -***********************************************************/ +// ============================================================================ +// Rocks'n'Diamonds - McDuffin Strikes Back! +// ---------------------------------------------------------------------------- +// (c) 1995-2014 by Artsoft Entertainment +// Holger Schemel +// info@artsoft.org +// https://www.artsoft.org/ +// ---------------------------------------------------------------------------- +// init.h +// ============================================================================ #ifndef INIT_H #define INIT_H #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); @@ -35,13 +29,20 @@ boolean getBitfieldProperty(int *, int, int); void ResolveGroupElement(int); void InitElementPropertiesStatic(void); void InitElementPropertiesEngine(int); -void InitElementPropertiesAfterLoading(int); -void InitElementPropertiesGfxElement(); +void InitElementPropertiesGfxElement(void); void ReloadCustomArtwork(int); -void RedrawBackground(); +void RedrawGlobalBorder(void); -void KeyboardAutoRepeatOffUnlessAutoplay(); +void KeyboardAutoRepeatOffUnlessAutoplay(void); + +void InitGfxBuffers(void); +void InitGadgets(void); +void InitImageTextures(void); + +void InitNetworkServer(void); + +void DisplayExitMessage(char *, va_list); void OpenAll(void); void CloseAllAndExit(int);