1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back! *
3 *----------------------------------------------------------*
4 * ©1995 Artsoft Development *
6 * 33659 Bielefeld-Senne *
7 * Telefon: (0521) 493245 *
8 * eMail: aeglos@valinor.owl.de *
9 * aeglos@uni-paderborn.de *
10 * q99492@pbhrzx.uni-paderborn.de *
11 *----------------------------------------------------------*
14 * Letzte Aenderung: 15.06.1995 *
15 ***********************************************************/
22 #define PLAYER_LEVEL 0
23 #define PLAYER_SETUP 1
29 #define MF_NO_ACTION 0
33 BOOL CreateNewScoreFile(void);
34 BOOL CreateNewNamesFile(int);
35 void LoadLevelInfo(void);
37 void LoadLevelTape(int);
39 void LoadPlayerInfo(int);
41 void SaveLevelTape(int);
43 void SavePlayerInfo(int);
44 void GetPlayerConfig(void);
46 void InitMovDir(int, int);
48 BOOL NewHiScore(void);
49 void InitMovingField(int, int, int);
50 void Moving2Blocked(int, int, int *, int *);
51 void Blocked2Moving(int, int, int *, int *);
52 int MovingOrBlocked2Element(int, int);
53 void RemoveMovingField(int, int);
54 void DrawDynamite(int, int);
55 void CheckDynamite(int, int);
56 void Explode(int, int, int);
59 void Impact(int, int);
60 void TurnRound(int, int);
61 void StartMoving(int, int);
62 void ContinueMoving(int, int);
63 void AmoebeWaechst(int, int);
64 void AmoebeAbleger(int, int);
66 void Ablenk(int, int);
67 void Blubber(int, int);
68 void NussKnacken(int, int);
69 void SiebAktivieren(int x, int y);
70 void AusgangstuerPruefen(int x, int y);
71 void AusgangstuerOeffnen(int x, int y);
72 int GameActions(int, int, int);
73 void ScrollLevel(int, int);
74 BOOL MoveFigure(int, int);
75 void TestIfHeroHitsBadThing(void);
76 void TestIfBadThingHitsHero(void);
77 void TestIfBadThingHitsOtherBadThing(int, int);
79 int DigField(int, int, int);
80 BOOL SnapField(int, int);
82 void PlaySoundLevel(int, int, int);
84 void TapeInitRecording(void);
85 void TapeStartRecording(void);
86 void TapeStopRecording(void);
87 void TapeRecordAction(int);
88 void TapeRecordDelay(void);
89 void TapeTogglePause(void);
90 void TapeInitPlaying(void);
91 void TapeStartPlaying(void);
92 void TapeStopPlaying(void);
93 int TapePlayAction(void);
94 BOOL TapePlayDelay(void);
97 void DrawVideoDisplay(unsigned long, unsigned long);
98 void DrawSoundDisplay(unsigned long);
99 void DrawGameButton(unsigned long);
100 void DrawChooseButton(unsigned long);
101 void DrawConfirmButton(unsigned long);