fixed compiler warnings (after adding "-Wstrict-prototypes")
[rocksndiamonds.git] / src / engines.h
1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // engines.h
10 // ============================================================================
11
12 #ifndef ENGINES_H
13 #define ENGINES_H
14
15 #include "libgame/libgame.h"
16
17 #include "game_em/export.h"
18 #include "game_sp/export.h"
19 #include "game_mm/export.h"
20
21 #include "game.h"
22
23
24 /* ========================================================================= */
25 /* functions and definitions exported from main program to game_em           */
26 /* ========================================================================= */
27
28 extern void SetBitmaps_EM(Bitmap **);
29 extern void UpdateEngineValues(int, int, int, int);
30
31 extern boolean getTeamMode_EM(void);
32 extern int getGameFrameDelay_EM(int);
33
34 extern void PlayLevelSound_EM(int, int, int, int);
35 extern void InitGraphicInfo_EM(void);
36 extern void CheckSingleStepMode_EM(byte action[], int,
37                                    boolean, boolean, boolean);
38
39 void SetGfxAnimation_EM(struct GraphicInfo_EM *, int, int, int, int);
40 void getGraphicSourceObjectExt_EM(struct GraphicInfo_EM *, int, int, int, int);
41 void getGraphicSourcePlayerExt_EM(struct GraphicInfo_EM *, int, int, int);
42
43
44 /* ========================================================================= */
45 /* functions and definitions exported from main program to game_sp           */
46 /* ========================================================================= */
47
48 void CheckSingleStepMode_SP(boolean, boolean);
49
50 void getGraphicSource_SP(struct GraphicInfo_SP *, int, int, int, int);
51 int getGraphicInfo_Delay(int);
52 boolean isNextAnimationFrame_SP(int, int);
53
54
55 /* ========================================================================= */
56 /* functions and definitions exported from main program to game_mm           */
57 /* ========================================================================= */
58
59 void SetDrawtoField(int);
60
61 int el2img_mm(int);
62
63 void CheckSingleStepMode_MM(boolean, boolean);
64
65 void getGraphicSource(int, int, Bitmap **, int *, int *);
66 void getMiniGraphicSource(int, Bitmap **, int *, int *);
67 void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *);
68
69
70 #endif  /* ENGINES_H */