X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=4beaa587ca100f4719c985dcda76f097aeb23439;hb=f47cd4b09952aaf95d16542f6b53f2d8bf9e1d7d;hp=e7150b6be6ac963c8d9f6dc1a5844c1c888acccb;hpb=c3d03cdffce070695ba0520d00667b42b8460087;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index e7150b6b..4beaa587 100644 --- a/src/game.h +++ b/src/game.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 * *----------------------------------------------------------* -* game.h * +* game.h * ***********************************************************/ #ifndef GAME_H @@ -17,20 +16,19 @@ #include "main.h" -#define DF_DIG 0 -#define DF_SNAP 1 -#define DF_NO_PUSH 2 - -#define MF_NO_ACTION 0 -#define MF_MOVING 1 -#define MF_ACTION 2 - void GetPlayerConfig(void); +void DrawGameDoorValues(void); +void InitGameSound(); void InitGame(void); + +void UpdateEngineValues(int, int); + void InitMovDir(int, int); void InitAmoebaNr(int, int); void GameWon(void); -BOOL NewHiScore(void); +int NewHiScore(void); + +void InitPlayerGfxAnimation(struct PlayerInfo *, int, int); void InitMovingField(int, int, int); void Moving2Blocked(int, int, int *, int *); void Blocked2Moving(int, int, int *, int *); @@ -38,48 +36,57 @@ int MovingOrBlocked2Element(int, int); void RemoveMovingField(int, int); void DrawDynamite(int, int); void CheckDynamite(int, int); -void Explode(int, int, int); +void Explode(int, int, int, int); +void DynaExplode(int, int); void Bang(int, int); void Blurb(int, int); void Impact(int, int); -void TurnRound(int, int); void StartMoving(int, int); void ContinueMoving(int, int); int AmoebeNachbarNr(int, int); void AmoebeUmwandeln(int, int); +void AmoebeUmwandelnBD(int, int, int); void AmoebeWaechst(int, int); void AmoebeAbleger(int, int); void Life(int, int); void Ablenk(int, int); void Blubber(int, int); void NussKnacken(int, int); -void SiebAktivieren(int x, int y); -void AusgangstuerPruefen(int x, int y); -void AusgangstuerOeffnen(int x, int y); -int GameActions(int, int, int); +void SiebAktivieren(int, int, int); +void AusgangstuerPruefen(int, int); +void AusgangstuerOeffnen(int, int); +void AusgangstuerBlinken(int, int); +void EdelsteinFunkeln(int, int); +void MauerWaechst(int, int); +void MauerAbleger(int, int); + +void GameActions(void); void ScrollLevel(int, int); -BOOL MoveFigure(int, int); -void TestIfHeroHitsBadThing(void); -void TestIfBadThingHitsHero(void); -void TestIfBadThingHitsOtherBadThing(int, int); -void KillHero(void); -int DigField(int, int, int); -BOOL SnapField(int, int); -BOOL PlaceBomb(void); -void PlaySoundLevel(int, int, int); + +void TestIfGoodThingHitsBadThing(int, int, int); +void TestIfBadThingHitsGoodThing(int, int, int); +void TestIfHeroTouchesBadThing(int, int); +void TestIfHeroRunsIntoBadThing(int, int, int); +void TestIfBadThingTouchesHero(int, int); +void TestIfBadThingRunsIntoHero(int, int, int); +void TestIfFriendTouchesBadThing(int, int); +void TestIfBadThingTouchesFriend(int, int); +void TestIfBadThingTouchesOtherBadThing(int, int); +void KillHero(struct PlayerInfo *); +void BuryHero(struct PlayerInfo *); +void RemoveHero(struct PlayerInfo *); +boolean SnapField(struct PlayerInfo *, int, int); +boolean DropElement(struct PlayerInfo *); + +void InitPlayLevelSound(); +void PlayLevelSound_EM(int, int, int, int); + void RaiseScore(int); -void TapeInitRecording(void); -void TapeStartRecording(void); -void TapeStopRecording(void); -void TapeRecordAction(int); -void TapeRecordDelay(void); -void TapeTogglePause(void); -void TapeInitPlaying(void); -void TapeStartPlaying(void); -void TapeStopPlaying(void); -int TapePlayAction(void); -BOOL TapePlayDelay(void); -void TapeStop(void); -void TapeErase(void); +void RaiseScoreElement(int); +void RequestQuitGame(boolean); + +void CreateGameButtons(); +void FreeGameButtons(); +void UnmapGameButtons(); #endif