1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
/***********************************************************
* 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 *
***********************************************************/
#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))
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);
#endif
|