updated contact info in source file headers
[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
20 #include "game.h"
21
22
23 /* ========================================================================= */
24 /* functions and definitions exported from main program to game_em           */
25 /* ========================================================================= */
26
27 extern void SetBitmaps_EM(Bitmap **);
28 extern void UpdateEngineValues(int, int);
29 extern void DrawAllGameValues(int, int, int, int, int);
30
31 #if 1
32 extern boolean getTeamMode_EM();
33 #else
34 extern int getNumActivePlayers_EM();
35 #endif
36 extern int getGameFrameDelay_EM(int);
37
38 extern void PlayLevelSound_EM(int, int, int, int);
39 extern void InitGraphicInfo_EM(void);
40 extern void CheckSingleStepMode_EM(byte action[], int, 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
47 /* ========================================================================= */
48 /* functions and definitions exported from main program to game_sp           */
49 /* ========================================================================= */
50
51 #if 0
52 extern void SetBitmaps_SP(Bitmap **);
53 #endif
54
55 void CheckSingleStepMode_SP(boolean, boolean);
56
57 void getGraphicSource_SP(struct GraphicInfo_SP *, int, int, int, int);
58 int getGraphicInfo_Delay(int);
59 boolean isNextAnimationFrame_SP(int, int);
60
61
62 #endif  /* ENGINES_H */