rnd-20041124-1-src
[rocksndiamonds.git] / src / game_em / game_em.h
1 /***********************************************************
2 * Artsoft Retro-Game Library                               *
3 *----------------------------------------------------------*
4 * (c) 1994-2002 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * game_em.h                                                *
12 ***********************************************************/
13
14 #ifndef GAME_EM_H
15 #define GAME_EM_H
16
17 #define GAME_EM_VERSION_1_0_0
18
19
20 /* ========================================================================= */
21 /* functions and definitions imported from main program to game_em           */
22 /* ========================================================================= */
23
24 #include "../libgame/libgame.h"
25
26 extern void SetBitmaps_EM(Bitmap **);
27 extern void UpdateEngineValues(int, int);
28 extern void DrawGameDoorValues_EM(int, int, int, int);
29 extern int getGameFrameDelay_EM(int);
30 extern void PlayLevelSound_EM(int, int, int, int);
31 extern void InitGraphicInfo_EM(void);
32
33
34 /* ========================================================================= */
35 /* functions and definitions exported from game_em to main program           */
36 /* ========================================================================= */
37
38 #include "main_em.h"
39
40 extern struct LevelInfo_EM native_em_level;
41 extern struct GraphicInfo_EM graphic_info_em[][8];
42
43 extern void em_open_all();
44 extern void em_close_all();
45
46 extern void InitGameEngine_EM();
47 extern void GameActions_EM(byte);
48
49 extern unsigned int InitEngineRND_EM(long);
50
51 extern void setLevelInfoToDefaults_EM();
52 extern boolean LoadNativeLevel_EM(char *);
53
54
55 #endif  /* GAME_EM_H */