added support for BD game engine to Makefile for Android
[rocksndiamonds.git] / src / game_em / import_em.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_em.h
10 // ============================================================================
11
12 #ifndef IMPORT_EM_H
13 #define IMPORT_EM_H
14
15 // ============================================================================
16 // functions and definitions imported from main program to game_em
17 // ============================================================================
18
19 #include "../libgame/libgame.h"
20 #include "../game.h"
21
22 #include "export_em.h"
23
24
25 // ----------------------------------------------------------------------------
26 // imported functions
27 // ----------------------------------------------------------------------------
28
29 void UpdateEngineValues(int, int, int, int);
30
31 boolean swapTiles_EM(boolean);
32 boolean getTeamMode_EM(void);
33 boolean isActivePlayer_EM(int);
34
35 int getScreenFieldSizeX(void);
36 int getScreenFieldSizeY(void);
37
38 void PlayLevelSound_EM(int, int, int, int);
39 void InitGraphicInfo_EM(void);
40 boolean CheckSingleStepMode_EM(int, boolean, boolean, boolean);
41
42 void SetGfxAnimation_EM(struct GraphicInfo_EM *, int, int, int, int);
43 void getGraphicSourceObjectExt_EM(struct GraphicInfo_EM *, int, int, int, int);
44 void getGraphicSourcePlayerExt_EM(struct GraphicInfo_EM *, int, int, int);
45
46 #endif  // IMPORT_EM_H