rnd-20040928-1-src
[rocksndiamonds.git] / src / game_em / game_em.h
index 50d64e7e5ef6b9cf48fa544b76566f4a808767ad..fd003ffbb231e60ba1ffb80867c796db1ba6ab30 100644 (file)
 
 #define GAME_EM_VERSION_1_0_0
 
-extern void em_main();
 
-#endif /* GAME_EM_H */
+/* ========================================================================= */
+/* functions and definitions imported from main program to game_em           */
+/* ========================================================================= */
+
+#include "../libgame/libgame.h"
+
+extern void SetBitmaps_EM(Bitmap **);
+extern void UpdateEngineValues(int, int);
+extern void DrawGameDoorValues_EM(int, int, int, int);
+extern int getGameFrameDelay_EM(int);
+extern void PlayLevelSound_EM(int, int, int, int);
+
+
+/* ========================================================================= */
+/* functions and definitions exported from game_em to main program           */
+/* ========================================================================= */
+
+#include "main_em.h"
+
+extern struct LevelInfo_EM native_em_level;
+
+extern void em_open_all();
+extern void em_close_all();
+
+extern void InitGameEngine_EM();
+extern void GameActions_EM(byte);
+
+boolean LoadNativeLevel_EM(char *);
+
+
+#endif /* GAME_EM_H */