added setup options to skip (un)covering and hatching for BD engine
[rocksndiamonds.git] / src / game_mm / import_mm.h
1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2024 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // import_mm.h
10 // ============================================================================
11
12 #ifndef IMPORT_MM_H
13 #define IMPORT_MM_H
14
15 #include "../libgame/libgame.h"
16 #include "../conf_gfx.h"
17 #include "../game.h"
18
19 #include "export_mm.h"
20
21
22 // ============================================================================
23 // functions and definitions exported from main program to game_mm
24 // ============================================================================
25
26 void SetDrawtoField(int);
27 void BackToFront(void);
28
29 int el2img_mm(int);
30 int el_act2img_mm(int, int);
31
32 void CheckSingleStepMode_MM(boolean, boolean);
33 void ShowEnvelope(int);
34
35 int getGraphicAnimationFrame(int, int);
36 int getGraphicAnimationFrameXY(int, int, int);
37
38 void getGraphicSource(int, int, Bitmap **, int *, int *);
39 void getMiniGraphicSource(int, Bitmap **, int *, int *);
40 void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *);
41 boolean getGraphicInfo_NewFrame(int, int, int);
42
43 void AdvanceFrameCounter(void);
44 void AdvanceGfxFrame(void);
45
46 int getAnimationFrame(int, int, int, int, int);
47
48 #endif  // IMPORT_MM_H