rnd-20100224-1-src
[rocksndiamonds.git] / src / engines.h
1 /***********************************************************
2 * Artsoft Retro-Game Library                               *
3 *----------------------------------------------------------*
4 * (c) 1994-2006 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * engines.h                                                *
12 ***********************************************************/
13
14 #ifndef ENGINES_H
15 #define ENGINES_H
16
17 #include "libgame/libgame.h"
18 #include "game_em/export.h"
19 #include "game_sp/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);
30 extern void DrawAllGameValues(int, int, int, int, int);
31
32 extern int getNumActivePlayers_EM();
33 extern int getGameFrameDelay_EM(int);
34
35 extern void PlayLevelSound_EM(int, int, int, int);
36 extern void InitGraphicInfo_EM(void);
37
38 void SetGfxAnimation_EM(struct GraphicInfo_EM *, int, int, int, int);
39 void getGraphicSourceObjectExt_EM(struct GraphicInfo_EM *, int, int, int, int);
40 void getGraphicSourcePlayerExt_EM(struct GraphicInfo_EM *, int, int, int);
41
42
43 /* ========================================================================= */
44 /* functions and definitions exported from main program to game_sp           */
45 /* ========================================================================= */
46
47 #if 0
48 extern void SetBitmaps_SP(Bitmap **);
49 #endif
50
51 void getGraphicSource_SP(struct GraphicInfo_SP *, int, int, int, int);
52 int getGraphicInfo_Delay(int);
53 boolean isRandomAnimation_SP(int);
54 boolean isNextAnimationFrame_SP(int, int);
55
56
57 #endif  /* ENGINES_H */