added support for BD game engine to Makefile for Android
[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 // ============================================================================
16 // functions and definitions imported from main program to game_mm
17 // ============================================================================
18
19 #include "../libgame/libgame.h"
20 #include "../conf_gfx.h"
21 #include "../game.h"
22
23 #include "export_mm.h"
24
25
26 // ----------------------------------------------------------------------------
27 // imported functions
28 // ----------------------------------------------------------------------------
29
30 void SetDrawtoField(int);
31 void BackToFront(void);
32
33 int el2img_mm(int);
34 int el_act2img_mm(int, int);
35
36 void CheckSingleStepMode_MM(boolean, boolean);
37 void ShowEnvelope(int);
38
39 int getGraphicAnimationFrame(int, int);
40 int getGraphicAnimationFrameXY(int, int, int);
41
42 void getGraphicSource(int, int, Bitmap **, int *, int *);
43 void getMiniGraphicSource(int, Bitmap **, int *, int *);
44 void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *);
45 boolean getGraphicInfo_NewFrame(int, int, int);
46
47 void AdvanceFrameCounter(void);
48 void AdvanceGfxFrame(void);
49
50 int getAnimationFrame(int, int, int, int, int);
51
52 #endif  // IMPORT_MM_H