1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
7 // http://www.artsoft.org/
8 // ----------------------------------------------------------------------------
10 // ============================================================================
15 #include "libgame/libgame.h"
17 #include "game_em/export.h"
18 #include "game_sp/export.h"
19 #include "game_mm/export.h"
24 /* ========================================================================= */
25 /* functions and definitions exported from main program to game_em */
26 /* ========================================================================= */
28 extern void SetBitmaps_EM(Bitmap **);
29 extern void UpdateEngineValues(int, int, int, int);
31 extern boolean getTeamMode_EM();
32 extern int getGameFrameDelay_EM(int);
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);
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);
44 /* ========================================================================= */
45 /* functions and definitions exported from main program to game_sp */
46 /* ========================================================================= */
48 void CheckSingleStepMode_SP(boolean, boolean);
50 void getGraphicSource_SP(struct GraphicInfo_SP *, int, int, int, int);
51 int getGraphicInfo_Delay(int);
52 boolean isNextAnimationFrame_SP(int, int);
55 /* ========================================================================= */
56 /* functions and definitions exported from main program to game_mm */
57 /* ========================================================================= */
59 void SetDrawtoField(int);
63 void getGraphicSource(int, int, Bitmap **, int *, int *);
64 void getMiniGraphicSource(int, Bitmap **, int *, int *);
65 void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *);
68 #endif /* ENGINES_H */