added optional button to restart game (door, panel and touch variants)
[rocksndiamonds.git] / src / game_mm / mm_game.h
1 // ============================================================================
2 // Mirror Magic -- McDuffin's Revenge
3 // ----------------------------------------------------------------------------
4 // (c) 1994-2017 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // mm_game.h
10 // ============================================================================
11
12 #ifndef MM_GAME_H
13 #define MM_GAME_H
14
15 #include "main_mm.h"
16
17
18 void TurnRound(int, int);
19
20 void PlaySoundLevel(int, int, int);
21
22 void AddLaserEdge(int, int);
23 void AddDamagedField(int, int);
24 void ScanLaser(void);
25 void DrawLaser(int, int);
26 boolean HitElement(int, int);
27 boolean HitOnlyAnEdge(int, int);
28 boolean HitPolarizer(int, int);
29 boolean HitBlock(int, int);
30 boolean HitLaserSource(int, int);
31 boolean HitLaserDestination(int, int);
32 boolean HitReflectingWalls(int, int);
33 boolean HitAbsorbingWalls(int, int);
34 void RotateMirror(int, int, int);
35 boolean ObjHit(int, int, int);
36 void DeletePacMan(int, int);
37
38 void ColorCycling(void);
39 void MovePacMen(void);
40
41 #endif