1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back! *
3 *----------------------------------------------------------*
4 * (c) 1995-2002 Artsoft Entertainment *
6 * Detmolder Strasse 189 *
9 * e-mail: info@artsoft.org *
10 *----------------------------------------------------------*
12 ***********************************************************/
19 /* score for elements (also used by editor.c) */
23 #define SC_SPACESHIP 3
30 #define SC_TIME_BONUS 10
35 void GetPlayerConfig(void);
36 void DrawGameDoorValues(void);
39 void InitMovDir(int, int);
40 void InitAmoebaNr(int, int);
44 void InitPlayerGfxAnimation(struct PlayerInfo *, int, int);
45 void InitMovingField(int, int, int);
46 void Moving2Blocked(int, int, int *, int *);
47 void Blocked2Moving(int, int, int *, int *);
48 int MovingOrBlocked2Element(int, int);
49 void RemoveMovingField(int, int);
50 void DrawDynamite(int, int);
51 void CheckDynamite(int, int);
52 void Explode(int, int, int, int);
53 void DynaExplode(int, int);
56 void Impact(int, int);
57 void StartMoving(int, int);
58 void ContinueMoving(int, int);
59 int AmoebeNachbarNr(int, int);
60 void AmoebeUmwandeln(int, int);
61 void AmoebeUmwandelnBD(int, int, int);
62 void AmoebeWaechst(int, int);
63 void AmoebeAbleger(int, int);
65 void Ablenk(int, int);
66 void Blubber(int, int);
67 void NussKnacken(int, int);
68 void SiebAktivieren(int, int, int);
69 void AusgangstuerPruefen(int, int);
70 void AusgangstuerOeffnen(int, int);
71 void AusgangstuerBlinken(int, int);
72 void EdelsteinFunkeln(int, int);
73 void MauerWaechst(int, int);
74 void MauerAbleger(int, int);
75 void GameActions(void);
76 void ScrollLevel(int, int);
78 void TestIfGoodThingHitsBadThing(int, int, int);
79 void TestIfBadThingHitsGoodThing(int, int, int);
80 void TestIfHeroTouchesBadThing(int, int);
81 void TestIfHeroRunsIntoBadThing(int, int, int);
82 void TestIfBadThingTouchesHero(int, int);
83 void TestIfBadThingRunsIntoHero(int, int, int);
84 void TestIfFriendTouchesBadThing(int, int);
85 void TestIfBadThingTouchesFriend(int, int);
86 void TestIfBadThingTouchesOtherBadThing(int, int);
87 void KillHero(struct PlayerInfo *);
88 void BuryHero(struct PlayerInfo *);
89 void RemoveHero(struct PlayerInfo *);
90 int DigField(struct PlayerInfo *, int, int, int, int, int);
91 boolean SnapField(struct PlayerInfo *, int, int);
92 boolean DropElement(struct PlayerInfo *);
94 void InitPlayLevelSound();
97 void RaiseScoreElement(int);
98 void RequestQuitGame(boolean);
100 void CreateGameButtons();
101 void FreeGameButtons();
102 void UnmapGameButtons();